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)
169terminal.Append($"({string.Format(CliCommandStrings.Try, currentAttemptNumber)}) "); 173terminal.Append(_isDiscovery ? CliCommandStrings.DiscoveringTestsFrom : CliCommandStrings.RunningTestsFrom); 248terminal.Append(SingleIndentation); 252terminal.Append(DoubleIndentation); 253terminal.Append("- "); 256terminal.Append(CliCommandStrings.ForTest); 257terminal.Append(" '"); 258terminal.Append(artifact.TestName); 259terminal.Append("': "); 315terminal.Append(CliCommandStrings.TestRunSummary); 320terminal.Append(string.Format(CultureInfo.CurrentCulture, "{0}!", CliCommandStrings.Passed)); 324terminal.Append(CliCommandStrings.Aborted); 328terminal.Append(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.MinimumExpectedTestsPolicyViolation, totalTests, _options.MinimumExpectedTests)); 332terminal.Append(CliCommandStrings.ZeroTestsRan); 336terminal.Append(string.Format(CultureInfo.CurrentCulture, "{0}!", CliCommandStrings.Failed)); 343terminal.Append(" - "); 354terminal.Append(SingleIndentation); 435terminal.Append(durationText); 472terminal.Append($"{SingleIndentation}{CliCommandStrings.RetriedColon} "); 510terminal.Append(SingleIndentation); 515terminal.Append(DoubleIndentation); 535terminal.Append(SingleIndentation); 542terminal.Append(displayName); 545terminal.Append(CliCommandStrings.FlakyTransition); 546terminal.Append(" ("); 547terminal.Append(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.FlakyAttempts, attempts)); 585terminal.Append(SingleIndentation); 590terminal.Append(DoubleIndentation); 611terminal.Append(SingleIndentation); 620terminal.Append(displayName); 643terminal.Append(SingleIndentation); 695terminal.Append(_options.AllowZeroTests ? CliCommandStrings.PassedLowercase : CliCommandStrings.ZeroTestsRan); 704terminal.Append(text); 710terminal.Append(CliCommandStrings.PassedLowercase); 826terminal.Append(outcomeText); 830terminal.Append($" ({string.Format(CliCommandStrings.Try, attempt)})"); 834terminal.Append(displayName); 845terminal.Append(SingleIndentation); 846terminal.Append(informativeMessage); 852terminal.Append(SingleIndentation); 853terminal.Append(CliCommandStrings.FromFile); 877terminal.Append(SingleIndentation); 878terminal.Append("--->"); 924terminal.Append(SingleIndentation); 927terminal.Append(SingleIndentation); 960terminal.Append(SingleIndentation); 964terminal.Append(SingleIndentation); 976terminal.Append(" ("); 979terminal.Append(targetFramework); 988terminal.Append(architecture); 997terminal.Append(DoubleIndentation); 1002terminal.Append(CliCommandStrings.StackFrameAt); 1007terminal.Append(match.Groups["code"].Value); 1011terminal.Append(match.Groups["code1"].Value); 1017terminal.Append(CliCommandStrings.StackFrameIn); 1046terminal.Append(indent); 1059terminal.Append(indent); 1060terminal.Append(line); 1132terminal.Append(CliCommandStrings.ZeroTestsRan); 1141terminal.Append(CliCommandStrings.ExitCode); 1142terminal.Append(": "); 1256terminal.Append(count.ToString(CultureInfo.CurrentCulture)); 1299terminal.Append(text); 1386terminal.Append(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.DiscoveredTestsInAssembly, discoveredTestNames.Count)); 1387terminal.Append(" - "); 1394terminal.Append(SingleIndentation); 1395terminal.Append(test.DisplayName); 1398terminal.Append(" ["); 1399terminal.Append(test.FilePath); 1403terminal.Append(test.LineNumber.Value.ToString(CultureInfo.InvariantCulture)); 1431terminal.Append(CliCommandStrings.Aborted); 1506terminal.Append(Encoding.UTF8.GetString(buffer.GetBuffer(), 0, (int)buffer.Length)); 1523_terminalWithProgress.WriteToTerminal(terminal => terminal.Append($"Found {testCount} tests"));