11 references to AttemptCount
Aspire.Cli.Tests (11)
Commands\RunCommandTests.cs (1)
194Assert.Equal(0, processFactory.AttemptCount);
Commands\StartCommandTests.cs (1)
193Assert.Equal(0, processFactory.AttemptCount);
Commands\StopCommandTests.cs (1)
1220() => processFactory.AttemptCount)
Commands\TrayCommandTests.cs (2)
258Assert.Equal(2, factory.AttemptCount); 435Assert.Equal(extraction ? 0 : 1, factory.AttemptCount);
DotNet\DotNetCliRunnerTests.cs (4)
2853Assert.Equal(1, executor.AttemptCount); 2902Assert.Equal(2, executor.AttemptCount); 2945Assert.Equal(3, executor.AttemptCount); // Should have attempted 3 times 2988Assert.Equal(1, executor.AttemptCount); // Should have attempted only once
Processes\ProcessTreeGracefulShutdownServiceTests.cs (1)
118Assert.Equal(1, executionFactory.AttemptCount);
TestServices\TestProcessExecutionFactory.cs (1)
379/// Returns both the runner and the factory so the test can check <see cref="TestProcessExecutionFactory.AttemptCount"/>.