1 type derived from ToolCommand
Aspire.Workload.Tests (1)
tests\Shared\WorkloadTesting\DotNetCommand.cs (1)
8public class DotNetCommand : ToolCommand
3 instantiations of ToolCommand
Aspire.Workload.Tests (3)
tests\Shared\WorkloadTesting\AspireProject.cs (3)
407using var cmd = new ToolCommand("docker", testOutput!, "container-list"); 425using var cmd = new ToolCommand("docker", testOutput, label: "container-list") 438using var cmd = new ToolCommand("docker", testOutput, label: component)
17 references to ToolCommand
Aspire.Workload.Tests (17)
BuildAndRunTemplateTests.cs (1)
142using var buildCmd = new DotNetCommand(_testOutput, buildEnv: testSpecificBuildEnvironment, label: "first-run")
PerTestFrameworkTemplatesTests.cs (1)
51using var cmd = new DotNetCommand(_testOutput, label: $"test-{_testTemplateName}")
tests\Shared\WorkloadTesting\AspireProject.cs (5)
306using var restoreCmd = new DotNetCommand(_testOutput, buildEnv: _buildEnv, label: "restore") 316using var buildCmd = new DotNetCommand(_testOutput, buildEnv: _buildEnv, label: "build") 407using var cmd = new ToolCommand("docker", testOutput!, "container-list"); 425using var cmd = new ToolCommand("docker", testOutput, label: "container-list") 438using var cmd = new ToolCommand("docker", testOutput, label: component)
tests\Shared\WorkloadTesting\TemplateCustomHive.cs (1)
103using var cmd = new ToolCommand(dotnet,
tests\Shared\WorkloadTesting\ToolCommand.cs (6)
37public ToolCommand WithWorkingDirectory(string dir) 43public ToolCommand WithEnvironmentVariable(string key, string value) 49public ToolCommand WithEnvironmentVariables(IDictionary<string, string>? extraEnvVars) 62public ToolCommand WithOutputDataReceived(Action<string?> handler) 68public ToolCommand WithErrorDataReceived(Action<string?> handler) 74public ToolCommand WithTimeout(TimeSpan timeSpan)
WorkloadTestsBase.cs (3)
61using var newTestCmd = new DotNetNewCommand( 331using var buildCmd = new DotNetCommand(testOutput, label: $"test-{testType}") 338using var testCmd = new DotNetCommand(testOutput, label: $"test-{testType}")