23 references to ShouldBeSameIgnoringOrder
Microsoft.Build.BuildCheck.UnitTests (2)
ParsedItemsAnalysisDataTests.cs (2)
39itemsA.ShouldBeSameIgnoringOrder(new List<ProjectItemElement>() { el3, el5 }); 40itemsB.ShouldBeSameIgnoringOrder(new List<ProjectItemElement>() { el1, el2, el4 });
Microsoft.Build.Engine.UnitTests (21)
BackEnd\SdkResolverLoader_Tests.cs (1)
390resolvers.ShouldBeSameIgnoringOrder(new[] { resolver1Path, resolver2Path, resolver3Path });
BackEnd\SdkResolverService_Tests.cs (3)
358metadata.ShouldBeSameIgnoringOrder(new[] { new KeyValuePair<string, string>("MetadataName", "MetadataValue") }); 483resultPaths.ShouldBeSameIgnoringOrder(new[] 528resultPaths.ShouldBeSameIgnoringOrder(new[]
BackEnd\SdkResultOutOfProc_Tests.cs (3)
206GetResolverResults("PropertyNameFromResolver").ShouldBeSameIgnoringOrder(new[] { "PropertyValueFromResolver" }); 207GetResolverResults("ItemFromResolver").ShouldBeSameIgnoringOrder(new[] { "ItemValueFromResolver" }); 208GetResolverResults("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)
243node.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)
147node.ProjectReferences.ShouldBeSameIgnoringOrder(new[] { reference1, reference2 }); 150reference1.ReferencingProjects.ShouldBeSameIgnoringOrder(new[] { node }); 153reference2.ReferencingProjects.ShouldBeSameIgnoringOrder(new[] { node }); 2109referenceNumbersSet.ShouldBeSameIgnoringOrder(new HashSet<string> { "2", "3" }); 2115referenceNumbersSet.ShouldBeSameIgnoringOrder(new HashSet<string> { "2", "3", "4", "5" }); 2150referencedInnerBuild.ReferencingProjects.ShouldBeSameIgnoringOrder(new[] { two, outerBuild }); 2235innerBuild1WithReferenceToInnerBuild2.ProjectReferences.ShouldBeSameIgnoringOrder(new[] { outerBuild2, innerBuild2 }); 2368node.ProjectReferences.ShouldBeSameIgnoringOrder(expectedClosure);