1 write to _handshakeInfo
dotnet (1)
Commands\Test\MTP\TestApplicationHandler.cs (1)
54
_handshakeInfo
= currentHandshakeInfo;
21 references to _handshakeInfo
dotnet (21)
Commands\Test\MTP\TestApplicationHandler.cs (21)
52
if (!
_handshakeInfo
.HasValue)
56
else if (
_handshakeInfo
.Value != currentHandshakeInfo)
58
throw new InvalidOperationException(string.Format(CliCommandStrings.MismatchingHandshakeInfo, currentHandshakeInfo,
_handshakeInfo
.Value));
69
var handshakeInfo =
_handshakeInfo
.Value;
98
if (!
_handshakeInfo
.HasValue)
103
if (discoveredTestMessages.ExecutionId !=
_handshakeInfo
.Value.ExecutionId)
106
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, discoveredTestMessages.ExecutionId, nameof(DiscoveredTestMessages),
_handshakeInfo
.Value.ExecutionId));
111
_output.TestDiscovered(
_handshakeInfo
.Value.ExecutionId,
126
if (!
_handshakeInfo
.HasValue)
131
if (testResultMessage.ExecutionId !=
_handshakeInfo
.Value.ExecutionId)
134
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, testResultMessage.ExecutionId, nameof(TestResultMessages),
_handshakeInfo
.Value.ExecutionId));
137
var handshakeInfo =
_handshakeInfo
.Value;
179
if (!
_handshakeInfo
.HasValue)
184
if (fileArtifactMessages.ExecutionId !=
_handshakeInfo
.Value.ExecutionId)
187
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, fileArtifactMessages.ExecutionId, nameof(FileArtifactMessages),
_handshakeInfo
.Value.ExecutionId));
190
var handshakeInfo =
_handshakeInfo
.Value;
209
if (!
_handshakeInfo
.HasValue)
214
if (sessionEvent.ExecutionId !=
_handshakeInfo
.Value.ExecutionId)
217
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, sessionEvent.ExecutionId, nameof(TestSessionEvent),
_handshakeInfo
.Value.ExecutionId));
266
if (
_handshakeInfo
.HasValue)
268
_output.AssemblyRunCompleted(
_handshakeInfo
.Value.ExecutionId, exitCode, outputData, errorData);