16 references to TestCommand
aspire (4)
Commands\RootCommand.cs (1)
195TestCommand testCommand,
Commands\TestCommand.cs (2)
42private readonly ILogger<TestCommand> _logger; 59_logger = services.LoggerFactory.CreateLogger<TestCommand>();
Program.cs (1)
701builder.Services.AddTransient<TestCommand>();
Aspire.Cli.Tests (12)
Commands\TestCommandTests.cs (11)
693var timeProvider = new SignalingFakeTimeProvider(TestCommand.s_gracefulShutdownBudget); 738var timeProvider = new SignalingFakeTimeProvider(TestCommand.s_gracefulShutdownBudget); 775timeProvider.Advance(TestCommand.s_gracefulShutdownBudget); 798TestCommand.RenderAppHostInformation(interaction, "AppHost [test].csproj", dashboard, codespaces, logPath, extension); 824TestCommand.RenderAppHostInformation(interaction, "AppHost.csproj", dashboard, null, logPath, false); 845TestCommand.RenderAppHostInformation(interaction, "AppHost.csproj", dashboard, codespaces, logPath, false); 909var timeProvider = new SignalingFakeTimeProvider(TestCommand.s_gracefulShutdownBudget); 944timeProvider.Advance(TestCommand.s_gracefulShutdownBudget); 1184Assert.Equal(string.Format(TestCommandStrings.InvalidTimeoutSeconds, TestCommand.MaximumTimeoutSeconds), 1445var timeProvider = new SignalingFakeTimeProvider(TestCommand.s_gracefulShutdownBudget); 1483timeProvider.Advance(TestCommand.s_gracefulShutdownBudget);
Utils\CliTestHelper.cs (1)
298services.AddTransient<TestCommand>();