1 instantiation of CommandResult
Aspire.EndToEnd.Tests (1)
tests\Shared\WorkloadTesting\ToolCommand.cs (1)
172return new CommandResult(
13 references to CommandResult
Aspire.EndToEnd.Tests (13)
tests\Shared\WorkloadTesting\AspireProject.cs (4)
103var res = await cmd.ExecuteAsync(cmdString).ConfigureAwait(false); 302public async Task<CommandResult> BuildAsync(string[]? extraBuildArgs = default, CancellationToken token = default, string? workingDirectory = null) 308var res = await restoreCmd.ExecuteAsync($"restore \"-bl:{Path.Combine(LogPath!, $"{Id}-restore.binlog")}\" /p:TreatWarningsAsErrors=true"); 427var res = (await cmd.ExecuteAsync($"container list --all --filter name={component} --format {{{{.Names}}}}"))
tests\Shared\WorkloadTesting\CommandResult.cs (3)
13public static readonly CommandResult Empty; 26public CommandResult EnsureSuccessful(string messagePrefix = "", bool suppressOutput = false) 29public CommandResult EnsureExitCode(int expectedExitCode = 0, string messagePrefix = "", bool suppressOutput = false)
tests\Shared\WorkloadTesting\TemplateCustomHive.cs (2)
100public static async Task<CommandResult> InstallTemplatesAsync(string packagePath, string customHiveDirectory, string dotnet) 110var res = await cmd.ExecuteAsync(installCmd);
tests\Shared\WorkloadTesting\ToolCommand.cs (2)
80public virtual async Task<CommandResult> ExecuteAsync(params string[] args) 106private async Task<CommandResult> ExecuteAsyncInternal(string executable, string args, CancellationToken token)
tests\Shared\WorkloadTesting\ToolCommandException.cs (2)
8public CommandResult? Result { get; } 9public ToolCommandException(string message, CommandResult? result) : base(message)