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");
322
TPDebug.
Assert
(_channel is not null, "_channel is null");
336
TPDebug.
Assert
(_channel is not null, "_channel is null");
377
TPDebug.
Assert
(_channel is not null, "_channel is null");
391
TPDebug.
Assert
(_channel is not null, "_channel is null");
434
TPDebug.
Assert
(_channel is not null, "_channel is null");
554
TPDebug.
Assert
(rawMessage is not null, "rawMessage is null");
555
TPDebug.
Assert
(_channel is not null, "_channel is null");
571
TPDebug.
Assert
(testRunCompletePayload is not null, "testRunCompletePayload is null");
583
TPDebug.
Assert
(testMessagePayload is not null, "testMessagePayload is null");
602
TPDebug.
Assert
(testProcessAttachDebuggerPayload is not null, "testProcessAttachDebuggerPayload is null");
631
TPDebug.
Assert
(rawMessage is not null, "rawMessage is null");
655
TPDebug.
Assert
(payload is not null, "payload is null");
676
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");
397
TPDebug.
Assert
(path is not null, "path is null");
402
TPDebug.
Assert
(_testHostManagerFactory is not null, "_testHostManagerFactory is null");
424
TPDebug.
Assert
(discoveryCriteria is not null, "discoveryCriteria is null");
430
TPDebug.
Assert
(_testHostManagerFactory is not null, "_testHostManagerFactory is null");
454
TPDebug.
Assert
(pathToAdditionalExtensions is not null, "pathToAdditionalExtensions is null");
459
TPDebug.
Assert
(_testHostManagerFactory is not null, "_testHostManagerFactory is null");
481
TPDebug.
Assert
(testRunCriteriaWithSources is not null, "testRunCriteriaWithSources is null");
486
TPDebug.
Assert
(_testHostManagerFactory is not null, "_testHostManagerFactory is null");
515
TPDebug.
Assert
(testRunCriteriaWithTests is not null, "testRunCriteriaWithTests is null");
521
TPDebug.
Assert
(_testHostManagerFactory is not null, "_testHostManagerFactory is null");
546
TPDebug.
Assert
(_testHostManagerFactory is not null, "_testHostManagerFactory is null");
561
TPDebug.
Assert
(_testHostManagerFactory is not null, "_testHostManagerFactory is null");
570
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");