1 type derived from ToolCommand
Aspire.EndToEnd.Tests (1)
tests\Shared\WorkloadTesting\DotNetCommand.cs (1)
8
public class DotNetCommand :
ToolCommand
3 instantiations of ToolCommand
Aspire.EndToEnd.Tests (3)
tests\Shared\WorkloadTesting\AspireProject.cs (3)
366
using var cmd = new
ToolCommand
("docker", testOutput!, "container-list");
384
using var cmd = new
ToolCommand
("docker", testOutput, label: "container-list")
397
using var cmd = new
ToolCommand
("docker", testOutput, label: component)
12 references to ToolCommand
Aspire.EndToEnd.Tests (12)
tests\Shared\WorkloadTesting\AspireProject.cs (6)
80
using
var
cmd = new DotNetCommand(testOutput, useDefaultArgs: true, label: "dotnet-new")
266
using
var
restoreCmd = new DotNetCommand(_testOutput, buildEnv: _buildEnv, label: "restore")
276
using
var
buildCmd = new DotNetCommand(_testOutput, buildEnv: _buildEnv, label: "build")
366
using
var
cmd = new ToolCommand("docker", testOutput!, "container-list");
384
using
var
cmd = new ToolCommand("docker", testOutput, label: "container-list")
397
using
var
cmd = new ToolCommand("docker", testOutput, label: component)
tests\Shared\WorkloadTesting\ToolCommand.cs (6)
37
public
ToolCommand
WithWorkingDirectory(string dir)
43
public
ToolCommand
WithEnvironmentVariable(string key, string value)
49
public
ToolCommand
WithEnvironmentVariables(IDictionary<string, string>? extraEnvVars)
62
public
ToolCommand
WithOutputDataReceived(Action<string?> handler)
68
public
ToolCommand
WithErrorDataReceived(Action<string?> handler)
74
public
ToolCommand
WithTimeout(TimeSpan timeSpan)