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