10 references to AttemptCount
Aspire.Cli.Tests (10)
Commands\RunCommandTests.cs (1)
194
Assert.Equal(0, processFactory.
AttemptCount
);
Commands\StartCommandTests.cs (1)
160
Assert.Equal(0, processFactory.
AttemptCount
);
Commands\StopCommandTests.cs (1)
1220
() => processFactory.
AttemptCount
)
Commands\TrayCommandTests.cs (2)
194
Assert.Equal(2, factory.
AttemptCount
);
369
Assert.Equal(extraction ? 0 : 1, factory.
AttemptCount
);
DotNet\DotNetCliRunnerTests.cs (3)
2776
Assert.Equal(2, executor.
AttemptCount
);
2818
Assert.Equal(3, executor.
AttemptCount
); // Should have attempted 3 times
2860
Assert.Equal(1, executor.
AttemptCount
); // Should have attempted only once
Processes\ProcessTreeGracefulShutdownServiceTests.cs (1)
118
Assert.Equal(1, executionFactory.
AttemptCount
);
TestServices\TestProcessExecutionFactory.cs (1)
380
/// Returns both the runner and the factory so the test can check <see cref="TestProcessExecutionFactory.
AttemptCount
"/>.