2 implementations of ITerminal
dotnet-aot (2)
parent\dotnet\Commands\Test\MTP\Terminal\AnsiTerminal.cs (1)
12
internal sealed class AnsiTerminal(IConsole console, string? baseDirectory) :
ITerminal
parent\dotnet\Commands\Test\MTP\Terminal\SimpleTerminalBase.cs (1)
10
internal abstract class SimpleTerminal :
ITerminal
48 references to ITerminal
dotnet-aot (48)
parent\dotnet\Commands\Test\MTP\Terminal\CursorProgressRenderer.cs (3)
17
public void OnTick(
ITerminal
terminal, TestProgressState?[] progressItems)
20
public void OnWrite(
ITerminal
terminal, TestProgressState?[] progressItems, Action<
ITerminal
> write)
parent\dotnet\Commands\Test\MTP\Terminal\HumanReadableDurationFormatter.cs (1)
10
public static void Append(
ITerminal
terminal, TimeSpan duration, bool wrapInParentheses = true)
parent\dotnet\Commands\Test\MTP\Terminal\IProgressRenderer.cs (3)
15
void OnTick(
ITerminal
terminal, TestProgressState?[] progressItems);
16
void OnWrite(
ITerminal
terminal, TestProgressState?[] progressItems, Action<
ITerminal
> write);
parent\dotnet\Commands\Test\MTP\Terminal\SilenceDrivenHeartbeatRenderer.cs (5)
40
public void OnWrite(
ITerminal
terminal, TestProgressState?[] progressItems, Action<
ITerminal
> write)
46
public void OnTick(
ITerminal
terminal, TestProgressState?[] progressItems)
52
private void EmitSilenceHeartbeat(
ITerminal
terminal, TestProgressState?[] progressItems)
120
private void EmitSlowTests(
ITerminal
terminal, TestProgressState?[] progressItems)
parent\dotnet\Commands\Test\MTP\Terminal\TerminalTestReporter.Collection.cs (2)
101
private void AppendTestMapCollectionSummary(
ITerminal
terminal, int? exitCode)
142
private void AppendReportingStatus(
ITerminal
terminal, IEnumerable<TestProgressState> assemblies)
parent\dotnet\Commands\Test\MTP\Terminal\TerminalTestReporter.Coverage.cs (1)
138
private void AppendCoverageSummary(
ITerminal
terminal, int? exitCode)
parent\dotnet\Commands\Test\MTP\Terminal\TerminalTestReporter.cs (29)
113
ITerminal
terminal;
344
private void AppendTestRunSummary(
ITerminal
terminal, int? exitCode)
395
private void AppendTestRunArtifacts(
ITerminal
terminal)
434
private void AppendTestRunResult(
ITerminal
terminal, int? exitCode, List<TestProgressState> assemblies)
593
private void AppendAssemblySummaries(
ITerminal
terminal, IEnumerable<TestProgressState> assemblies)
620
private void AppendRetrySummaryLines(
ITerminal
terminal, int flakyTests, int retriedTests, int retriedExecutions)
647
private void AppendFlakyTests(
ITerminal
terminal, List<TestProgressState> assemblies)
702
private static void AppendFlakyTestLine(
ITerminal
terminal, string displayName, int attempts)
721
private void AppendSlowestTests(
ITerminal
terminal, List<TestProgressState> assemblies)
773
private static void AppendSlowestTestLine(
ITerminal
terminal, string displayName, TimeSpan duration)
781
private void AppendHandshakeFailureRecap(
ITerminal
terminal)
807
private static void AppendExitCodeAndUrl(
ITerminal
terminal, int? exitCode, bool isRun)
847
private void AppendAssemblyResult(
ITerminal
terminal, TestProgressState state)
963
ITerminal
terminal,
1038
private static void FormatInnerExceptions(
ITerminal
terminal, FlatException[]? exceptions)
1055
private static void FormatErrorMessage(
ITerminal
terminal, FlatException[]? exceptions, TestOutcome outcome, int index)
1087
private static void FormatExpectedAndActual(
ITerminal
terminal, string? expected, string? actual)
1104
private static void FormatStackTrace(
ITerminal
terminal, FlatException[]? exceptions, int index)
1123
private static void FormatStandardAndErrorOutput(
ITerminal
terminal, string? standardOutput, string? standardError)
1148
private static void AppendAssemblyLinkTargetFrameworkAndArchitecture(
ITerminal
terminal, string assembly, string? targetFramework, string? architecture, string? runtimeFramework = null)
1160
internal /* for testing */ static void AppendStackFrame(
ITerminal
terminal, string stackTraceLine)
1202
private static void AppendIndentedLine(
ITerminal
terminal, string? message, string indent)
1310
private static void AppendExecutableSummary(
ITerminal
terminal, int? exitCode, string? outputData, string? errorData)
1374
private void AppendAssemblySummary(TestProgressState assemblyRun,
ITerminal
terminal)
1395
private static void AppendAssemblyTestCounts(
ITerminal
terminal, TestProgressState assemblyRun)
1423
private static void AppendGlyphCount(
ITerminal
terminal, char glyph, int count, TerminalColor color)
1434
private static void AppendLongDuration(
ITerminal
terminal, TimeSpan duration, bool wrapInParentheses = true, bool colorize = true)
1563
public void AppendTestDiscoverySummary(
ITerminal
terminal, int? exitCode)
1633
private void AppendTestDiscoveryJson(
ITerminal
terminal)
parent\dotnet\Commands\Test\MTP\Terminal\TerminalTestReporter.ErroredAssemblies.cs (1)
24
private void AppendErroredAssemblyRecap(
ITerminal
terminal)
parent\dotnet\Commands\Test\MTP\Terminal\TestProgressStateAwareTerminal.cs (3)
9
internal sealed partial class TestProgressStateAwareTerminal(
ITerminal
terminal, bool showProgress, IProgressRenderer? renderer = null) : IDisposable
21
private readonly
ITerminal
_terminal = terminal;
128
internal void WriteToTerminal(Action<
ITerminal
> write)