Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1465,7 +1465,7 @@ public void AssemblyRunCompleted_WhenTestsWereRetried_ShowsRetriedCount()
public void AssemblyRunCompleted_WhenKnownAssemblyFails_PrintsExecutableSummary()
{
var stringBuilderConsole = new StringBuilderConsole();
var terminalReporter = CreateOrchestratorReporter(stringBuilderConsole);
TerminalTestReporter terminalReporter = CreateOrchestratorReporter(stringBuilderConsole);
terminalReporter.TestExecutionStarted(DateTimeOffset.MinValue, workerCount: 1, isDiscovery: false, isHelp: false, isRetry: false);

string assembly = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? @"C:\repo\Failing.dll" : "/repo/Failing.dll";
Expand All @@ -1489,7 +1489,7 @@ public void AssemblyRunCompleted_WhenKnownAssemblySucceeds_DoesNotPrintExecutabl
// Keep the default ShowAssemblyStartAndComplete: true so the reporter DOES print the per-assembly summary
// line. Otherwise a zero-exit run writes nothing at all and the DoesNotContain assertion below passes
// vacuously instead of verifying that the executable-summary block is specifically suppressed on success.
var terminalReporter = CreateOrchestratorReporter(stringBuilderConsole);
TerminalTestReporter terminalReporter = CreateOrchestratorReporter(stringBuilderConsole);
terminalReporter.TestExecutionStarted(DateTimeOffset.MinValue, workerCount: 1, isDiscovery: false, isHelp: false, isRetry: false);

string assembly = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? @"C:\repo\Passing.dll" : "/repo/Passing.dll";
Expand All @@ -1510,7 +1510,7 @@ public void AssemblyRunCompleted_WhenKnownAssemblySucceeds_DoesNotPrintExecutabl
public void TestExecutionCompleted_WhenHandshakeFailures_PrintsRecapAndFailsRun()
{
var stringBuilderConsole = new StringBuilderConsole();
var terminalReporter = CreateOrchestratorReporter(stringBuilderConsole, showAssemblyStartAndComplete: false);
TerminalTestReporter terminalReporter = CreateOrchestratorReporter(stringBuilderConsole, showAssemblyStartAndComplete: false);
terminalReporter.TestExecutionStarted(DateTimeOffset.MinValue, workerCount: 2, isDiscovery: false, isHelp: false, isRetry: false);

// Two assemblies fail to handshake (their execution ids were never registered). The assembly paths are not
Expand All @@ -1534,7 +1534,7 @@ public void TestExecutionCompleted_WhenHandshakeFailures_PrintsRecapAndFailsRun(
public void AssemblyRunStarted_AfterRetry_RendersLatestAttemptCounts()
{
var stringBuilderConsole = new StringBuilderConsole();
var terminalReporter = CreateOrchestratorReporter(stringBuilderConsole);
TerminalTestReporter terminalReporter = CreateOrchestratorReporter(stringBuilderConsole);
terminalReporter.TestExecutionStarted(DateTimeOffset.MinValue, workerCount: 1, isDiscovery: false, isHelp: false, isRetry: true);

string assembly = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? @"C:\repo\Flaky.dll" : "/repo/Flaky.dll";
Expand Down