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)
128.Select(i => (ITestItem)new ProjectItemTestItemAdapter(i))
139public static void AssertItemEvaluationFromGenericItemEvaluator(Func<string, ProjectCollection, IList<ITestItem>> itemEvaluator, [StringSyntax(StringSyntaxAttribute.Xml)] string projectContents, string[] inputFiles, string[] expectedInclude, bool makeExpectedIncludeAbsolute = false, Dictionary<string, string>[] expectedMetadataPerItem = null, bool normalizeSlashes = false)
250var converteditems = items.Select(i => (ITestItem)new ProjectItemTestItemAdapter(i)).ToList();
257public static void AssertItems(string[] expectedItems, IList<ITestItem> items, Dictionary<string, string> expectedDirectMetadata = null, bool normalizeSlashes = false)
277var convertedItems = items.Select(i => (ITestItem)new ProjectItemTestItemAdapter(i)).ToList();
281public static void AssertItems(string[] expectedItems, IList<ITestItem> items, Dictionary<string, string>[] expectedDirectMetadataPerItem, bool normalizeSlashes = false)
469public static void AssertItemHasMetadata(Dictionary<string, string> expected, ITestItem item)