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