1 write to _handshakeInfo
dotnet (1)
Commands\Test\MTP\TestApplicationHandler.cs (1)
55
_handshakeInfo
= currentHandshakeInfo;
21 references to _handshakeInfo
dotnet (21)
Commands\Test\MTP\TestApplicationHandler.cs (21)
53
if (!
_handshakeInfo
.HasValue)
57
else if (
_handshakeInfo
.Value != currentHandshakeInfo)
59
throw new InvalidOperationException(string.Format(CliCommandStrings.MismatchingHandshakeInfo, currentHandshakeInfo,
_handshakeInfo
.Value));
71
var handshakeInfo =
_handshakeInfo
.Value;
100
if (!
_handshakeInfo
.HasValue)
105
if (discoveredTestMessages.ExecutionId !=
_handshakeInfo
.Value.ExecutionId)
108
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, discoveredTestMessages.ExecutionId, nameof(DiscoveredTestMessages),
_handshakeInfo
.Value.ExecutionId));
113
_output.TestDiscovered(
_handshakeInfo
.Value.ExecutionId,
128
if (!
_handshakeInfo
.HasValue)
133
if (testResultMessage.ExecutionId !=
_handshakeInfo
.Value.ExecutionId)
136
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, testResultMessage.ExecutionId, nameof(TestResultMessages),
_handshakeInfo
.Value.ExecutionId));
139
var handshakeInfo =
_handshakeInfo
.Value;
181
if (!
_handshakeInfo
.HasValue)
186
if (fileArtifactMessages.ExecutionId !=
_handshakeInfo
.Value.ExecutionId)
189
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, fileArtifactMessages.ExecutionId, nameof(FileArtifactMessages),
_handshakeInfo
.Value.ExecutionId));
192
var handshakeInfo =
_handshakeInfo
.Value;
211
if (!
_handshakeInfo
.HasValue)
216
if (sessionEvent.ExecutionId !=
_handshakeInfo
.Value.ExecutionId)
219
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, sessionEvent.ExecutionId, nameof(TestSessionEvent),
_handshakeInfo
.Value.ExecutionId));
272
if (_receivedTestHostHandshake &&
_handshakeInfo
.HasValue)
276
_output.AssemblyRunCompleted(
_handshakeInfo
.Value.ExecutionId, exitCode, outputData, errorData);