67 references to Assert
Microsoft.TestPlatform.CommunicationUtilities (32)
DataCollectionRequestHandler.cs (4)
195
TPDebug.
Assert
(testHostLaunchedPayload is not null, "testHostLaunchedPayload is null");
245
TPDebug.
Assert
(payload is not null, "payload is null");
301
TPDebug.
Assert
(payload is not null, "payload is null");
305
TPDebug.
Assert
(payload.SettingsXml is not null, "payload.SettingsXml is null");
DataCollectionRequestSender.cs (6)
120
TPDebug.
Assert
(rawMessage is not null, "rawMessage is null");
123
TPDebug.
Assert
(message is not null, "message is null");
130
TPDebug.
Assert
(dataCollectionMessageEventArgs is not null, $"{nameof(dataCollectionMessageEventArgs)} is null");
162
TPDebug.
Assert
(rawMessage is not null, "rawMessage is null");
165
TPDebug.
Assert
(message is not null, "message is null");
172
TPDebug.
Assert
(dataCollectionMessageEventArgs is not null, $"{nameof(dataCollectionMessageEventArgs)} is null");
DataCollectionTestCaseEventHandler.cs (4)
90
TPDebug.
Assert
(_dataCollectionManager is not null, "_dataCollectionManager is null");
91
TPDebug.
Assert
(testCaseStartEventArgs is not null, "testCaseStartEventArgs is null");
114
TPDebug.
Assert
(_dataCollectionManager is not null, "_dataCollectionManager is null");
115
TPDebug.
Assert
(testCaseEndEventArgs is not null, "testCaseEndEventArgs is null");
SocketServer.cs (2)
126
TPDebug.
Assert
(_tcpListener is not null, $"{nameof(_tcpListener)} is null");
127
TPDebug.
Assert
(_channel is not null, $"{nameof(_channel)} is null");
SocketTransport.cs (1)
33
TPDebug.
Assert
(endpoint is not null, "endpoint is null");
TestRequestSender.cs (15)
176
TPDebug.
Assert
(_channel is not null, "_channel is null");
231
TPDebug.
Assert
(_channel is not null, "_channel is null");
302
TPDebug.
Assert
(_channel is not null, "_channel is null");
316
TPDebug.
Assert
(_channel is not null, "_channel is null");
357
TPDebug.
Assert
(_channel is not null, "_channel is null");
371
TPDebug.
Assert
(_channel is not null, "_channel is null");
414
TPDebug.
Assert
(_channel is not null, "_channel is null");
534
TPDebug.
Assert
(rawMessage is not null, "rawMessage is null");
535
TPDebug.
Assert
(_channel is not null, "_channel is null");
551
TPDebug.
Assert
(testRunCompletePayload is not null, "testRunCompletePayload is null");
563
TPDebug.
Assert
(testMessagePayload is not null, "testMessagePayload is null");
582
TPDebug.
Assert
(testProcessAttachDebuggerPayload is not null, "testProcessAttachDebuggerPayload is null");
611
TPDebug.
Assert
(rawMessage is not null, "rawMessage is null");
635
TPDebug.
Assert
(payload is not null, "payload is null");
656
TPDebug.
Assert
(testMessagePayload is not null, "testMessagePayload is null");
Microsoft.TestPlatform.CrossPlatEngine (14)
EventHandlers\TestRequestHandler.cs (14)
361
TPDebug.
Assert
(_channel is not null, "_channel is null");
390
TPDebug.
Assert
(path is not null, "path is null");
395
TPDebug.
Assert
(_testHostManagerFactory is not null, "_testHostManagerFactory is null");
417
TPDebug.
Assert
(discoveryCriteria is not null, "discoveryCriteria is null");
423
TPDebug.
Assert
(_testHostManagerFactory is not null, "_testHostManagerFactory is null");
447
TPDebug.
Assert
(pathToAdditionalExtensions is not null, "pathToAdditionalExtensions is null");
452
TPDebug.
Assert
(_testHostManagerFactory is not null, "_testHostManagerFactory is null");
474
TPDebug.
Assert
(testRunCriteriaWithSources is not null, "testRunCriteriaWithSources is null");
479
TPDebug.
Assert
(_testHostManagerFactory is not null, "_testHostManagerFactory is null");
508
TPDebug.
Assert
(testRunCriteriaWithTests is not null, "testRunCriteriaWithTests is null");
514
TPDebug.
Assert
(_testHostManagerFactory is not null, "_testHostManagerFactory is null");
539
TPDebug.
Assert
(_testHostManagerFactory is not null, "_testHostManagerFactory is null");
554
TPDebug.
Assert
(_testHostManagerFactory is not null, "_testHostManagerFactory is null");
563
TPDebug.
Assert
(_testHostManagerFactory is not null, "_testHostManagerFactory is null");
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (21)
VsTestConsoleRequestSender.cs (21)
463
TPDebug.
Assert
(ackPayload is not null, "ackPayload is null");
478
TPDebug.
Assert
(testMessagePayload is not null, "testMessagePayload is null");
563
TPDebug.
Assert
(ackPayload is not null, "ackPayload is null");
578
TPDebug.
Assert
(testMessagePayload is not null, "testMessagePayload is null");
659
TPDebug.
Assert
(payload is not null, "payload is null");
665
TPDebug.
Assert
(testMessagePayload is not null, "testMessagePayload is null");
749
TPDebug.
Assert
(payload is not null, "payload is null");
755
TPDebug.
Assert
(testMessagePayload is not null, "testMessagePayload is null");
900
TPDebug.
Assert
(_processExitCancellationTokenSource is not null, "_processExitCancellationTokenSource is null");
984
TPDebug.
Assert
(discoveryCompletePayload is not null, "discoveryCompletePayload is null");
1006
TPDebug.
Assert
(testMessagePayload is not null, "testMessagePayload is null");
1077
TPDebug.
Assert
(discoveryCompletePayload is not null, "discoveryCompletePayload is null");
1101
TPDebug.
Assert
(testMessagePayload is not null, "testMessagePayload is null");
1164
TPDebug.
Assert
(testRunCompletePayload is not null, "testRunCompletePayload is null");
1176
TPDebug.
Assert
(testMessagePayload is not null, "testMessagePayload is null");
1250
TPDebug.
Assert
(testRunCompletePayload is not null, "testRunCompletePayload is null");
1261
TPDebug.
Assert
(testMessagePayload is not null, "testMessagePayload is null");
1345
TPDebug.
Assert
(testRunAttachmentsProcessingCompletePayload is not null, "testRunAttachmentsProcessingCompletePayload is null");
1358
TPDebug.
Assert
(testRunAttachmentsProcessingProgressPayload is not null, "testRunAttachmentsProcessingProgressPayload is null");
1366
TPDebug.
Assert
(testMessagePayload is not null, "testMessagePayload is null");
1467
TPDebug.
Assert
(attachDebuggerPayload is not null, "attachDebuggerPayload is null");