58 references to ProjectGraph
Microsoft.Build.Engine.UnitTests (58)
BackEnd\BuildManager_Tests.cs (2)
4203
var graph = new
ProjectGraph
(project1);
4288
var graph = new
ProjectGraph
(project1);
Graph\GetCompatiblePlatformGraph_Tests.cs (10)
59
ProjectGraph graph = new
ProjectGraph
(entryProject.Path);
99
ProjectGraph graph = new
ProjectGraph
(entryProject.Path);
141
ProjectGraph graph = new
ProjectGraph
(entryProject.Path);
181
ProjectGraph graph = new
ProjectGraph
(entryProject.Path);
210
ProjectGraph graph = new
ProjectGraph
(entryProject.Path);
238
ProjectGraph graph = new
ProjectGraph
(entryProject.Path);
265
ProjectGraph graph = new
ProjectGraph
(entryProject.Path);
293
ProjectGraph graph = new
ProjectGraph
(entryProject.Path);
320
ProjectGraph graph = new
ProjectGraph
(entryProject.Path);
350
ProjectGraph graph = new
ProjectGraph
(entryProject.Path);
Graph\GraphLoadedFromSolution_tests.cs (6)
59
new
ProjectGraph
("nonExistent.sln");
83
var aggException = Should.Throw<AggregateException>(() => new
ProjectGraph
(root.Path));
254
var graph = new
ProjectGraph
(solutionFile);
509
graphFromSolution = new
ProjectGraph
(solutionFile);
596
var graph = new
ProjectGraph
(_env.CreateFile("solution.sln", solutionContents).Path);
620
var graph = new
ProjectGraph
(_env.CreateFile("solution.sln", solutionContents).Path);
Graph\ProjectGraph_Tests.cs (39)
65
var projectGraph = new
ProjectGraph
(entryProject.Path);
93
Should.Throw<CircularDependencyException>(() => new
ProjectGraph
(entryProject.Path));
230
ProjectGraph graph = new
ProjectGraph
(entryProject.Path);
259
ProjectGraph graph = new
ProjectGraph
(entryProject.Path);
310
Should.Throw<CircularDependencyException>(() => new
ProjectGraph
(entryProject.Path)).Message.ShouldContain(expectedErrorMessage);
322
Should.Throw<CircularDependencyException>(() => new
ProjectGraph
(entryProject.Path));
344
Should.Throw<CircularDependencyException>(() => new
ProjectGraph
(entryProject.Path)).Message.ShouldContain(errorMessage);
403
ProjectGraph graph = new
ProjectGraph
(entryProject.Path);
430
ProjectGraph graph = new
ProjectGraph
(entryProject.Path);
461
ProjectGraph graph = new
ProjectGraph
(entryProject.Path);
532
ProjectGraph graph = new
ProjectGraph
(entryProject.Path);
563
var aggException = Should.Throw<AggregateException>(() => new
ProjectGraph
(entryProject.Path));
861
var projectGraph = new
ProjectGraph
(slnFile.Path);
924
var projectGraph = new
ProjectGraph
(entryProject.Path);
952
var projectGraph = new
ProjectGraph
(entryProject.Path);
983
var projectGraph = new
ProjectGraph
(entryProject.Path);
1005
var projectGraph = new
ProjectGraph
(entryProject.Path);
1023
var projectGraph = new
ProjectGraph
(entryProject.Path);
1046
var projectGraph = new
ProjectGraph
(entryProject.Path);
1069
var projectGraph = new
ProjectGraph
(entryProject.Path);
1086
var projectGraph = new
ProjectGraph
(entryProject.Path);
1109
var projectGraph = new
ProjectGraph
(root1);
1150
var projectGraph = new
ProjectGraph
(root1);
1184
var projectGraph = new
ProjectGraph
(root1);
1251
var graph = new
ProjectGraph
(entryProject);
1394
var projectGraph = new
ProjectGraph
(entryProject.Path);
1417
var projectGraph = new
ProjectGraph
(entryProject.Path);
1447
var projectGraph = new
ProjectGraph
(entryProject.Path);
1504
var projectGraph = new
ProjectGraph
(entryProjectFile: entryProject.Path);
1884
var graph = new
ProjectGraph
(projectFile);
1911
var graph = new
ProjectGraph
(entryProject);
1945
var graph = new
ProjectGraph
(entryProject);
1978
var graph = new
ProjectGraph
(root);
1997
var graph = new
ProjectGraph
(root);
2025
var graph = new
ProjectGraph
(root);
2065
var graph = new
ProjectGraph
(root);
2092
var graph = new
ProjectGraph
(root);
2873
ProjectGraph projectGraph =
new
(slnFile.Path);
2918
ProjectGraph projectGraph =
new
(slnFile.Path);
ProjectCache\ProjectCacheTests.cs (1)
1347
GraphBuildResult graphResult = buildSession.BuildGraph(new
ProjectGraph
(project.Path));