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