1 write to _options
dotnet-aot (1)
parent\dotnet\Commands\Test\MTP\Terminal\TerminalTestReporter.cs (1)
86
_options
= options;
28 references to _options
dotnet-aot (28)
parent\dotnet\Commands\Test\MTP\Terminal\TerminalTestReporter.cs (28)
87
bool showProgress =
_options
.ShowProgress;
90
if (
_options
.AnsiMode == AnsiMode.SimpleAnsi)
103
bool useAnsi =
_options
.AnsiMode switch
111
terminal = useAnsi ? new AnsiTerminal(console,
_options
.BaseDirectory) : new NonAnsiTerminal(console);
115
_showActiveTests =
_options
.ShowActiveTests && showProgress;
162
if (
_options
.ShowAssembly &&
_options
.ShowAssemblyStartAndComplete)
275
if (!
_options
.ShowRunSummary)
326
else if (minimumExpectedTestsFailure &&
_options
.MinimumExpectedTests > 0)
328
terminal.Append(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.MinimumExpectedTestsPolicyViolation, totalTests,
_options
.MinimumExpectedTests));
339
if (!
_options
.ShowAssembly && assemblies.Count == 1)
350
if (
_options
.ShowAssembly && assemblies.Count > 1)
462
if (flakyTests > 0 &&
_options
.ShowFlakyTests)
487
if (!
_options
.ShowFlakyTests)
492
if (
_options
.ShowAssembly && assemblies.Count > 1)
561
int count =
_options
.SlowestTestsCount;
567
if (
_options
.ShowAssembly && assemblies.Count > 1)
694
terminal.SetColor(
_options
.AllowZeroTests ? TerminalColor.DarkGreen : TerminalColor.DarkRed);
695
terminal.Append(
_options
.AllowZeroTests ? CliCommandStrings.PassedLowercase : CliCommandStrings.ZeroTestsRan);
741
if (
_options
.SlowestTestsCount > 0)
786
TestOutcome.Passed => (
_options
.ShowTestResults & TestResultVisibility.Passed) != 0,
787
TestOutcome.Skipped => (
_options
.ShowTestResults & TestResultVisibility.Skipped) != 0,
789
(
_options
.ShowTestResults & TestResultVisibility.Failed) != 0,
849
if (
_options
.ShowAssembly)
1091
if (!_isHelp && !_isDiscovery &&
_options
.ShowAssembly &&
_options
.ShowAssemblyStartAndComplete)
1096
if (exitCode == 0 || (
_options
.AllowZeroTests && exitCode == ExitCode.ZeroTests))
1370
if (
_options
.ListTestsFormat == TestListFormat.Json)