2 implementations of Append
dotnet-aot (2)
parent\dotnet\Commands\Test\MTP\Terminal\AnsiTerminal.cs (1)
65
public void
Append
(string value)
parent\dotnet\Commands\Test\MTP\Terminal\SimpleTerminalBase.cs (1)
28
public virtual void
Append
(string value)
78 references to Append
dotnet-aot (78)
parent\dotnet\Commands\Test\MTP\Terminal\HumanReadableDurationFormatter.cs (5)
26
terminal.
Append
($"{duration.Days}d");
32
terminal.
Append
(GetFormattedPart(duration.Hours, hasParentValue, "h"));
38
terminal.
Append
(GetFormattedPart(duration.Minutes, hasParentValue, "m"));
44
terminal.
Append
(GetFormattedPart(duration.Seconds, hasParentValue, "s"));
50
terminal.
Append
(GetFormattedPart(duration.Milliseconds, hasParentValue, "ms", paddingWitdh: 3));
parent\dotnet\Commands\Test\MTP\Terminal\TerminalTestReporter.cs (73)
169
terminal.
Append
($"({string.Format(CliCommandStrings.Try, currentAttemptNumber)}) ");
173
terminal.
Append
(_isDiscovery ? CliCommandStrings.DiscoveringTestsFrom : CliCommandStrings.RunningTestsFrom);
248
terminal.
Append
(SingleIndentation);
252
terminal.
Append
(DoubleIndentation);
253
terminal.
Append
("- ");
256
terminal.
Append
(CliCommandStrings.ForTest);
257
terminal.
Append
(" '");
258
terminal.
Append
(artifact.TestName);
259
terminal.
Append
("': ");
315
terminal.
Append
(CliCommandStrings.TestRunSummary);
320
terminal.
Append
(string.Format(CultureInfo.CurrentCulture, "{0}!", CliCommandStrings.Passed));
324
terminal.
Append
(CliCommandStrings.Aborted);
328
terminal.
Append
(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.MinimumExpectedTestsPolicyViolation, totalTests, _options.MinimumExpectedTests));
332
terminal.
Append
(CliCommandStrings.ZeroTestsRan);
336
terminal.
Append
(string.Format(CultureInfo.CurrentCulture, "{0}!", CliCommandStrings.Failed));
343
terminal.
Append
(" - ");
354
terminal.
Append
(SingleIndentation);
435
terminal.
Append
(durationText);
472
terminal.
Append
($"{SingleIndentation}{CliCommandStrings.RetriedColon} ");
510
terminal.
Append
(SingleIndentation);
515
terminal.
Append
(DoubleIndentation);
535
terminal.
Append
(SingleIndentation);
542
terminal.
Append
(displayName);
545
terminal.
Append
(CliCommandStrings.FlakyTransition);
546
terminal.
Append
(" (");
547
terminal.
Append
(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.FlakyAttempts, attempts));
585
terminal.
Append
(SingleIndentation);
590
terminal.
Append
(DoubleIndentation);
611
terminal.
Append
(SingleIndentation);
620
terminal.
Append
(displayName);
643
terminal.
Append
(SingleIndentation);
695
terminal.
Append
(_options.AllowZeroTests ? CliCommandStrings.PassedLowercase : CliCommandStrings.ZeroTestsRan);
704
terminal.
Append
(text);
710
terminal.
Append
(CliCommandStrings.PassedLowercase);
826
terminal.
Append
(outcomeText);
830
terminal.
Append
($" ({string.Format(CliCommandStrings.Try, attempt)})");
834
terminal.
Append
(displayName);
845
terminal.
Append
(SingleIndentation);
846
terminal.
Append
(informativeMessage);
852
terminal.
Append
(SingleIndentation);
853
terminal.
Append
(CliCommandStrings.FromFile);
877
terminal.
Append
(SingleIndentation);
878
terminal.
Append
("--->");
924
terminal.
Append
(SingleIndentation);
927
terminal.
Append
(SingleIndentation);
960
terminal.
Append
(SingleIndentation);
964
terminal.
Append
(SingleIndentation);
976
terminal.
Append
(" (");
979
terminal.
Append
(targetFramework);
988
terminal.
Append
(architecture);
997
terminal.
Append
(DoubleIndentation);
1002
terminal.
Append
(CliCommandStrings.StackFrameAt);
1007
terminal.
Append
(match.Groups["code"].Value);
1011
terminal.
Append
(match.Groups["code1"].Value);
1017
terminal.
Append
(CliCommandStrings.StackFrameIn);
1046
terminal.
Append
(indent);
1059
terminal.
Append
(indent);
1060
terminal.
Append
(line);
1132
terminal.
Append
(CliCommandStrings.ZeroTestsRan);
1141
terminal.
Append
(CliCommandStrings.ExitCode);
1142
terminal.
Append
(": ");
1256
terminal.
Append
(count.ToString(CultureInfo.CurrentCulture));
1299
terminal.
Append
(text);
1386
terminal.
Append
(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.DiscoveredTestsInAssembly, discoveredTestNames.Count));
1387
terminal.
Append
(" - ");
1394
terminal.
Append
(SingleIndentation);
1395
terminal.
Append
(test.DisplayName);
1398
terminal.
Append
(" [");
1399
terminal.
Append
(test.FilePath);
1403
terminal.
Append
(test.LineNumber.Value.ToString(CultureInfo.InvariantCulture));
1431
terminal.
Append
(CliCommandStrings.Aborted);
1506
terminal.
Append
(Encoding.UTF8.GetString(buffer.GetBuffer(), 0, (int)buffer.Length));
1523
_terminalWithProgress.WriteToTerminal(terminal => terminal.
Append
($"Found {testCount} tests"));