39 references to TPDebug
vstest.console (39)
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\EnvironmentArgumentProcessor.cs (4)
85
TPDebug
.Assert(!StringUtils.IsNullOrWhiteSpace(argument));
86
TPDebug
.Assert(_output != null);
87
TPDebug
.Assert(_commandLineOptions != null);
88
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)
164
TPDebug
.Assert(Output != null);
165
TPDebug
.Assert(_commandLineOptions != null);
166
TPDebug
.Assert(!StringUtils.IsNullOrWhiteSpace(_runSettingsManager?.ActiveRunSettings?.SettingsXml));
Processors\ListTestsArgumentProcessor.cs (3)
168
TPDebug
.Assert(Output != null);
169
TPDebug
.Assert(_commandLineOptions != null);
170
TPDebug
.Assert(!StringUtils.IsNullOrWhiteSpace(_runSettingsManager?.ActiveRunSettings?.SettingsXml));
Processors\RunSpecificTestsArgumentProcessor.cs (7)
181
TPDebug
.Assert(Output != null);
182
TPDebug
.Assert(_commandLineOptions != null);
183
TPDebug
.Assert(_testRequestManager != null);
184
TPDebug
.Assert(!StringUtils.IsNullOrWhiteSpace(_runSettingsManager.ActiveRunSettings?.SettingsXml));
278
TPDebug
.Assert(_selectedTestNames != null, "Initialize should have been called");
279
TPDebug
.Assert(args.DiscoveredTestCases != null);
374
TPDebug
.Assert(RunSettingsManager.Instance.ActiveRunSettings.SettingsXml is not null, "RunSettingsManager.Instance.ActiveRunSettings.SettingsXml is null");
Processors\RunTestsArgumentProcessor.cs (3)
128
TPDebug
.Assert(_commandLineOptions != null);
129
TPDebug
.Assert(!StringUtils.IsNullOrWhiteSpace(_runSettingsManager?.ActiveRunSettings?.SettingsXml));
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.");