56 references to Process
Aspire.Hosting (3)
Dcp\ExecutableCreator.cs (1)
250ExecutableLaunchMechanism.Process => ExecutionType.Process,
Dcp\ResourceLogSource.cs (1)
58&& executable.Spec.ExecutionType is null or "" or ExecutionType.Process
Dcp\ResourceSnapshotBuilder.cs (1)
269if (resource.Spec.ExecutionType == ExecutionType.Process &&
Aspire.Hosting.Blazor.Tests (1)
AddBlazorGatewayTests.cs (1)
593Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType);
Aspire.Hosting.Tests (52)
Dcp\DcpExecutorTests.cs (46)
615[InlineData(ExecutionType.Process, false, new string[] { "--test1", "--test2" }, new string[] { "--test1", "--test2" })] 616[InlineData(ExecutionType.Process, true, new string[] { "--", "--test1", "--test2", "--withargs-test" }, new string[] { "--", "--test1", "--test2", "--withargs-test" })] 787Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6099Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType); 6134Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6163Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6200Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6231Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6303Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6606Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6761Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7078Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7115Assert.Equal(ExecutionType.Process, debuggableExe.Spec.ExecutionType); 7119Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType); 7156Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7192Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7234Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7276Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7391Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7431Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7544Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7686Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7782Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7822Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7958Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8010Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8055Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8230Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType); 8374Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType); 8780Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8807Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8947Assert.Equal(ExecutionType.Process, standardExe.Spec.ExecutionType); 9113Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9148Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9367Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9432Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9486Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9523Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9558Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9594Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9646Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9682Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9855Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9888Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 10173Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 12894Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
Dcp\ExecutableLaunchPlanTests.cs (2)
251executable.Spec.FallbackExecutionTypes = [ExecutionType.Process]; 274Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType);
Dcp\ResourceLogSourceTests.cs (1)
19[InlineData(ExecutionType.Process, true)]
Dcp\ResourceSnapshotBuilderTests.cs (2)
297executable.Spec.ExecutionType = ExecutionType.Process; 349executable.Spec.ExecutionType = ExecutionType.Process;
DistributedApplicationTests.cs (1)
2158Assert.Equal(ExecutionType.Process, dcpExecutable.Spec.ExecutionType);