21 references to Assert
vstest.console (21)
CommandLine\Executor.cs (1)
445TPDebug.Assert(
Internal\ConsoleLogger.cs (8)
246TPDebug.Assert(Output is not null, "ConsoleLogger.Output is null"); 305TPDebug.Assert(result != null, "a null result can not be displayed"); 306TPDebug.Assert(Output != null, "Initialize should have been called."); 425TPDebug.Assert(Output != null, "Initialize should have been called"); 446TPDebug.Assert(Output is not null, "ConsoleLogger.Output is null"); 512TPDebug.Assert(Output != null && LeafTestResults != null, "Initialize should have been called"); 679TPDebug.Assert(Output != null, "Initialize should have been called"); 701TPDebug.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."); 243TPDebug.Assert(Output != null, "Initialize should have been called"); 320TPDebug.Assert(result != null, "a null result can not be displayed");
Processors\CollectArgumentProcessor.cs (1)
201TPDebug.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)
287TPDebug.Assert(_selectedTestNames != null, "Initialize should have been called"); 386TPDebug.Assert(settingsXml is not null, "RunSettingsProvider.ActiveRunSettings.SettingsXml is null");
Processors\RunTestsArgumentProcessor.cs (1)
246TPDebug.Assert(settingsXml is not null, "RunSettingsProvider.ActiveRunSettings.SettingsXml is null");
TestPlatformHelpers\TestRequestManager.cs (3)
364TPDebug.Assert(runsettings is not null, "runSettings is null"); 388TPDebug.Assert(testRunRequestPayload.Sources != null || testRunRequestPayload.TestCases != null, "testRunRequestPayload.Sources or testRunRequestPayload.TestCases is null"); 781TPDebug.Assert(sources is not null, "AddFakesConfigurationToRunsettings: Sources list is null.");