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