11 references to AttemptCount
Aspire.Cli.Tests (11)
Commands\RunCommandTests.cs (1)
194
Assert.Equal(0, processFactory.
AttemptCount
);
Commands\StartCommandTests.cs (1)
193
Assert.Equal(0, processFactory.
AttemptCount
);
Commands\StopCommandTests.cs (1)
1220
() => processFactory.
AttemptCount
)
Commands\TrayCommandTests.cs (2)
258
Assert.Equal(2, factory.
AttemptCount
);
435
Assert.Equal(extraction ? 0 : 1, factory.
AttemptCount
);
DotNet\DotNetCliRunnerTests.cs (4)
2853
Assert.Equal(1, executor.
AttemptCount
);
2902
Assert.Equal(2, executor.
AttemptCount
);
2945
Assert.Equal(3, executor.
AttemptCount
); // Should have attempted 3 times
2988
Assert.Equal(1, executor.
AttemptCount
); // Should have attempted only once
Processes\ProcessTreeGracefulShutdownServiceTests.cs (1)
118
Assert.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
"/>.