26 references to ParseNumber
Microsoft.Build.CommandLine.UnitTests (26)
MSBuildServer_Tests.cs (26)
99int pidOfInitialProcess = ParseNumber(output, "Process ID is ");
100int pidOfServerProcess = ParseNumber(output, "Server ID is ");
105int newPidOfInitialProcess = ParseNumber(output, "Process ID is ");
108pidOfServerProcess.ShouldBe(ParseNumber(output, "Server ID is "), "Node used by both the first and second build should be the same.");
132newPidOfInitialProcess = ParseNumber(output, "Process ID is ");
133int newServerProcessId = ParseNumber(output, "Server ID is ");
149int pidOfInitialProcess = ParseNumber(output, "Process ID is ");
150int pidOfServerProcess = ParseNumber(output, "Server ID is ");
158pidOfInitialProcess = ParseNumber(output, "Process ID is ");
159int pidOfNewserverProcess = ParseNumber(output, "Server ID is ");
165pidOfInitialProcess = ParseNumber(output, "Process ID is ");
166pidOfNewserverProcess = ParseNumber(output, "Server ID is ");
190pidOfServerProcess = ParseNumber(output, "Server ID is ");
217ParseNumber(output, "Server ID is ").ShouldBe(ParseNumber(output, "Process ID is "), "There should not be a server node for this build.");
223pidOfServerProcess.ShouldNotBe(ParseNumber(output, "Server ID is "), "The server should be otherwise occupied.");
224pidOfServerProcess.ShouldNotBe(ParseNumber(output, "Process ID is "), "There should not be a server node for this build.");
225ParseNumber(output, "Server ID is ").ShouldBe(ParseNumber(output, "Process ID is "), "Process ID and Server ID should coincide.");
246int pidOfServerProcess = ParseNumber(output, "Server ID is ");
283int pidOfInitialProcess = ParseNumber(output, "Process ID is ");
284int pidOfServerProcess = ParseNumber(output, "Server ID is ");
295int pidOfInitialProcess = ParseNumber(output, "Process ID is ");
296int pidOfServerProcess = ParseNumber(output, "Server ID is ");
327int pidOfServerProcess = ParseNumber(output, "Server ID is ");
334int pidOfNewServerProcess = ParseNumber(output, "Server ID is ");