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