38 references to CreateSolutionFromReferenceMap
Microsoft.CodeAnalysis.Workspaces.UnitTests (38)
SolutionTests\ProjectDependencyGraphTests.cs (38)
27VerifyTopologicalSort(CreateSolutionFromReferenceMap("A"), "A"); 28VerifyTopologicalSort(CreateSolutionFromReferenceMap("A B"), "AB", "BA"); 29VerifyTopologicalSort(CreateSolutionFromReferenceMap("C:A,B B:A A"), "ABC"); 30VerifyTopologicalSort(CreateSolutionFromReferenceMap("B:A A C:A D:C,B"), "ABCD", "ACBD"); 36var solution = CreateSolutionFromReferenceMap("A"); 69VerifyDependencySets(CreateSolutionFromReferenceMap("A B:A C:A D E:D F:D"), "ABC DEF"); 70VerifyDependencySets(CreateSolutionFromReferenceMap("A B:A,C C"), "ABC"); 71VerifyDependencySets(CreateSolutionFromReferenceMap("A B"), "A B"); 72VerifyDependencySets(CreateSolutionFromReferenceMap("A B C:B"), "A BC"); 73VerifyDependencySets(CreateSolutionFromReferenceMap("A B:A C:A D:B,C"), "ABCD"); 79var solution = CreateSolutionFromReferenceMap("A"); 106VerifyTransitiveReferences(CreateSolutionFromReferenceMap("A"), "A", []); 107VerifyTransitiveReferences(CreateSolutionFromReferenceMap("B:A A"), "B", ["A"]); 108VerifyTransitiveReferences(CreateSolutionFromReferenceMap("C:B B:A A"), "C", ["B", "A"]); 109VerifyTransitiveReferences(CreateSolutionFromReferenceMap("C:B B:A A"), "A", []); 115var solution = CreateSolutionFromReferenceMap(""); 130var solution = CreateSolutionFromReferenceMap("A B C D"); 167var solution = CreateSolutionFromReferenceMap("A:B B:C C D:E E:F F"); 187var solution = CreateSolutionFromReferenceMap("A:B B:C C"); 215var solution = CreateSolutionFromReferenceMap("A B C:D D"); 268var solution = CreateSolutionFromReferenceMap("A B:C C D:E E"); 311var solution = CreateSolutionFromReferenceMap("A:B B"); 327VerifyReverseTransitiveReferences(CreateSolutionFromReferenceMap("A"), "A", []); 328VerifyReverseTransitiveReferences(CreateSolutionFromReferenceMap("B:A A"), "A", ["B"]); 329VerifyReverseTransitiveReferences(CreateSolutionFromReferenceMap("C:B B:A A"), "A", ["B", "C"]); 330VerifyReverseTransitiveReferences(CreateSolutionFromReferenceMap("C:B B:A A"), "C", []); 331VerifyReverseTransitiveReferences(CreateSolutionFromReferenceMap("D:C,B B:A C A"), "A", ["D", "B"]); 337var solution = CreateSolutionFromReferenceMap(""); 352var solution = CreateSolutionFromReferenceMap("A B C D"); 389var solution = CreateSolutionFromReferenceMap("A:B B C:D D"); 409var solution = CreateSolutionFromReferenceMap("A:B B:C C:D D"); 431var solution = CreateSolutionFromReferenceMap("A:B B:C C:D D"); 453var solution = CreateSolutionFromReferenceMap("A:B B:C C:D D"); 475var solution = CreateSolutionFromReferenceMap("A:B B:C C:D D"); 500var solution = CreateSolutionFromReferenceMap("A:B,D B:C C D"); 528var solution = CreateSolutionFromReferenceMap("A:B B:C C D:E E"); 557var solution = CreateSolutionFromReferenceMap("A:B,D B:C C D"); 588var solution = CreateSolutionFromReferenceMap("A:B B:C,C C:D D");