19 instantiations of PowerShellCommand
Infrastructure.Tests (19)
BuildWarningPolicyTests.cs (1)
324return new PowerShellCommand(script, output)
MicrosoftTestingPlatformTests.cs (1)
23using var command = new PowerShellCommand(script, output)
Pipelines\ExtensionE2eRecorderStepTests.cs (1)
72using var command = new PowerShellCommand(scriptPath, testOutput, label: aptBehavior)
Pipelines\NpmCliPackageTests.cs (1)
649using var cmd = new PowerShellCommand(_packScriptPath, _output)
PowerShellScripts\AspireSkillsBundleHashTests.cs (1)
142using var cmd = new PowerShellCommand(driverPath, _output).WithTimeout(TimeSpan.FromMinutes(1));
PowerShellScripts\BuildTestMatrixTests.cs (1)
736using var cmd = new PowerShellCommand(_scriptPath, _output)
PowerShellScripts\DownloadNativeArchivesTests.cs (1)
400using var cmd = new PowerShellCommand(_scriptPath, _output)
PowerShellScripts\ExpandTestMatrixGitHubTests.cs (3)
550using var buildCmd = new PowerShellCommand(buildMatrixScript, _output) 567using var splitCmd = new PowerShellCommand(splitScriptPath, _output) 618using var cmd = new PowerShellCommand(_scriptPath, _output)
PowerShellScripts\SplitTestMatrixByDepsTests.cs (3)
201using var cmd = new PowerShellCommand(_scriptPath, _output) 216using var cmd = new PowerShellCommand(_scriptPath, _output) 231using var cmd = new PowerShellCommand(_scriptPath, _output)
PowerShellScripts\SplitTestProjectsTests.cs (1)
187using var cmd = new PowerShellCommand(_scriptPath, _output)
PowerShellScripts\StageNativeCliToolPackagesTests.cs (1)
288using var cmd = new PowerShellCommand(_scriptPath, _output)
PowerShellScripts\ValidateNpmPackageSignaturesTests.cs (1)
204using var cmd = new PowerShellCommand(_scriptPath, _output)
PowerShellScripts\ValidateNpmReleaseAliasesTests.cs (1)
179using var cmd = new PowerShellCommand(_scriptPath, _output)
PowerShellScripts\WriteClassModeTestPropsTests.cs (1)
116using var cmd = new PowerShellCommand(_scriptPath, _output)
WorkflowScripts\VerifyTelemetryHookChangesWorkflowTests.cs (1)
151using var command = new PowerShellCommand(scriptPath, output)
24 references to PowerShellCommand
Infrastructure.Tests (24)
BuildWarningPolicyTests.cs (3)
29using var command = CreateCommand(script, RepoRoot.Path) 281using var command = CreateCommand(harness, root) 319private PowerShellCommand CreateCommand(string script, string workingDirectory)
MicrosoftTestingPlatformTests.cs (1)
23using var command = new PowerShellCommand(script, output)
Pipelines\ExtensionE2eRecorderStepTests.cs (1)
72using var command = new PowerShellCommand(scriptPath, testOutput, label: aptBehavior)
Pipelines\NpmCliPackageTests.cs (1)
649using var cmd = new PowerShellCommand(_packScriptPath, _output)
PowerShellScripts\AspireSkillsBundleHashTests.cs (1)
142using var cmd = new PowerShellCommand(driverPath, _output).WithTimeout(TimeSpan.FromMinutes(1));
PowerShellScripts\BuildTestMatrixTests.cs (1)
736using var cmd = new PowerShellCommand(_scriptPath, _output)
PowerShellScripts\DownloadNativeArchivesTests.cs (1)
400using var cmd = new PowerShellCommand(_scriptPath, _output)
PowerShellScripts\ExpandTestMatrixGitHubTests.cs (3)
550using var buildCmd = new PowerShellCommand(buildMatrixScript, _output) 567using var splitCmd = new PowerShellCommand(splitScriptPath, _output) 618using var cmd = new PowerShellCommand(_scriptPath, _output)
PowerShellScripts\PowerShellCommand.cs (3)
38public PowerShellCommand WithWorkingDirectory(string dir) 44public PowerShellCommand WithEnvironmentVariable(string key, string value) 50public PowerShellCommand WithTimeout(TimeSpan timeSpan)
PowerShellScripts\SplitTestMatrixByDepsTests.cs (3)
201using var cmd = new PowerShellCommand(_scriptPath, _output) 216using var cmd = new PowerShellCommand(_scriptPath, _output) 231using var cmd = new PowerShellCommand(_scriptPath, _output)
PowerShellScripts\SplitTestProjectsTests.cs (1)
187using var cmd = new PowerShellCommand(_scriptPath, _output)
PowerShellScripts\StageNativeCliToolPackagesTests.cs (1)
288using var cmd = new PowerShellCommand(_scriptPath, _output)
PowerShellScripts\ValidateNpmPackageSignaturesTests.cs (1)
204using var cmd = new PowerShellCommand(_scriptPath, _output)
PowerShellScripts\ValidateNpmReleaseAliasesTests.cs (1)
179using var cmd = new PowerShellCommand(_scriptPath, _output)
PowerShellScripts\WriteClassModeTestPropsTests.cs (1)
116using var cmd = new PowerShellCommand(_scriptPath, _output)
WorkflowScripts\VerifyTelemetryHookChangesWorkflowTests.cs (1)
151using var command = new PowerShellCommand(scriptPath, output)