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