3 writes to Output
vstest.console (3)
Internal\ConsoleLogger.cs (3)
126Output = output; 175Output ??= ConsoleOutput.Instance; 899Output ??= ConsoleOutput.Instance;
57 references to Output
vstest.console (57)
Internal\ConsoleLogger.cs (57)
170[MemberNotNull(nameof(Output), nameof(LeafTestResults))] 180_progressIndicator = new ProgressIndicator(Output, new ConsoleHelper()); 236TPDebug.Assert(Output is not null, "ConsoleLogger.Output is null"); 240Output.Information(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ExecutionTimeFormatString, timeSpan.TotalDays, CommandLineResources.Days)); 244Output.Information(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ExecutionTimeFormatString, timeSpan.TotalHours, CommandLineResources.Hours)); 248Output.Information(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ExecutionTimeFormatString, timeSpan.TotalMinutes, CommandLineResources.Minutes)); 252Output.Information(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ExecutionTimeFormatString, timeSpan.TotalSeconds, CommandLineResources.Seconds)); 296TPDebug.Assert(Output != null, "Initialize should have been called."); 304Output.Information(false, ConsoleColor.Red, TestResultPrefix + CommandLineResources.ErrorMessageBanner); 306Output.Information(false, ConsoleColor.Red, errorMessage); 312Output.Information(false, ConsoleColor.Red, TestResultPrefix + CommandLineResources.StacktraceBanner); 314Output.Information(false, ConsoleColor.Red, stackTrace); 325Output.Information(false, TestResultPrefix + CommandLineResources.StdOutMessagesBanner); 326Output.Information(false, stdOutMessages); 338Output.Information(false, ConsoleColor.Red, TestResultPrefix + CommandLineResources.StdErrMessagesBanner); 339Output.Information(false, ConsoleColor.Red, stdErrMessages); 351Output.Information(false, TestResultPrefix + CommandLineResources.DbgTrcMessagesBanner); 352Output.Information(false, dbgTrcMessages); 364Output.Information(false, TestResultPrefix + CommandLineResources.AddnlInfoMessagesBanner); 365Output.Information(false, addnlInfoMessages); 371Output.WriteLine(string.Empty, OutputLevel.Information); 415TPDebug.Assert(Output != null, "Initialize should have been called"); 418Output.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestSourcesDiscovered, CommandLineOptions.Instance.Sources.Count()), OutputLevel.Information); 423Output.WriteLine(source, OutputLevel.Information); 435TPDebug.Assert(Output is not null, "ConsoleLogger.Output is null"); 449Output.Information(AppendPrefix, e.Message); 467Output.Warning(AppendPrefix, e.Message); 481Output.Error(AppendPrefix, e.Message); 501TPDebug.Assert(Output != null && LeafTestResults != null, "Initialize should have been called"); 547Output.Write(GetFormattedTestIndicator(CommandLineResources.SkippedTestIndicator), OutputLevel.Information, ConsoleColor.Yellow); 548Output.WriteLine(testDisplayName, OutputLevel.Information); 570Output.Write(GetFormattedTestIndicator(CommandLineResources.FailedTestIndicator), OutputLevel.Information, ConsoleColor.Red); 571Output.WriteLine(testDisplayName, OutputLevel.Information); 587Output.Write(GetFormattedTestIndicator(CommandLineResources.PassedTestIndicator), OutputLevel.Information, ConsoleColor.Green); 588Output.WriteLine(testDisplayName, OutputLevel.Information); 611Output.Write(GetFormattedTestIndicator(CommandLineResources.SkippedTestIndicator), OutputLevel.Information, ConsoleColor.Yellow); 612Output.WriteLine(testDisplayName, OutputLevel.Information); 668TPDebug.Assert(Output != null, "Initialize should have been called"); 676Output.WriteLine(string.Empty, OutputLevel.Information); 689Output.Information(false, CommandLineResources.AttachmentsBanner); 696Output.Information(false, attachmentOutput); 797Output.Write(outputLine, OutputLevel.Information, color.Value); 801Output.Write(outputLine, OutputLevel.Information); 804Output.Information(false, CommandLineResources.TestRunSummaryAssemblyAndFramework, 820Output.Error(false, CommandLineResources.TestRunCanceled); 826Output.Error(false, CommandLineResources.TestRunAborted); 830Output.Error(false, CommandLineResources.TestRunAbortedWithError, e.Error); 839Output.Error(false, CommandLineResources.TestRunCanceled); 845Output.Error(false, CommandLineResources.TestRunAborted); 849Output.Error(false, CommandLineResources.TestRunAbortedWithError, e.Error); 854Output.Error(false, CommandLineResources.TestRunFailed); 858Output.Information(false, ConsoleColor.Green, CommandLineResources.TestRunSuccessful); 865Output.Information(false, string.Format(CultureInfo.CurrentCulture, totalTestsformat, totalTests)); 869Output.Information(false, ConsoleColor.Green, string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestRunSummaryPassedTests, passedTests)); 873Output.Information(false, ConsoleColor.Red, string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestRunSummaryFailedTests, failedTests)); 877Output.Information(false, ConsoleColor.Yellow, string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestRunSummarySkippedTests, skippedTests)); 901Output.Warning(AppendPrefix, warningMessage);