2 implementations of ITestItem
Microsoft.Build.UnitTests.Shared (2)
ObjectModelHelpers.cs (2)
210public sealed class ProjectItemTestItemAdapter : ITestItem 229public 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)
4004return lookup.GetItems(itemType).Select(i => (ObjectModelHelpers.ITestItem)new ObjectModelHelpers.ProjectItemInstanceTestItemAdapter(i)).ToList();
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)