2 implementations of Append
dotnet (2)
Commands\Test\MTP\Terminal\AnsiTerminal.cs (1)
65public void Append(string value)
Commands\Test\MTP\Terminal\SimpleTerminalBase.cs (1)
28public virtual void Append(string value)
79 references to Append
dotnet (79)
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));
Commands\Test\MTP\Terminal\TerminalTestReporter.cs (74)
162terminal.Append($"({string.Format(CliCommandStrings.Try, currentAttemptNumber)}) "); 166terminal.Append(_isDiscovery ? CliCommandStrings.DiscoveringTestsFrom : CliCommandStrings.RunningTestsFrom); 245terminal.Append(SingleIndentation); 249terminal.Append(DoubleIndentation); 250terminal.Append("- "); 253terminal.Append(CliCommandStrings.ForTest); 254terminal.Append(" '"); 255terminal.Append(artifact.TestName); 256terminal.Append("': "); 321terminal.Append(CliCommandStrings.TestRunSummary); 326terminal.Append(CliCommandStrings.Aborted); 330terminal.Append(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.MinimumExpectedTestsPolicyViolation, totalTests, _options.MinimumExpectedTests)); 339terminal.Append(string.Format(CultureInfo.CurrentCulture, "{0}!", CliCommandStrings.Failed)); 343terminal.Append(CliCommandStrings.ZeroTestsRan); 347terminal.Append(string.Format(CultureInfo.CurrentCulture, "{0}!", CliCommandStrings.Failed)); 351terminal.Append(string.Format(CultureInfo.CurrentCulture, "{0}!", CliCommandStrings.Passed)); 358terminal.Append(" - "); 369terminal.Append(SingleIndentation); 450terminal.Append(durationText); 487terminal.Append($"{SingleIndentation}{CliCommandStrings.RetriedColon} "); 525terminal.Append(SingleIndentation); 530terminal.Append(DoubleIndentation); 550terminal.Append(SingleIndentation); 557terminal.Append(displayName); 560terminal.Append(CliCommandStrings.FlakyTransition); 561terminal.Append(" ("); 562terminal.Append(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.FlakyAttempts, attempts)); 600terminal.Append(SingleIndentation); 605terminal.Append(DoubleIndentation); 626terminal.Append(SingleIndentation); 635terminal.Append(displayName); 663terminal.Append(SingleIndentation); 690terminal.Append(_options.AllowZeroTests ? CliCommandStrings.PassedLowercase : CliCommandStrings.ZeroTestsRan); 699terminal.Append(text); 705terminal.Append(CliCommandStrings.PassedLowercase); 817terminal.Append(outcomeText); 821terminal.Append($" ({string.Format(CliCommandStrings.Try, attempt)})"); 825terminal.Append(displayName); 836terminal.Append(SingleIndentation); 837terminal.Append(informativeMessage); 843terminal.Append(SingleIndentation); 844terminal.Append(CliCommandStrings.FromFile); 868terminal.Append(SingleIndentation); 869terminal.Append("--->"); 915terminal.Append(SingleIndentation); 918terminal.Append(SingleIndentation); 951terminal.Append(SingleIndentation); 955terminal.Append(SingleIndentation); 967terminal.Append(" ("); 970terminal.Append(targetFramework); 979terminal.Append(architecture); 988terminal.Append(DoubleIndentation); 993terminal.Append(CliCommandStrings.StackFrameAt); 998terminal.Append(match.Groups["code"].Value); 1002terminal.Append(match.Groups["code1"].Value); 1008terminal.Append(CliCommandStrings.StackFrameIn); 1037terminal.Append(indent); 1050terminal.Append(indent); 1051terminal.Append(line); 1127terminal.Append(CliCommandStrings.ZeroTestsRan); 1136terminal.Append(CliCommandStrings.ExitCode); 1137terminal.Append(": "); 1251terminal.Append(count.ToString(CultureInfo.CurrentCulture)); 1294terminal.Append(text); 1381terminal.Append(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.DiscoveredTestsInAssembly, discoveredTestNames.Count)); 1382terminal.Append(" - "); 1389terminal.Append(SingleIndentation); 1390terminal.Append(test.DisplayName); 1393terminal.Append(" ["); 1394terminal.Append(test.FilePath); 1398terminal.Append(test.LineNumber.Value.ToString(CultureInfo.InvariantCulture)); 1426terminal.Append(CliCommandStrings.Aborted); 1501terminal.Append(Encoding.UTF8.GetString(buffer.GetBuffer(), 0, (int)buffer.Length)); 1518_terminalWithProgress.WriteToTerminal(terminal => terminal.Append($"Found {testCount} tests"));