59 references to Assert
Microsoft.TestPlatform.CommunicationUtilities (32)
DataCollectionRequestHandler.cs (4)
200
TPDebug.
Assert
(testHostLaunchedPayload is not null, "testHostLaunchedPayload is null");
250
TPDebug.
Assert
(payload is not null, "payload is null");
314
TPDebug.
Assert
(payload is not null, "payload is null");
318
TPDebug.
Assert
(payload.SettingsXml is not null, "payload.SettingsXml is null");
DataCollectionRequestSender.cs (6)
128
TPDebug.
Assert
(rawMessage is not null, "rawMessage is null");
131
TPDebug.
Assert
(message is not null, "message is null");
138
TPDebug.
Assert
(dataCollectionMessageEventArgs is not null, $"{nameof(dataCollectionMessageEventArgs)} is null");
177
TPDebug.
Assert
(rawMessage is not null, "rawMessage is null");
180
TPDebug.
Assert
(message is not null, "message is null");
187
TPDebug.
Assert
(dataCollectionMessageEventArgs is not null, $"{nameof(dataCollectionMessageEventArgs)} is null");
DataCollectionTestCaseEventHandler.cs (4)
99
TPDebug.
Assert
(_dataCollectionManager is not null, "_dataCollectionManager is null");
100
TPDebug.
Assert
(testCaseStartEventArgs is not null, "testCaseStartEventArgs is null");
123
TPDebug.
Assert
(_dataCollectionManager is not null, "_dataCollectionManager is null");
124
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 (13)
VsTestConsoleRequestSender.cs (13)
520
TPDebug.
Assert
(_processExitCancellationTokenSource is not null, "_processExitCancellationTokenSource is null");
604
TPDebug.
Assert
(discoveryCompletePayload is not null, "discoveryCompletePayload is null");
626
TPDebug.
Assert
(testMessagePayload is not null, "testMessagePayload is null");
697
TPDebug.
Assert
(discoveryCompletePayload is not null, "discoveryCompletePayload is null");
721
TPDebug.
Assert
(testMessagePayload is not null, "testMessagePayload is null");
784
TPDebug.
Assert
(testRunCompletePayload is not null, "testRunCompletePayload is null");
796
TPDebug.
Assert
(testMessagePayload is not null, "testMessagePayload is null");
870
TPDebug.
Assert
(testRunCompletePayload is not null, "testRunCompletePayload is null");
881
TPDebug.
Assert
(testMessagePayload is not null, "testMessagePayload is null");
965
TPDebug.
Assert
(testRunAttachmentsProcessingCompletePayload is not null, "testRunAttachmentsProcessingCompletePayload is null");
978
TPDebug.
Assert
(testRunAttachmentsProcessingProgressPayload is not null, "testRunAttachmentsProcessingProgressPayload is null");
986
TPDebug.
Assert
(testMessagePayload is not null, "testMessagePayload is null");
1087
TPDebug.
Assert
(attachDebuggerPayload is not null, "attachDebuggerPayload is null");