23 references to ShouldBeSameIgnoringOrder
Microsoft.Build.BuildCheck.UnitTests (2)
ParsedItemsAnalysisDataTests.cs (2)
39
itemsA.
ShouldBeSameIgnoringOrder
(new List<ProjectItemElement>() { el3, el5 });
40
itemsB.
ShouldBeSameIgnoringOrder
(new List<ProjectItemElement>() { el1, el2, el4 });
Microsoft.Build.Engine.UnitTests (21)
BackEnd\SdkResolverLoader_Tests.cs (1)
390
resolvers.
ShouldBeSameIgnoringOrder
(new[] { resolver1Path, resolver2Path, resolver3Path });
BackEnd\SdkResolverService_Tests.cs (3)
413
metadata.
ShouldBeSameIgnoringOrder
(new[] { new KeyValuePair<string, string>("MetadataName", "MetadataValue") });
541
resultPaths.
ShouldBeSameIgnoringOrder
(new[]
587
resultPaths.
ShouldBeSameIgnoringOrder
(new[]
BackEnd\SdkResultOutOfProc_Tests.cs (3)
206
GetResolverResults("PropertyNameFromResolver").
ShouldBeSameIgnoringOrder
(new[] { "PropertyValueFromResolver" });
207
GetResolverResults("ItemFromResolver").
ShouldBeSameIgnoringOrder
(new[] { "ItemValueFromResolver" });
208
GetResolverResults("SdksImported").
ShouldBeSameIgnoringOrder
(new[] { "Sdk1", "Sdk2" });
Evaluation\SdkResultEvaluation_Tests.cs (2)
99
.
ShouldBeSameIgnoringOrder
(new[] { (Name: "MetadataName", EvaluatedValue: "MetadataValue") });
458
.
ShouldBeSameIgnoringOrder
(new[] { (Name: "MetadataName", EvaluatedValue: "MetadataValue" + specialString) });
Graph\GraphLoadedFromSolution_tests.cs (2)
699
.
ShouldBeSameIgnoringOrder
(graph.GraphRoots.Select(GetProjectPath));
702
.
ShouldBeSameIgnoringOrder
(graph.ProjectNodes.Select(GetProjectPath));
Graph\GraphTestingUtilities.cs (1)
243
node.ProjectReferences.Select(GetProjectNumber).
ShouldBeSameIgnoringOrder
(expectedReferences);
Graph\ParallelWorkSet_Tests.cs (1)
273
_workSet.CompletedWork.
ShouldBeSameIgnoringOrder
((IReadOnlyCollection<KeyValuePair<string, string>>)tt.ExpectedCompletedWork);
Graph\ProjectGraph_Tests.cs (8)
147
node.ProjectReferences.
ShouldBeSameIgnoringOrder
(new[] { reference1, reference2 });
150
reference1.ReferencingProjects.
ShouldBeSameIgnoringOrder
(new[] { node });
153
reference2.ReferencingProjects.
ShouldBeSameIgnoringOrder
(new[] { node });
2109
referenceNumbersSet.
ShouldBeSameIgnoringOrder
(new HashSet<string> { "2", "3" });
2115
referenceNumbersSet.
ShouldBeSameIgnoringOrder
(new HashSet<string> { "2", "3", "4", "5" });
2150
referencedInnerBuild.ReferencingProjects.
ShouldBeSameIgnoringOrder
(new[] { two, outerBuild });
2235
innerBuild1WithReferenceToInnerBuild2.ProjectReferences.
ShouldBeSameIgnoringOrder
(new[] { outerBuild2, innerBuild2 });
2368
node.ProjectReferences.
ShouldBeSameIgnoringOrder
(expectedClosure);