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)
79 references to Append
dotnet-aot (79)
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 (72)
249
terminal.
Append
($"({string.Format(CliCommandStrings.Try, currentAttemptNumber)}) ");
253
terminal.
Append
(_isDiscovery ? CliCommandStrings.DiscoveringTestsFrom : CliCommandStrings.RunningTestsFrom);
413
terminal.
Append
(SingleIndentation);
417
terminal.
Append
(DoubleIndentation);
418
terminal.
Append
("- ");
421
terminal.
Append
(CliCommandStrings.ForTest);
422
terminal.
Append
(" '");
423
terminal.
Append
(artifact.TestName);
424
terminal.
Append
("': ");
471
terminal.
Append
(CliCommandStrings.TestRunSummary);
476
terminal.
Append
(ranZeroTests
482
terminal.
Append
(CliCommandStrings.Aborted);
486
terminal.
Append
(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.MinimumExpectedTestsPolicyViolation, totalTests, _options.MinimumExpectedTests));
490
terminal.
Append
(CliCommandStrings.ZeroTestsRan);
494
terminal.
Append
(string.Format(CultureInfo.CurrentCulture, "{0}!", CliCommandStrings.Failed));
501
terminal.
Append
(" - ");
587
terminal.
Append
(durationText);
603
terminal.
Append
(SingleIndentation);
634
terminal.
Append
($"{SingleIndentation}{CliCommandStrings.RetriedColon} ");
672
terminal.
Append
(SingleIndentation);
677
terminal.
Append
(DoubleIndentation);
697
terminal.
Append
(SingleIndentation);
704
terminal.
Append
(displayName);
707
terminal.
Append
(CliCommandStrings.FlakyTransition);
708
terminal.
Append
(" (");
709
terminal.
Append
(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.FlakyAttempts, attempts));
741
terminal.
Append
(SingleIndentation);
746
terminal.
Append
(DoubleIndentation);
768
terminal.
Append
(SingleIndentation);
777
terminal.
Append
(displayName);
800
terminal.
Append
(SingleIndentation);
852
terminal.
Append
(_options.AllowZeroTests ? CliCommandStrings.PassedLowercase : CliCommandStrings.ZeroTestsRan);
861
terminal.
Append
(text);
867
terminal.
Append
(CliCommandStrings.PassedLowercase);
997
terminal.
Append
(outcomeText);
1001
terminal.
Append
($" ({string.Format(CliCommandStrings.Try, attempt)})");
1005
terminal.
Append
(displayName);
1016
terminal.
Append
(SingleIndentation);
1017
terminal.
Append
(informativeMessage);
1023
terminal.
Append
(SingleIndentation);
1024
terminal.
Append
(CliCommandStrings.FromFile);
1048
terminal.
Append
(SingleIndentation);
1049
terminal.
Append
("--->");
1095
terminal.
Append
(SingleIndentation);
1098
terminal.
Append
(SingleIndentation);
1133
terminal.
Append
(SingleIndentation);
1140
terminal.
Append
(SingleIndentation);
1154
terminal.
Append
(" (");
1155
terminal.
Append
(displayName);
1162
terminal.
Append
(DoubleIndentation);
1167
terminal.
Append
(CliCommandStrings.StackFrameAt);
1172
terminal.
Append
(match.Groups["code"].Value);
1176
terminal.
Append
(match.Groups["code1"].Value);
1182
terminal.
Append
(CliCommandStrings.StackFrameIn);
1211
terminal.
Append
(indent);
1224
terminal.
Append
(indent);
1225
terminal.
Append
(line);
1303
terminal.
Append
(_options.CollectTestMap ? CliCommandStrings.TestMapCollectionFailed : CliCommandStrings.ZeroTestsRan);
1312
terminal.
Append
(CliCommandStrings.ExitCode);
1313
terminal.
Append
(": ");
1427
terminal.
Append
(count.ToString(CultureInfo.CurrentCulture));
1494
terminal.
Append
(text);
1581
terminal.
Append
(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.DiscoveredTestsInAssembly, discoveredTestNames.Count));
1582
terminal.
Append
(" - ");
1589
terminal.
Append
(SingleIndentation);
1590
terminal.
Append
(test.DisplayName);
1593
terminal.
Append
(" [");
1594
terminal.
Append
(test.FilePath);
1598
terminal.
Append
(test.LineNumber.Value.ToString(CultureInfo.InvariantCulture));
1626
terminal.
Append
(CliCommandStrings.Aborted);
1701
terminal.
Append
(Encoding.UTF8.GetString(buffer.GetBuffer(), 0, (int)buffer.Length));
1718
_terminalWithProgress.WriteToTerminal(terminal => terminal.
Append
($"Found {testCount} tests"));
parent\dotnet\Commands\Test\MTP\Terminal\TerminalTestReporter.ErroredAssemblies.cs (1)
43
terminal.
Append
(SingleIndentation);