2 implementations of ITestItem
Microsoft.Build.UnitTests.Shared (2)
ObjectModelHelpers.cs (2)
209public sealed class ProjectItemTestItemAdapter : ITestItem 228public sealed class ProjectItemInstanceTestItemAdapter : ITestItem
9 references to ITestItem
Microsoft.Build.Engine.OM.UnitTests (1)
Definition\ProjectItem_Tests.cs (1)
3663.Select(i => (ObjectModelHelpers.ITestItem)new ObjectModelHelpers.ProjectItemTestItemAdapter(i))
Microsoft.Build.Engine.UnitTests (1)
BackEnd\IntrinsicTask_Tests.cs (1)
3983return lookup.GetItems(itemType).Select(i => (ObjectModelHelpers.ITestItem)new ObjectModelHelpers.ProjectItemInstanceTestItemAdapter(i)).ToList();
Microsoft.Build.UnitTests.Shared (7)
ObjectModelHelpers.cs (7)
127.Select(i => (ITestItem)new ProjectItemTestItemAdapter(i)) 138public static void AssertItemEvaluationFromGenericItemEvaluator(Func<string, ProjectCollection, IList<ITestItem>> itemEvaluator, string projectContents, string[] inputFiles, string[] expectedInclude, bool makeExpectedIncludeAbsolute = false, Dictionary<string, string>[] expectedMetadataPerItem = null, bool normalizeSlashes = false) 249var converteditems = items.Select(i => (ITestItem)new ProjectItemTestItemAdapter(i)).ToList(); 256public static void AssertItems(string[] expectedItems, IList<ITestItem> items, Dictionary<string, string> expectedDirectMetadata = null, bool normalizeSlashes = false) 276var convertedItems = items.Select(i => (ITestItem)new ProjectItemTestItemAdapter(i)).ToList(); 280public static void AssertItems(string[] expectedItems, IList<ITestItem> items, Dictionary<string, string>[] expectedDirectMetadataPerItem, bool normalizeSlashes = false) 468public static void AssertItemHasMetadata(Dictionary<string, string> expected, ITestItem item)