54 references to WriteLine
RunTests (54)
AssemblyScheduler.cs (4)
74ConsoleUtil.WriteLine($"Found {orderedTypeInfos.Values.SelectMany(t => t).SelectMany(t => t.Tests).Count()} tests to run in {orderedTypeInfos.Keys.Count()} assemblies"); 178ConsoleUtil.WriteLine($"{unmatchedLocalTests.Count} tests were missing historical data. {unmatchedRemoteTests.Count()} tests were missing in local assemblies. Estimate of total execution time for tests is {totalExpectedRunTime}."); 273ConsoleUtil.WriteLine($"Built {workItems.Length} work items"); 284LogFilters(workItem, ConsoleUtil.WriteLine);
ConsoleUtil.cs (1)
47WithColor(color, () => WriteLine(message));
Options.cs (4)
202ConsoleUtil.WriteLine($"Error parsing command line arguments: {e.Message}"); 215ConsoleUtil.WriteLine($"Did not find artifacts directory at {artifactsPath}"); 228ConsoleUtil.WriteLine($"Did not find 'dotnet' at {dotnetFilePath}"); 234ConsoleUtil.WriteLine($"procdumppath was specified without collectdumps hence it will not be used");
Program.cs (19)
45ConsoleUtil.WriteLine($"Running '{options.DotnetFilePath} --version'.."); 47ConsoleUtil.WriteLine(string.Join(Environment.NewLine, dotnetResult.OutputLines)); 141ConsoleUtil.WriteLine($"Proc dump location: {options.ProcDumpFilePath}"); 142ConsoleUtil.WriteLine($"Running tests in {workItems.Length} partitions"); 149ConsoleUtil.WriteLine($"Test execution time: {elapsed}"); 161ConsoleUtil.WriteLine($"All tests passed"); 204ConsoleUtil.WriteLine($"Error writing log file {logFilePath}"); 205ConsoleUtil.WriteLine(ex.ToString()); 240ConsoleUtil.WriteLine($"succeeded ({new FileInfo(dumpFilePath).Length} bytes)"); 244ConsoleUtil.WriteLine($"FAILED with {processOutput.ExitCode}"); 245ConsoleUtil.WriteLine($"{procDumpExeFilePath} {args}"); 246ConsoleUtil.WriteLine(string.Join(Environment.NewLine, processOutput.OutputLines)); 251ConsoleUtil.WriteLine("FAILED"); 252ConsoleUtil.WriteLine(ex.Message); 260ConsoleUtil.WriteLine($"Taking screenshot on timeout at {screenshotPath}"); 262ConsoleUtil.WriteLine(string.Join(Environment.NewLine, output.OutputLines)); 263ConsoleUtil.WriteLine(string.Join(Environment.NewLine, output.ErrorLines)); 268ConsoleUtil.WriteLine("Roslyn Error: test timeout exceeded, dumping remaining processes"); 435ConsoleUtil.WriteLine($"Deleting '{dumpFile}' because we have exceeded our total dump size of {MaxTotalDumpSizeInMegabytes} megabytes.");
TestHistoryManager.cs (10)
49ConsoleUtil.WriteLine($"Missing required options to lookup test history, accessToken={accessToken}, projectUri={projectUri}, phaseName={phaseName}, targetBranchName={targetBranch}, pipelineDefinitionId={pipelineDefinitionIdStr}"); 59ConsoleUtil.WriteLine($"Getting last successful build for branch {targetBranch}"); 65ConsoleUtil.WriteLine($"Unable to get the last successful build for definition {pipelineDefinitionId} in {projectUri} and branch {targetBranch}"); 74ConsoleUtil.WriteLine($"Unable to get a run with name {phaseName} from build {lastSuccessfulBuild.Url}."); 78ConsoleUtil.WriteLine($"Looking up test execution data for build {lastSuccessfulBuild.Id} on branch {targetBranch} and stage {phaseName}"); 123ConsoleUtil.WriteLine($"Retrieved {testInfos.Keys.Count} tests from AzureDevops in {timer.Elapsed}. Total runtime of all tests is {totalTestRuntime}"); 132ConsoleUtil.WriteLine($"Missing environment variable {envVarName}"); 163ConsoleUtil.WriteLine($"Caught exception querying ADO for passing build: {ex}"); 183ConsoleUtil.WriteLine($"Caught exception querying ADO for test runs: {ex}"); 198ConsoleUtil.WriteLine($"Caught exception querying ADO for test runs: {ex}");
TestRunner.cs (16)
52ConsoleUtil.WriteLine($@"BUILD_SOURCEBRANCH environment variable was not set. Using source branch ""{sourceBranch}"" instead"); 65ConsoleUtil.WriteLine("BUILD_BUILDID environment variable was not set, will not publish test results for a local run."); 79ConsoleUtil.WriteLine($@"BUILD_QUEUEDBY environment variable was not set. Using value ""{queuedBy}"" instead"); 85ConsoleUtil.WriteLine($"SYSTEM_JOBDISPLAYNAME environment variable was not set. Using a blank TestRunNamePrefix for Helix job."); 142onOutputDataReceived: (e) => { Debug.Assert(e.Data is not null); ConsoleUtil.WriteLine(e.Data); }, 423ConsoleUtil.WriteLine("================"); 437ConsoleUtil.WriteLine("================"); 440ConsoleUtil.WriteLine("Extra run diagnostics for logging, did not impact run results"); 443ConsoleUtil.WriteLine(testResult.Diagnostics!); 452ConsoleUtil.WriteLine($"Errors {testResult.DisplayName}"); 453ConsoleUtil.WriteLine(testResult.ErrorOutput); 456ConsoleUtil.WriteLine($"Command: {testResult.CommandLine}"); 457ConsoleUtil.WriteLine($"xUnit output log: {outputLogPath}"); 463ConsoleUtil.WriteLine(testResult.ErrorOutput); 467ConsoleUtil.WriteLine($"xunit produced no error output but had exit code {testResult.ExitCode}. Writing standard output:"); 468ConsoleUtil.WriteLine(testResult.StandardOutput ?? "(no standard output)");