1 write to _handshakeInfo
dotnet-aot (1)
parent\dotnet\Commands\Test\MTP\TestApplicationHandler.cs (1)
114
_handshakeInfo
= currentHandshakeInfo;
32 references to _handshakeInfo
dotnet-aot (32)
parent\dotnet\Commands\Test\MTP\TestApplicationHandler.cs (32)
112
if (!
_handshakeInfo
.HasValue)
116
else if (
_handshakeInfo
.Value != currentHandshakeInfo)
118
ReportHandshakeFailure(string.Format(CliCommandStrings.MismatchingHandshakeInfo, currentHandshakeInfo,
_handshakeInfo
.Value));
145
var handshakeInfo =
_handshakeInfo
.Value;
332
if (!
_handshakeInfo
.HasValue)
349
if (executionId !=
_handshakeInfo
.Value.ExecutionId)
352
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, executionId, nameof(DiscoveredTestMessages),
_handshakeInfo
.Value.ExecutionId));
357
_output.TestDiscovered(
_handshakeInfo
.Value.ExecutionId,
380
if (!
_handshakeInfo
.HasValue)
395
if (messageExecutionId !=
_handshakeInfo
.Value.ExecutionId)
398
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, messageExecutionId, nameof(TestResultMessages),
_handshakeInfo
.Value.ExecutionId));
401
var handshakeInfo =
_handshakeInfo
.Value;
451
if (!
_handshakeInfo
.HasValue)
466
if (executionId !=
_handshakeInfo
.Value.ExecutionId)
469
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, executionId, nameof(TestInProgressMessages),
_handshakeInfo
.Value.ExecutionId));
472
var handshakeInfo =
_handshakeInfo
.Value;
500
if (!
_handshakeInfo
.HasValue)
517
if (fileArtifactExecutionId !=
_handshakeInfo
.Value.ExecutionId)
520
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, fileArtifactExecutionId, nameof(FileArtifactMessages),
_handshakeInfo
.Value.ExecutionId));
523
var handshakeInfo =
_handshakeInfo
.Value;
569
if (!
_handshakeInfo
.HasValue)
581
if (executionId !=
_handshakeInfo
.Value.ExecutionId)
584
CliCommandStrings.DotnetTestMismatchingExecutionId, executionId, nameof(CoverageSummaryMessages),
_handshakeInfo
.Value.ExecutionId));
607
if (!
_handshakeInfo
.HasValue)
617
if (sessionExecutionId !=
_handshakeInfo
.Value.ExecutionId)
620
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, sessionExecutionId, nameof(TestSessionEvent),
_handshakeInfo
.Value.ExecutionId));
753
if (!
_handshakeInfo
.HasValue && exitCode == ExitCode.Success)
764
if (_receivedTestHostHandshake &&
_handshakeInfo
.HasValue)
767
_handshakeInfo
.Value.ExecutionId, exitCode, outputData, errorData,
773
!(_receivedAffectedTestsOrchestratorHandshake || (_options.CollectTestMap && !
_handshakeInfo
.HasValue)))
785
_handshakeInfo
?.Architecture,
786
_handshakeInfo
?.RuntimeFramework);