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)
192
terminal.
Append
($"({string.Format(CliCommandStrings.Try, currentAttemptNumber)}) ");
196
terminal.
Append
(_isDiscovery ? CliCommandStrings.DiscoveringTestsFrom : CliCommandStrings.RunningTestsFrom);
286
terminal.
Append
(SingleIndentation);
290
terminal.
Append
(DoubleIndentation);
291
terminal.
Append
("- ");
294
terminal.
Append
(CliCommandStrings.ForTest);
295
terminal.
Append
(" '");
296
terminal.
Append
(artifact.TestName);
297
terminal.
Append
("': ");
353
terminal.
Append
(CliCommandStrings.TestRunSummary);
358
terminal.
Append
(string.Format(CultureInfo.CurrentCulture, "{0}!", CliCommandStrings.Passed));
362
terminal.
Append
(CliCommandStrings.Aborted);
366
terminal.
Append
(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.MinimumExpectedTestsPolicyViolation, totalTests, _options.MinimumExpectedTests));
370
terminal.
Append
(CliCommandStrings.ZeroTestsRan);
374
terminal.
Append
(string.Format(CultureInfo.CurrentCulture, "{0}!", CliCommandStrings.Failed));
381
terminal.
Append
(" - ");
392
terminal.
Append
(SingleIndentation);
473
terminal.
Append
(durationText);
510
terminal.
Append
($"{SingleIndentation}{CliCommandStrings.RetriedColon} ");
548
terminal.
Append
(SingleIndentation);
553
terminal.
Append
(DoubleIndentation);
573
terminal.
Append
(SingleIndentation);
580
terminal.
Append
(displayName);
583
terminal.
Append
(CliCommandStrings.FlakyTransition);
584
terminal.
Append
(" (");
585
terminal.
Append
(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.FlakyAttempts, attempts));
617
terminal.
Append
(SingleIndentation);
622
terminal.
Append
(DoubleIndentation);
644
terminal.
Append
(SingleIndentation);
653
terminal.
Append
(displayName);
676
terminal.
Append
(SingleIndentation);
728
terminal.
Append
(_options.AllowZeroTests ? CliCommandStrings.PassedLowercase : CliCommandStrings.ZeroTestsRan);
737
terminal.
Append
(text);
743
terminal.
Append
(CliCommandStrings.PassedLowercase);
861
terminal.
Append
(outcomeText);
865
terminal.
Append
($" ({string.Format(CliCommandStrings.Try, attempt)})");
869
terminal.
Append
(displayName);
880
terminal.
Append
(SingleIndentation);
881
terminal.
Append
(informativeMessage);
887
terminal.
Append
(SingleIndentation);
888
terminal.
Append
(CliCommandStrings.FromFile);
912
terminal.
Append
(SingleIndentation);
913
terminal.
Append
("--->");
959
terminal.
Append
(SingleIndentation);
962
terminal.
Append
(SingleIndentation);
995
terminal.
Append
(SingleIndentation);
999
terminal.
Append
(SingleIndentation);
1011
terminal.
Append
(" (");
1014
terminal.
Append
(targetFramework);
1023
terminal.
Append
(architecture);
1032
terminal.
Append
(DoubleIndentation);
1037
terminal.
Append
(CliCommandStrings.StackFrameAt);
1042
terminal.
Append
(match.Groups["code"].Value);
1046
terminal.
Append
(match.Groups["code1"].Value);
1052
terminal.
Append
(CliCommandStrings.StackFrameIn);
1081
terminal.
Append
(indent);
1094
terminal.
Append
(indent);
1095
terminal.
Append
(line);
1167
terminal.
Append
(CliCommandStrings.ZeroTestsRan);
1176
terminal.
Append
(CliCommandStrings.ExitCode);
1177
terminal.
Append
(": ");
1291
terminal.
Append
(count.ToString(CultureInfo.CurrentCulture));
1334
terminal.
Append
(text);
1421
terminal.
Append
(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.DiscoveredTestsInAssembly, discoveredTestNames.Count));
1422
terminal.
Append
(" - ");
1429
terminal.
Append
(SingleIndentation);
1430
terminal.
Append
(test.DisplayName);
1433
terminal.
Append
(" [");
1434
terminal.
Append
(test.FilePath);
1438
terminal.
Append
(test.LineNumber.Value.ToString(CultureInfo.InvariantCulture));
1466
terminal.
Append
(CliCommandStrings.Aborted);
1541
terminal.
Append
(Encoding.UTF8.GetString(buffer.GetBuffer(), 0, (int)buffer.Length));
1558
_terminalWithProgress.WriteToTerminal(terminal => terminal.
Append
($"Found {testCount} tests"));