1 write to _handshakeInfo
dotnet (1)
Commands\Test\MTP\TestApplicationHandler.cs (1)
75
_handshakeInfo
= currentHandshakeInfo;
25 references to _handshakeInfo
dotnet (25)
Commands\Test\MTP\TestApplicationHandler.cs (25)
73
if (!
_handshakeInfo
.HasValue)
77
else if (
_handshakeInfo
.Value != currentHandshakeInfo)
79
ReportHandshakeFailure(string.Format(CliCommandStrings.MismatchingHandshakeInfo, currentHandshakeInfo,
_handshakeInfo
.Value));
89
var handshakeInfo =
_handshakeInfo
.Value;
197
if (!
_handshakeInfo
.HasValue)
214
if (executionId !=
_handshakeInfo
.Value.ExecutionId)
217
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, executionId, nameof(DiscoveredTestMessages),
_handshakeInfo
.Value.ExecutionId));
222
_output.TestDiscovered(
_handshakeInfo
.Value.ExecutionId,
239
if (!
_handshakeInfo
.HasValue)
254
if (messageExecutionId !=
_handshakeInfo
.Value.ExecutionId)
257
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, messageExecutionId, nameof(TestResultMessages),
_handshakeInfo
.Value.ExecutionId));
260
var handshakeInfo =
_handshakeInfo
.Value;
308
if (!
_handshakeInfo
.HasValue)
313
if (testInProgressMessages.ExecutionId !=
_handshakeInfo
.Value.ExecutionId)
316
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, testInProgressMessages.ExecutionId, nameof(TestInProgressMessages),
_handshakeInfo
.Value.ExecutionId));
319
var handshakeInfo =
_handshakeInfo
.Value;
342
if (!
_handshakeInfo
.HasValue)
357
if (fileArtifactExecutionId !=
_handshakeInfo
.Value.ExecutionId)
360
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, fileArtifactExecutionId, nameof(FileArtifactMessages),
_handshakeInfo
.Value.ExecutionId));
363
var handshakeInfo =
_handshakeInfo
.Value;
389
if (!
_handshakeInfo
.HasValue)
399
if (sessionExecutionId !=
_handshakeInfo
.Value.ExecutionId)
402
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, sessionExecutionId, nameof(TestSessionEvent),
_handshakeInfo
.Value.ExecutionId));
476
if (_receivedTestHostHandshake &&
_handshakeInfo
.HasValue)
480
_output.AssemblyRunCompleted(
_handshakeInfo
.Value.ExecutionId, exitCode, outputData, errorData);