1 type derived from ToolCommand
Aspire.Workload.Tests (1)
tests\Shared\WorkloadTesting\DotNetCommand.cs (1)
8
public class DotNetCommand :
ToolCommand
3 instantiations of ToolCommand
Aspire.Workload.Tests (3)
tests\Shared\WorkloadTesting\AspireProject.cs (3)
407
using var cmd = new
ToolCommand
("docker", testOutput!, "container-list");
425
using var cmd = new
ToolCommand
("docker", testOutput, label: "container-list")
438
using var cmd = new
ToolCommand
("docker", testOutput, label: component)
17 references to ToolCommand
Aspire.Workload.Tests (17)
BuildAndRunTemplateTests.cs (1)
142
using
var
buildCmd = new DotNetCommand(_testOutput, buildEnv: testSpecificBuildEnvironment, label: "first-run")
PerTestFrameworkTemplatesTests.cs (1)
51
using
var
cmd = new DotNetCommand(_testOutput, label: $"test-{_testTemplateName}")
tests\Shared\WorkloadTesting\AspireProject.cs (5)
306
using
var
restoreCmd = new DotNetCommand(_testOutput, buildEnv: _buildEnv, label: "restore")
316
using
var
buildCmd = new DotNetCommand(_testOutput, buildEnv: _buildEnv, label: "build")
407
using
var
cmd = new ToolCommand("docker", testOutput!, "container-list");
425
using
var
cmd = new ToolCommand("docker", testOutput, label: "container-list")
438
using
var
cmd = new ToolCommand("docker", testOutput, label: component)
tests\Shared\WorkloadTesting\TemplateCustomHive.cs (1)
103
using
var
cmd = new ToolCommand(dotnet,
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)
WorkloadTestsBase.cs (3)
61
using
var
newTestCmd = new DotNetNewCommand(
329
using
var
buildCmd = new DotNetCommand(testOutput, label: $"test-{testType}")
336
using
var
testCmd = new DotNetCommand(testOutput, label: $"test-{testType}")