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)
66ObjectModelHelpers.AssertItems(new[] { "a", "b", "c" }, itemsForI, mI2_1); 115ObjectModelHelpers.AssertItems(new[] { "a", "b", "c" }, itemsForI, expectedMetadata); 118ObjectModelHelpers.AssertItems(Array.Empty<string>(), itemsForI2); 132ObjectModelHelpers.AssertItems(new[] { "a", "c" }, items); 218ObjectModelHelpers.AssertItems(new[] { "a", "b", "c" }, itemsForI2, metadataForI2); 366ObjectModelHelpers.AssertItems(expectedItemValues, items, expectedItemMetadata); 387ObjectModelHelpers.AssertItems(new[] { "1", "@(A)", "@(A)" }, items); 459ObjectModelHelpers.AssertItems(new[] { "2" }, items); 521ObjectModelHelpers.AssertItems(new[] { "i1_1", "i1_2", "i1_4" }, i3Items, i1BaseMetadata); 524ObjectModelHelpers.AssertItems(new[] { "i1 has 4 items" }, i_condItems);