30 references to PowerShellCommand
Infrastructure.Tests (30)
BuildWarningPolicyTests.cs (1)
327return new PowerShellCommand(script, output)
MicrosoftTestingPlatformTests.cs (2)
37using var command = new PowerShellCommand(script, output) 73using var command = new PowerShellCommand(script, output)
Pipelines\BundleBuildWrapperTests.cs (1)
139using var command = new PowerShellCommand(launcher, output)
Pipelines\NpmCliPackageTests.cs (1)
315using var cmd = new PowerShellCommand(_packScriptPath, _output)
Pipelines\TrayBundleTests.cs (4)
215using var command = new PowerShellCommand(scriptPath, output) 379using var command = new PowerShellCommand(Path.Combine(RepoRoot.Path, "tools/CreateLayout/verify-windows-tray-payload.ps1"), output) 449using var command = new PowerShellCommand(script, output) 510using var command = new PowerShellCommand(Path.Combine(RepoRoot.Path, "eng/scripts/test-native-tray.ps1"), output)
PowerShellScripts\BuildTestMatrixTests.cs (1)
758using var cmd = new PowerShellCommand(_scriptPath, _output)
PowerShellScripts\CiResourceMonitorTests.cs (1)
132using var cmd = new PowerShellCommand(_scriptPath, _output)
PowerShellScripts\DownloadNativeArchivesTests.cs (1)
416using 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\PowerShellStartupProfileTests.cs (1)
44using 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\VerifyNonBlockingTestResultsTests.cs (1)
295using var command = new PowerShellCommand(_scriptPath, _output);
PowerShellScripts\WriteClassModeTestPropsTests.cs (1)
116using var cmd = new PowerShellCommand(_scriptPath, _output)
ResourceGeneratorMetadataTests.cs (1)
115using var command = new PowerShellCommand(script, output)
TemplateManifest\TemplateManifestBuildTargetTests.cs (1)
61using var command = new PowerShellCommand(runner, output)
TemplateManifest\TemplateManifestGenerationTests.cs (1)
90new PowerShellCommand(Path.Combine(RepoRoot.Path, "eng", "scripts", "generate-template-cgmanifest.ps1"), output)
TemplateManifest\TemplateManifestTestEnvironment.cs (1)
96return new PowerShellCommand(script, _output)
TemplateManifest\TemplateRestorePlanTests.cs (1)
203using var command = new PowerShellCommand(script, output)