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) 237if (!_options.CollectTestMap && _options.ShowAssembly && _options.ShowAssemblyStartAndComplete) 283settings?.TestResultVisibility ?? _options.ShowTestResults, 284settings?.SlowestTestsCount ?? _options.SlowestTestsCount, 285settings?.ShowFlakyTests ?? _options.ShowFlakyTests, 288ShowStdout = settings?.ShowStdout ?? _options.ShowStdout, 289ShowStderr = settings?.ShowStderr ?? _options.ShowStderr, 307if (_options.CollectTestMap && !_isDiscovery) 346if (_options.ShowRunSummary) 354if (_options.ShowRunSummary && _options.ShowAssembly && assemblies.Count > 1) 363if (_options.ShowRunSummary && _options.ShowAssembly && !_options.ShowAssemblyStartAndComplete && assemblies.Count > 1) 369if (_options.ShowRunSummary) 477else if (minimumExpectedTestsFailure && _options.MinimumExpectedTests > 0) 479terminal.Append(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.MinimumExpectedTestsPolicyViolation, totalTests, _options.MinimumExpectedTests)); 490if (!_options.ShowAssembly && assemblies.Count == 1) 501if (!_useCompactSummary && _options.ShowAssembly && assemblies.Count > 1) 642if (_options.ShowAssembly && assemblies.Count > 1) 716if (_options.ShowAssembly && assemblies.Count > 1) 844terminal.SetColor(_options.AllowZeroTests ? TerminalColor.DarkGreen : TerminalColor.DarkRed); 845terminal.Append(_options.AllowZeroTests ? CliCommandStrings.PassedLowercase : CliCommandStrings.ZeroTestsRan); 915if (!_options.CollectTestMap && IsTestResultVisible(outcome, asm.TestResultVisibility)) 1011if (_options.ShowAssembly) 1261if (!_isHelp && !_isDiscovery && !_options.CollectTestMap && _options.ShowAssembly && _options.ShowAssemblyStartAndComplete) 1266if (exitCode == 0 || (_options.AllowZeroTests && exitCode == ExitCode.ZeroTests)) 1306terminal.Append(_options.CollectTestMap ? CliCommandStrings.TestMapCollectionFailed : CliCommandStrings.ZeroTestsRan); 1568if (_options.ListTestsFormat == TestListFormat.Json)