14 references to GetProjectNumber
Microsoft.Build.Engine.UnitTests (14)
Graph\GraphLoadedFromSolution_tests.cs (8)
213
node =>
GetProjectNumber
(node).ToString(),
217
configurationName: $"{sc.ConfigurationName}_{
GetProjectNumber
(n)}",
218
platformName: $"{sc.PlatformName}_{
GetProjectNumber
(n)}",
627
node1.ProjectReferences.Count(r =>
GetProjectNumber
(r) == 2).ShouldBe(3);
632
outerBuild3.ProjectReferences.Count(r =>
GetProjectNumber
(r) == 3).ShouldBe(2);
633
outerBuild3.ProjectReferences.Count(r =>
GetProjectNumber
(r) == 4).ShouldBe(1);
635
GetInnerBuilds(graph, 3).SelectMany(n => n.ProjectReferences).Count(r =>
GetProjectNumber
(r) == 4).ShouldBe(2);
710
var expectedProjectConfiguration = actualProjectConfigurations[
GetProjectNumber
(node).ToString()][expectedCurrentConfiguration];
Graph\GraphTestingUtilities.cs (1)
243
node.ProjectReferences.Select(
GetProjectNumber
).ShouldBeSameIgnoringOrder(expectedReferences);
Graph\ProjectGraph_Tests.cs (4)
373
root1.ProjectReferences.First(r =>
GetProjectNumber
(r) == 3).ProjectInstance.GlobalProperties.ShouldBeSameIgnoringOrder(globalPropertiesFor1);
374
root1.ProjectReferences.First(r =>
GetProjectNumber
(r) == 4).ProjectInstance.GlobalProperties.ShouldBeSameIgnoringOrder(globalPropertiesFor1);
380
root2.ProjectReferences.First(r =>
GetProjectNumber
(r) == 4).ProjectInstance.GlobalProperties.ShouldBeSameIgnoringOrder(globalPropertiesFor2);
381
root2.ProjectReferences.First(r =>
GetProjectNumber
(r) == 5).ProjectInstance.GlobalProperties.ShouldBeSameIgnoringOrder(globalPropertiesFor2);
SolutionFileBuilder.cs (1)
95
n => GraphTestingUtilities.
GetProjectNumber
((ProjectGraphNode)n).ToString(),