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)
80 references to Append
dotnet-aot (80)
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.Collection.cs (1)
115
terminal.
Append
($"{SingleIndentation}{CliCommandStrings.DurationColon} ");
parent\dotnet\Commands\Test\MTP\Terminal\TerminalTestReporter.cs (73)
244
terminal.
Append
($"({string.Format(CliCommandStrings.Try, currentAttemptNumber)}) ");
248
terminal.
Append
(_isDiscovery ? CliCommandStrings.DiscoveringTestsFrom : CliCommandStrings.RunningTestsFrom);
406
terminal.
Append
(SingleIndentation);
410
terminal.
Append
(DoubleIndentation);
411
terminal.
Append
("- ");
414
terminal.
Append
(CliCommandStrings.ForTest);
415
terminal.
Append
(" '");
416
terminal.
Append
(artifact.TestName);
417
terminal.
Append
("': ");
464
terminal.
Append
(CliCommandStrings.TestRunSummary);
469
terminal.
Append
(ranZeroTests
475
terminal.
Append
(CliCommandStrings.Aborted);
479
terminal.
Append
(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.MinimumExpectedTestsPolicyViolation, totalTests, _options.MinimumExpectedTests));
483
terminal.
Append
(CliCommandStrings.ZeroTestsRan);
487
terminal.
Append
(string.Format(CultureInfo.CurrentCulture, "{0}!", CliCommandStrings.Failed));
494
terminal.
Append
(" - ");
580
terminal.
Append
(durationText);
596
terminal.
Append
(SingleIndentation);
627
terminal.
Append
($"{SingleIndentation}{CliCommandStrings.RetriedColon} ");
665
terminal.
Append
(SingleIndentation);
670
terminal.
Append
(DoubleIndentation);
690
terminal.
Append
(SingleIndentation);
697
terminal.
Append
(displayName);
700
terminal.
Append
(CliCommandStrings.FlakyTransition);
701
terminal.
Append
(" (");
702
terminal.
Append
(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.FlakyAttempts, attempts));
734
terminal.
Append
(SingleIndentation);
739
terminal.
Append
(DoubleIndentation);
761
terminal.
Append
(SingleIndentation);
770
terminal.
Append
(displayName);
793
terminal.
Append
(SingleIndentation);
845
terminal.
Append
(_options.AllowZeroTests ? CliCommandStrings.PassedLowercase : CliCommandStrings.ZeroTestsRan);
854
terminal.
Append
(text);
860
terminal.
Append
(CliCommandStrings.PassedLowercase);
988
terminal.
Append
(outcomeText);
992
terminal.
Append
($" ({string.Format(CliCommandStrings.Try, attempt)})");
996
terminal.
Append
(displayName);
1007
terminal.
Append
(SingleIndentation);
1008
terminal.
Append
(informativeMessage);
1014
terminal.
Append
(SingleIndentation);
1015
terminal.
Append
(CliCommandStrings.FromFile);
1039
terminal.
Append
(SingleIndentation);
1040
terminal.
Append
("--->");
1086
terminal.
Append
(SingleIndentation);
1089
terminal.
Append
(SingleIndentation);
1124
terminal.
Append
(SingleIndentation);
1131
terminal.
Append
(SingleIndentation);
1144
terminal.
Append
(" (");
1147
terminal.
Append
(targetFramework);
1156
terminal.
Append
(architecture);
1165
terminal.
Append
(DoubleIndentation);
1170
terminal.
Append
(CliCommandStrings.StackFrameAt);
1175
terminal.
Append
(match.Groups["code"].Value);
1179
terminal.
Append
(match.Groups["code1"].Value);
1185
terminal.
Append
(CliCommandStrings.StackFrameIn);
1214
terminal.
Append
(indent);
1227
terminal.
Append
(indent);
1228
terminal.
Append
(line);
1306
terminal.
Append
(_options.CollectTestMap ? CliCommandStrings.TestMapCollectionFailed : CliCommandStrings.ZeroTestsRan);
1315
terminal.
Append
(CliCommandStrings.ExitCode);
1316
terminal.
Append
(": ");
1430
terminal.
Append
(count.ToString(CultureInfo.CurrentCulture));
1497
terminal.
Append
(text);
1584
terminal.
Append
(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.DiscoveredTestsInAssembly, discoveredTestNames.Count));
1585
terminal.
Append
(" - ");
1592
terminal.
Append
(SingleIndentation);
1593
terminal.
Append
(test.DisplayName);
1596
terminal.
Append
(" [");
1597
terminal.
Append
(test.FilePath);
1601
terminal.
Append
(test.LineNumber.Value.ToString(CultureInfo.InvariantCulture));
1629
terminal.
Append
(CliCommandStrings.Aborted);
1704
terminal.
Append
(Encoding.UTF8.GetString(buffer.GetBuffer(), 0, (int)buffer.Length));
1721
_terminalWithProgress.WriteToTerminal(terminal => terminal.
Append
($"Found {testCount} tests"));
parent\dotnet\Commands\Test\MTP\Terminal\TerminalTestReporter.ErroredAssemblies.cs (1)
43
terminal.
Append
(SingleIndentation);