22 references to AssertItems
Microsoft.Build.Engine.OM.UnitTests (5)
Definition\ProjectItem_Tests.cs (5)
495ObjectModelHelpers.AssertItems(new[] { "a", "b", "c", "x", "z", "a", "c", "u", "w" }, items); 523ObjectModelHelpers.AssertItems(new[] { "a", "b", "c", "z", "a", "c", "u" }, items); 1115ObjectModelHelpers.AssertItems(expectedInclude, new Project(projectFile).Items.ToList()); 1155ObjectModelHelpers.AssertItems(expectedInclude, new Project(testFiles.ProjectFile, new Dictionary<string, string>(), MSBuildConstants.CurrentToolsVersion, projectCollection).Items.ToList()); 1175ObjectModelHelpers.AssertItems(expectedInclude, new Project(testFiles.ProjectFile, new Dictionary<string, string>(), MSBuildConstants.CurrentToolsVersion, projectCollection).Items.ToList());
Microsoft.Build.Engine.UnitTests (17)
Definition\ProjectEvaluationContext_Tests.cs (7)
390ObjectModelHelpers.AssertItems(expectedGlobExpansion, project.GetItems("i")); 468ObjectModelHelpers.AssertItems(expectedGlobExpansion, project.GetItems("i")); 525ObjectModelHelpers.AssertItems(expectedGlobExpansion, actualGlobExpansion); 596ObjectModelHelpers.AssertItems(expectedGlobExpansion, actualGlobExpansion); 656ObjectModelHelpers.AssertItems(expectedGlobExpansion, actualGlobExpansion); 738ObjectModelHelpers.AssertItems(expectedGlobExpansion, project.GetItems("i")); 775ObjectModelHelpers.AssertItems(expectedGlobExpansion, project.GetItems("i"));
Evaluation\ItemEvaluation_Tests.cs (10)
68ObjectModelHelpers.AssertItems(new[] { "a", "b", "c" }, itemsForI, mI2_1); 117ObjectModelHelpers.AssertItems(new[] { "a", "b", "c" }, itemsForI, expectedMetadata); 120ObjectModelHelpers.AssertItems(Array.Empty<string>(), itemsForI2); 134ObjectModelHelpers.AssertItems(new[] { "a", "c" }, items); 220ObjectModelHelpers.AssertItems(new[] { "a", "b", "c" }, itemsForI2, metadataForI2); 368ObjectModelHelpers.AssertItems(expectedItemValues, items, expectedItemMetadata); 389ObjectModelHelpers.AssertItems(new[] { "1", "@(A)", "@(A)" }, items); 461ObjectModelHelpers.AssertItems(new[] { "2" }, items); 523ObjectModelHelpers.AssertItems(new[] { "i1_1", "i1_2", "i1_4" }, i3Items, i1BaseMetadata); 526ObjectModelHelpers.AssertItems(new[] { "i1 has 4 items" }, i_condItems);