1 write to _options
dotnet-aot (1)
parent\dotnet\Commands\Test\MTP\Terminal\TerminalTestReporter.cs (1)
109_options = options;
47 references to _options
dotnet-aot (47)
parent\dotnet\Commands\Test\MTP\Terminal\TerminalTestReporter.Collection.cs (6)
23if (!_options.CollectTestMap || _isHelp || _isDiscovery) 31if (_options.ShowProgress && _options.HeartbeatSilenceThreshold > TimeSpan.Zero) 51if (_options.CollectTestMap) 62if (_options.CollectTestMap) 78_timeProvider.GetElapsedTime(_collectionLastProgressTimestamp, timestamp) < _options.HeartbeatSilenceThreshold)
parent\dotnet\Commands\Test\MTP\Terminal\TerminalTestReporter.cs (41)
111bool showProgress = _options.ShowProgress && !_options.CollectTestMap; 115if (_options.AnsiMode == AnsiMode.SimpleAnsi) 128bool useAnsi = _options.AnsiMode switch 136terminal = useAnsi ? new AnsiTerminal(console, _options.BaseDirectory) : new NonAnsiTerminal(console); 143_options.HeartbeatSilenceThreshold, _options.SlowTestThreshold, 146_showActiveTests = _options.ShowActiveTests && showProgress; 181if (_options.ShowAssembly) 242if (!_options.CollectTestMap && _options.ShowAssembly && _options.ShowAssemblyStartAndComplete) 289settings?.TestResultVisibility ?? _options.ShowTestResults, 290settings?.SlowestTestsCount ?? _options.SlowestTestsCount, 291settings?.ShowFlakyTests ?? _options.ShowFlakyTests, 295ShowStdout = settings?.ShowStdout ?? _options.ShowStdout, 296ShowStderr = settings?.ShowStderr ?? _options.ShowStderr, 314if (_options.CollectTestMap && !_isDiscovery) 353if (_options.ShowRunSummary) 361if (_options.ShowRunSummary && _options.ShowAssembly && assemblies.Count > 1) 370if (_options.ShowRunSummary && _options.ShowAssembly && !_options.ShowAssemblyStartAndComplete && assemblies.Count > 1) 376if (_options.ShowRunSummary) 484else if (minimumExpectedTestsFailure && _options.MinimumExpectedTests > 0) 486terminal.Append(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.MinimumExpectedTestsPolicyViolation, totalTests, _options.MinimumExpectedTests)); 497if (!_options.ShowAssembly && assemblies.Count == 1) 508if (!_useCompactSummary && _options.ShowAssembly && assemblies.Count > 1) 649if (_options.ShowAssembly && assemblies.Count > 1) 723if (_options.ShowAssembly && assemblies.Count > 1) 851terminal.SetColor(_options.AllowZeroTests ? TerminalColor.DarkGreen : TerminalColor.DarkRed); 852terminal.Append(_options.AllowZeroTests ? CliCommandStrings.PassedLowercase : CliCommandStrings.ZeroTestsRan); 922if (!_options.CollectTestMap && IsTestResultVisible(outcome, asm.TestResultVisibility)) 1020if (_options.ShowAssembly) 1258if (!_isHelp && !_isDiscovery && !_options.CollectTestMap && _options.ShowAssembly && _options.ShowAssemblyStartAndComplete) 1263if (exitCode == 0 || (_options.AllowZeroTests && exitCode == ExitCode.ZeroTests)) 1303terminal.Append(_options.CollectTestMap ? CliCommandStrings.TestMapCollectionFailed : CliCommandStrings.ZeroTestsRan); 1565if (_options.ListTestsFormat == TestListFormat.Json)