4 instantiations of CommandResult
Infrastructure.Tests (4)
WorkflowScripts\ExtensionReleaseWorkflowTests.cs (4)
671
return new
CommandResult
(process.ExitCode, output);
750
return new
CommandResult
(process.ExitCode, output);
787
return new
CommandResult
(process.ExitCode, output);
853
return new
CommandResult
(process.ExitCode, output);
11 references to CommandResult
Infrastructure.Tests (11)
WorkflowScripts\ExtensionReleaseWorkflowTests.cs (11)
269
var
result = await RunBashSyntaxCheckAsync(script);
284
var
result = await RunBashScriptAsync(
315
var
result = await RunBashScriptAsync(
346
var
result = await RunBashScriptAsync(
552
var
result = await RunPythonScriptAsync(pythonExecutable, s_prBodyValidatorPath, [bodyPath]);
571
var
result = await RunPythonScriptAsync(pythonExecutable, s_prBodyValidatorPath, [bodyPath]);
641
private async Task<
CommandResult
> RunPythonScriptAsync(string pythonExecutable, string scriptPath, IEnumerable<string> args)
726
private async Task<
CommandResult
> RunBashSyntaxCheckAsync(string script)
753
private async Task<
CommandResult
> RunBashScriptAsync(string scriptPath, IEnumerable<string> args, IReadOnlyDictionary<string, string?> environment)
823
var
chmodResult = await RunBashCommandAsync($"chmod +x \"{fakeGhPath}\"");
829
private async Task<
CommandResult
> RunBashCommandAsync(string command)