2 implementations of Append
dotnet-aot (2)
parent\dotnet\Commands\Test\MTP\Terminal\AnsiTerminal.cs (1)
65public void Append(string value)
parent\dotnet\Commands\Test\MTP\Terminal\SimpleTerminalBase.cs (1)
28public virtual void Append(string value)
78 references to Append
dotnet-aot (78)
parent\dotnet\Commands\Test\MTP\Terminal\HumanReadableDurationFormatter.cs (5)
26terminal.Append($"{duration.Days}d"); 32terminal.Append(GetFormattedPart(duration.Hours, hasParentValue, "h")); 38terminal.Append(GetFormattedPart(duration.Minutes, hasParentValue, "m")); 44terminal.Append(GetFormattedPart(duration.Seconds, hasParentValue, "s")); 50terminal.Append(GetFormattedPart(duration.Milliseconds, hasParentValue, "ms", paddingWitdh: 3));
parent\dotnet\Commands\Test\MTP\Terminal\TerminalTestReporter.cs (73)
192terminal.Append($"({string.Format(CliCommandStrings.Try, currentAttemptNumber)}) "); 196terminal.Append(_isDiscovery ? CliCommandStrings.DiscoveringTestsFrom : CliCommandStrings.RunningTestsFrom); 286terminal.Append(SingleIndentation); 290terminal.Append(DoubleIndentation); 291terminal.Append("- "); 294terminal.Append(CliCommandStrings.ForTest); 295terminal.Append(" '"); 296terminal.Append(artifact.TestName); 297terminal.Append("': "); 353terminal.Append(CliCommandStrings.TestRunSummary); 358terminal.Append(string.Format(CultureInfo.CurrentCulture, "{0}!", CliCommandStrings.Passed)); 362terminal.Append(CliCommandStrings.Aborted); 366terminal.Append(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.MinimumExpectedTestsPolicyViolation, totalTests, _options.MinimumExpectedTests)); 370terminal.Append(CliCommandStrings.ZeroTestsRan); 374terminal.Append(string.Format(CultureInfo.CurrentCulture, "{0}!", CliCommandStrings.Failed)); 381terminal.Append(" - "); 392terminal.Append(SingleIndentation); 473terminal.Append(durationText); 510terminal.Append($"{SingleIndentation}{CliCommandStrings.RetriedColon} "); 548terminal.Append(SingleIndentation); 553terminal.Append(DoubleIndentation); 573terminal.Append(SingleIndentation); 580terminal.Append(displayName); 583terminal.Append(CliCommandStrings.FlakyTransition); 584terminal.Append(" ("); 585terminal.Append(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.FlakyAttempts, attempts)); 617terminal.Append(SingleIndentation); 622terminal.Append(DoubleIndentation); 644terminal.Append(SingleIndentation); 653terminal.Append(displayName); 676terminal.Append(SingleIndentation); 728terminal.Append(_options.AllowZeroTests ? CliCommandStrings.PassedLowercase : CliCommandStrings.ZeroTestsRan); 737terminal.Append(text); 743terminal.Append(CliCommandStrings.PassedLowercase); 861terminal.Append(outcomeText); 865terminal.Append($" ({string.Format(CliCommandStrings.Try, attempt)})"); 869terminal.Append(displayName); 880terminal.Append(SingleIndentation); 881terminal.Append(informativeMessage); 887terminal.Append(SingleIndentation); 888terminal.Append(CliCommandStrings.FromFile); 912terminal.Append(SingleIndentation); 913terminal.Append("--->"); 959terminal.Append(SingleIndentation); 962terminal.Append(SingleIndentation); 995terminal.Append(SingleIndentation); 999terminal.Append(SingleIndentation); 1011terminal.Append(" ("); 1014terminal.Append(targetFramework); 1023terminal.Append(architecture); 1032terminal.Append(DoubleIndentation); 1037terminal.Append(CliCommandStrings.StackFrameAt); 1042terminal.Append(match.Groups["code"].Value); 1046terminal.Append(match.Groups["code1"].Value); 1052terminal.Append(CliCommandStrings.StackFrameIn); 1081terminal.Append(indent); 1094terminal.Append(indent); 1095terminal.Append(line); 1167terminal.Append(CliCommandStrings.ZeroTestsRan); 1176terminal.Append(CliCommandStrings.ExitCode); 1177terminal.Append(": "); 1291terminal.Append(count.ToString(CultureInfo.CurrentCulture)); 1334terminal.Append(text); 1421terminal.Append(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.DiscoveredTestsInAssembly, discoveredTestNames.Count)); 1422terminal.Append(" - "); 1429terminal.Append(SingleIndentation); 1430terminal.Append(test.DisplayName); 1433terminal.Append(" ["); 1434terminal.Append(test.FilePath); 1438terminal.Append(test.LineNumber.Value.ToString(CultureInfo.InvariantCulture)); 1466terminal.Append(CliCommandStrings.Aborted); 1541terminal.Append(Encoding.UTF8.GetString(buffer.GetBuffer(), 0, (int)buffer.Length)); 1558_terminalWithProgress.WriteToTerminal(terminal => terminal.Append($"Found {testCount} tests"));