2 implementations of ITestItem
Microsoft.Build.UnitTests.Shared (2)
9 references to ITestItem
Microsoft.Build.Engine.OM.UnitTests (1)
Microsoft.Build.Engine.UnitTests (1)
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)