3 writes to Output
vstest.console.arm64 (3)
src\vstest\src\vstest.console\Internal\ConsoleLogger.cs (3)
131
Output
= output;
185
Output
??= ConsoleOutput.Instance;
910
Output
??= ConsoleOutput.Instance;
58 references to Output
vstest.console.arm64 (58)
src\vstest\src\vstest.console\Internal\ConsoleLogger.cs (58)
118
/// singleton. <see cref="
Output
"/> and the progress indicator are established later, in
180
[MemberNotNull(nameof(
Output
), nameof(LeafTestResults))]
190
_progressIndicator = new ProgressIndicator(
Output
, new ConsoleHelper());
246
TPDebug.Assert(
Output
is not null, "ConsoleLogger.Output is null");
250
Output
.Information(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ExecutionTimeFormatString, timeSpan.TotalDays, CommandLineResources.Days));
254
Output
.Information(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ExecutionTimeFormatString, timeSpan.TotalHours, CommandLineResources.Hours));
258
Output
.Information(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ExecutionTimeFormatString, timeSpan.TotalMinutes, CommandLineResources.Minutes));
262
Output
.Information(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ExecutionTimeFormatString, timeSpan.TotalSeconds, CommandLineResources.Seconds));
306
TPDebug.Assert(
Output
!= null, "Initialize should have been called.");
314
Output
.Information(false, ConsoleColor.Red, TestResultPrefix + CommandLineResources.ErrorMessageBanner);
316
Output
.Information(false, ConsoleColor.Red, errorMessage);
322
Output
.Information(false, ConsoleColor.Red, TestResultPrefix + CommandLineResources.StacktraceBanner);
324
Output
.Information(false, ConsoleColor.Red, stackTrace);
335
Output
.Information(false, TestResultPrefix + CommandLineResources.StdOutMessagesBanner);
336
Output
.Information(false, stdOutMessages);
348
Output
.Information(false, ConsoleColor.Red, TestResultPrefix + CommandLineResources.StdErrMessagesBanner);
349
Output
.Information(false, ConsoleColor.Red, stdErrMessages);
361
Output
.Information(false, TestResultPrefix + CommandLineResources.DbgTrcMessagesBanner);
362
Output
.Information(false, dbgTrcMessages);
374
Output
.Information(false, TestResultPrefix + CommandLineResources.AddnlInfoMessagesBanner);
375
Output
.Information(false, addnlInfoMessages);
381
Output
.WriteLine(string.Empty, OutputLevel.Information);
425
TPDebug.Assert(
Output
!= null, "Initialize should have been called");
429
Output
.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestSourcesDiscovered, commandLineOptions.Sources.Count()), OutputLevel.Information);
434
Output
.WriteLine(source, OutputLevel.Information);
446
TPDebug.Assert(
Output
is not null, "ConsoleLogger.Output is null");
460
Output
.Information(AppendPrefix, e.Message);
478
Output
.Warning(AppendPrefix, e.Message);
492
Output
.Error(AppendPrefix, e.Message);
512
TPDebug.Assert(
Output
!= null && LeafTestResults != null, "Initialize should have been called");
558
Output
.Write(GetFormattedTestIndicator(CommandLineResources.SkippedTestIndicator), OutputLevel.Information, ConsoleColor.Yellow);
559
Output
.WriteLine(testDisplayName, OutputLevel.Information);
581
Output
.Write(GetFormattedTestIndicator(CommandLineResources.FailedTestIndicator), OutputLevel.Information, ConsoleColor.Red);
582
Output
.WriteLine(testDisplayName, OutputLevel.Information);
598
Output
.Write(GetFormattedTestIndicator(CommandLineResources.PassedTestIndicator), OutputLevel.Information, ConsoleColor.Green);
599
Output
.WriteLine(testDisplayName, OutputLevel.Information);
622
Output
.Write(GetFormattedTestIndicator(CommandLineResources.SkippedTestIndicator), OutputLevel.Information, ConsoleColor.Yellow);
623
Output
.WriteLine(testDisplayName, OutputLevel.Information);
679
TPDebug.Assert(
Output
!= null, "Initialize should have been called");
687
Output
.WriteLine(string.Empty, OutputLevel.Information);
700
Output
.Information(false, CommandLineResources.AttachmentsBanner);
707
Output
.Information(false, attachmentOutput);
808
Output
.Write(outputLine, OutputLevel.Information, color.Value);
812
Output
.Write(outputLine, OutputLevel.Information);
815
Output
.Information(false, CommandLineResources.TestRunSummaryAssemblyAndFramework,
831
Output
.Error(false, CommandLineResources.TestRunCanceled);
837
Output
.Error(false, CommandLineResources.TestRunAborted);
841
Output
.Error(false, CommandLineResources.TestRunAbortedWithError, e.Error);
850
Output
.Error(false, CommandLineResources.TestRunCanceled);
856
Output
.Error(false, CommandLineResources.TestRunAborted);
860
Output
.Error(false, CommandLineResources.TestRunAbortedWithError, e.Error);
865
Output
.Error(false, CommandLineResources.TestRunFailed);
869
Output
.Information(false, ConsoleColor.Green, CommandLineResources.TestRunSuccessful);
876
Output
.Information(false, string.Format(CultureInfo.CurrentCulture, totalTestsformat, totalTests));
880
Output
.Information(false, ConsoleColor.Green, string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestRunSummaryPassedTests, passedTests));
884
Output
.Information(false, ConsoleColor.Red, string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestRunSummaryFailedTests, failedTests));
888
Output
.Information(false, ConsoleColor.Yellow, string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestRunSummarySkippedTests, skippedTests));
912
Output
.Warning(AppendPrefix, warningMessage);