38 references to TPDebug
vstest.console (38)
CommandLine\Executor.cs (1)
445
TPDebug
.Assert(
Internal\ConsoleLogger.cs (8)
246
TPDebug
.Assert(Output is not null, "ConsoleLogger.Output is null");
305
TPDebug
.Assert(result != null, "a null result can not be displayed");
306
TPDebug
.Assert(Output != null, "Initialize should have been called.");
425
TPDebug
.Assert(Output != null, "Initialize should have been called");
446
TPDebug
.Assert(Output is not null, "ConsoleLogger.Output is null");
512
TPDebug
.Assert(Output != null && LeafTestResults != null, "Initialize should have been called");
679
TPDebug
.Assert(Output != null, "Initialize should have been called");
701
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.");
243
TPDebug
.Assert(Output != null, "Initialize should have been called");
320
TPDebug
.Assert(result != null, "a null result can not be displayed");
Processors\CollectArgumentProcessor.cs (1)
201
TPDebug
.Assert(existingConfiguration is not null, "existingConfiguration is null");
Processors\EnvironmentArgumentProcessor.cs (4)
93
TPDebug
.Assert(!StringUtils.IsNullOrWhiteSpace(argument));
94
TPDebug
.Assert(_output != null);
95
TPDebug
.Assert(_commandLineOptions != null);
96
TPDebug
.Assert(!StringUtils.IsNullOrWhiteSpace(_runSettingsProvider.ActiveRunSettings?.SettingsXml));
Processors\HelpArgumentProcessor.cs (1)
105
TPDebug
.Assert(runTestsArgumentProcessor is not null, "runTestsArgumentProcessor is null");
Processors\ListFullyQualifiedTestsArgumentProcessor.cs (3)
173
TPDebug
.Assert(Output != null);
174
TPDebug
.Assert(_commandLineOptions != null);
175
TPDebug
.Assert(!StringUtils.IsNullOrWhiteSpace(_runSettingsManager?.ActiveRunSettings?.SettingsXml));
Processors\ListTestsArgumentProcessor.cs (3)
177
TPDebug
.Assert(Output != null);
178
TPDebug
.Assert(_commandLineOptions != null);
179
TPDebug
.Assert(!StringUtils.IsNullOrWhiteSpace(_runSettingsManager?.ActiveRunSettings?.SettingsXml));
Processors\RunSpecificTestsArgumentProcessor.cs (7)
190
TPDebug
.Assert(Output != null);
191
TPDebug
.Assert(_commandLineOptions != null);
192
TPDebug
.Assert(_testRequestManager != null);
193
TPDebug
.Assert(!StringUtils.IsNullOrWhiteSpace(_runSettingsManager.ActiveRunSettings?.SettingsXml));
287
TPDebug
.Assert(_selectedTestNames != null, "Initialize should have been called");
288
TPDebug
.Assert(args.DiscoveredTestCases != null);
386
TPDebug
.Assert(settingsXml is not null, "RunSettingsProvider.ActiveRunSettings.SettingsXml is null");
Processors\RunTestsArgumentProcessor.cs (3)
137
TPDebug
.Assert(_commandLineOptions != null);
138
TPDebug
.Assert(!StringUtils.IsNullOrWhiteSpace(_runSettingsManager?.ActiveRunSettings?.SettingsXml));
246
TPDebug
.Assert(settingsXml is not null, "RunSettingsProvider.ActiveRunSettings.SettingsXml is null");
TestPlatformHelpers\TestRequestManager.cs (3)
364
TPDebug
.Assert(runsettings is not null, "runSettings is null");
388
TPDebug
.Assert(testRunRequestPayload.Sources != null || testRunRequestPayload.TestCases != null, "testRunRequestPayload.Sources or testRunRequestPayload.TestCases is null");
781
TPDebug
.Assert(sources is not null, "AddFakesConfigurationToRunsettings: Sources list is null.");