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)
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);