10 references to AttemptCount
Aspire.Cli.Tests (10)
Commands\RunCommandTests.cs (1)
194Assert.Equal(0, processFactory.AttemptCount);
Commands\StartCommandTests.cs (1)
160Assert.Equal(0, processFactory.AttemptCount);
Commands\StopCommandTests.cs (1)
1220() => processFactory.AttemptCount)
Commands\TrayCommandTests.cs (2)
194Assert.Equal(2, factory.AttemptCount); 369Assert.Equal(extraction ? 0 : 1, factory.AttemptCount);
DotNet\DotNetCliRunnerTests.cs (3)
2776Assert.Equal(2, executor.AttemptCount); 2818Assert.Equal(3, executor.AttemptCount); // Should have attempted 3 times 2860Assert.Equal(1, executor.AttemptCount); // Should have attempted only once
Processes\ProcessTreeGracefulShutdownServiceTests.cs (1)
118Assert.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"/>.