26 references to TestProcessExecution
Aspire.Cli.Tests (26)
Commands\DashboardRunCommandTests.cs (2)
447
new
TestProcessExecution
(
491
new
TestProcessExecution
("fake", [], null, options, (_, _, _) => Task.FromResult((0, (string?)null)), () => 0)
Commands\StopCommandTests.cs (1)
1214
new
TestProcessExecution
(
DotNet\ProcessScopeTests.cs (3)
18
var execution = new
TestProcessExecution
(
45
var execution = new
TestProcessExecution
(
75
var execution = new
TestProcessExecution
(
ProfileCaptureServiceTests.cs (4)
229
process = new
TestProcessExecution
(fileName, args, env, options, (_, _, _) => Task.FromResult((0, (string?)null)), () => 1)
345
var process = new
TestProcessExecution
(
613
var process = new
TestProcessExecution
(
634
return new
TestProcessExecution
(
Projects\NativeAppHostServerProjectTests.cs (8)
90
return new
TestProcessExecution
(start.FileName, [], null, options,
178
return new
TestProcessExecution
(start.FileName, [], null, options,
227
return new
TestProcessExecution
(start.FileName, [], null, options,
260
return new
TestProcessExecution
(start.FileName, [], null, options,
329
return new
TestProcessExecution
(start.FileName, [], null, options,
371
CreateExecutionFromStartInfoCallback = (start, options) => new
TestProcessExecution
(start.FileName, [], null, options,
480
return new
TestProcessExecution
(start.FileName, [], null, options,
498
return new
TestProcessExecution
(start.FileName, [], null, options,
Secrets\SecretStoreResolverTests.cs (1)
517
CreateExecutionCallback = (args, env, directory, options) => new
TestProcessExecution
(
Telemetry\InternalMicrosoftDetectorTests.cs (2)
855
new
TestProcessExecution
(
963
new
TestProcessExecution
(
TestServices\TestProcessExecutionFactory.cs (1)
145
var testExecution = new
TestProcessExecution
(fileName, args, env, options, callback, () => _attemptCount);
Utils\DcpConnectionHealthCheckTests.cs (1)
136
var testExecution = new
TestProcessExecution
(
Utils\DevCertsCheckTests.cs (3)
525
new
TestProcessExecution
(fileName, args, env, options, (_, _, _) => Task.FromResult((0, (string?)"12345678")), () => 1)
630
new
TestProcessExecution
(fileName, args, env, options, async (_, _, cancellationToken) =>
689
new
TestProcessExecution
(fileName, args, env, options, (_, _, _) => throw new IOException("openssl pipe failed"), () => 1)