112 references to ExecutionType
Aspire.Hosting (5)
Dcp\ExecutableCreator.cs (2)
250ExecutableLaunchMechanism.Process => ExecutionType.Process, 251ExecutableLaunchMechanism.Ide => ExecutionType.IDE,
Dcp\ResourceLogSource.cs (1)
58&& executable.Spec.ExecutionType is null or "" or ExecutionType.Process
Dcp\ResourceSnapshotBuilder.cs (2)
269if (resource.Spec.ExecutionType == ExecutionType.Process && 308if (resource.Spec.ExecutionType == ExecutionType.IDE)
Aspire.Hosting.Blazor.Tests (1)
AddBlazorGatewayTests.cs (1)
593Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType);
Aspire.Hosting.Tests (106)
Dcp\DcpExecutorTests.cs (95)
613[InlineData(ExecutionType.IDE, false, null, new string[] { "--test1", "--test2" })] 614[InlineData(ExecutionType.IDE, true, new string[] { "--withargs-test" }, new string[] { "--withargs-test" })] 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" })] 625if (executionType == ExecutionType.IDE) 661var callArgs = executionType == ExecutionType.IDE ? exe.Spec.Args : exe.Spec.Args![^(expectedArgs?.Length ?? 0)..]; 747Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 787Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6091Assert.Equal(ExecutionType.IDE, debuggableExe.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); 6346Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6386Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6430Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6474Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6560Assert.Equal(ExecutionType.IDE, 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); 7318Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7351Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7391Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7431Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7464Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7503Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7544Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7579Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7631Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7686Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7696Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7715Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7737Assert.Equal(ExecutionType.IDE, 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); 8126Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8230Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType); 8374Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType); 8457Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8547Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8662Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8715Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8780Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8807Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8849Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8888Assert.Equal(ExecutionType.IDE, standardExe.Spec.ExecutionType); 8891Assert.Equal(ExecutionType.IDE, customExe.Spec.ExecutionType); 8947Assert.Equal(ExecutionType.Process, standardExe.Spec.ExecutionType); 8951Assert.Equal(ExecutionType.IDE, functionsExe.Spec.ExecutionType); 8986Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9067Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9113Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9148Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9199Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9245Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9286Assert.Equal(ExecutionType.IDE, 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); 9717Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9757Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9791Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9855Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9888Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9981Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 10036Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 10087Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 10140Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 10173Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 10217Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 10312Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 10348Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 10385Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 10641Assert.Equal(ExecutionType.IDE, exe1.Spec.ExecutionType); 10652Assert.Equal(ExecutionType.IDE, exe1.Spec.ExecutionType); 10660Assert.Equal(ExecutionType.IDE, exe2.Spec.ExecutionType); 12794Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 12894Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
Dcp\ExecutableLaunchPlanTests.cs (3)
250executable.Spec.ExecutionType = ExecutionType.IDE; 251executable.Spec.FallbackExecutionTypes = [ExecutionType.Process]; 274Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType);
Dcp\ResourceLogSourceTests.cs (2)
19[InlineData(ExecutionType.Process, true)] 20[InlineData(ExecutionType.IDE, false)]
Dcp\ResourceSnapshotBuilderTests.cs (5)
136executable.Spec.ExecutionType = ExecutionType.IDE; 186executable.Spec.ExecutionType = ExecutionType.IDE; 243executable.Spec.ExecutionType = ExecutionType.IDE; 297executable.Spec.ExecutionType = ExecutionType.Process; 349executable.Spec.ExecutionType = ExecutionType.Process;
DistributedApplicationTests.cs (1)
2158Assert.Equal(ExecutionType.Process, dcpExecutable.Spec.ExecutionType);