22 references to Assert
vstest.console (22)
CommandLine\Executor.cs (1)
418
TPDebug.
Assert
(
InProcessVsTestConsoleWrapper.cs (1)
149
TPDebug.
Assert
(
Internal\ConsoleLogger.cs (8)
236
TPDebug.
Assert
(Output is not null, "ConsoleLogger.Output is null");
295
TPDebug.
Assert
(result != null, "a null result can not be displayed");
296
TPDebug.
Assert
(Output != null, "Initialize should have been called.");
415
TPDebug.
Assert
(Output != null, "Initialize should have been called");
435
TPDebug.
Assert
(Output is not null, "ConsoleLogger.Output is null");
501
TPDebug.
Assert
(Output != null && LeafTestResults != null, "Initialize should have been called");
668
TPDebug.
Assert
(Output != null, "Initialize should have been called");
690
TPDebug.
Assert
(e.AttachmentSets != null, "e.AttachmentSets should not be null when runLevelAttachmentsCount > 0.");
Internal\MSBuildLogger.cs (4)
99
TPDebug.
Assert
(Output != null, "Initialize should have been called");
152
TPDebug.
Assert
(Output != null, "Initialize should have been called.");
242
TPDebug.
Assert
(Output != null, "Initialize should have been called");
281
TPDebug.
Assert
(result != null, "a null result can not be displayed");
Processors\CollectArgumentProcessor.cs (1)
195
TPDebug.
Assert
(existingConfiguration is not null, "existingConfiguration is null");
Processors\HelpArgumentProcessor.cs (1)
105
TPDebug.
Assert
(runTestsArgumentProcessor is not null, "runTestsArgumentProcessor is null");
Processors\RunSpecificTestsArgumentProcessor.cs (2)
278
TPDebug.
Assert
(_selectedTestNames != null, "Initialize should have been called");
374
TPDebug.
Assert
(RunSettingsManager.Instance.ActiveRunSettings.SettingsXml is not null, "RunSettingsManager.Instance.ActiveRunSettings.SettingsXml is null");
Processors\RunTestsArgumentProcessor.cs (1)
234
TPDebug.
Assert
(RunSettingsManager.Instance.ActiveRunSettings.SettingsXml is not null, "RunSettingsManager.Instance.ActiveRunSettings.SettingsXml is null");
TestPlatformHelpers\TestRequestManager.cs (3)
342
TPDebug.
Assert
(runsettings is not null, "runSettings is null");
366
TPDebug.
Assert
(testRunRequestPayload.Sources != null || testRunRequestPayload.TestCases != null, "testRunRequestPayload.Sources or testRunRequestPayload.TestCases is null");
911
TPDebug.
Assert
(sources is not null, "AddFakesConfigurationToRunsettings: Sources list is null.");