91 references to ExecutionType
Aspire.Hosting (2)
Dcp\ExecutableCreator.cs (2)
174ExecutableLaunchMechanism.Process => ExecutionType.Process, 175ExecutableLaunchMechanism.Ide => ExecutionType.IDE,
Aspire.Hosting.Tests (89)
Dcp\DcpExecutorTests.cs (85)
177[InlineData(ExecutionType.IDE, false, null, new string[] { "--test1", "--test2" })] 178[InlineData(ExecutionType.IDE, true, new string[] { "--withargs-test" }, new string[] { "--withargs-test" })] 179[InlineData(ExecutionType.Process, false, new string[] { "--test1", "--test2" }, new string[] { "--test1", "--test2" })] 180[InlineData(ExecutionType.Process, true, new string[] { "--", "--test1", "--test2", "--withargs-test" }, new string[] { "--", "--test1", "--test2", "--withargs-test" })] 189if (executionType == ExecutionType.IDE) 225var callArgs = executionType == ExecutionType.IDE ? exe.Spec.Args : exe.Spec.Args![^(expectedArgs?.Length ?? 0)..]; 311Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 351Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 4696Assert.Equal(ExecutionType.IDE, debuggableExe.Spec.ExecutionType); 4704Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType); 4739Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 4768Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 4805Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 4829Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 4872Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 4912Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 4956Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 5000Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 5086Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 5132Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 5287Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 5604Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 5641Assert.Equal(ExecutionType.Process, debuggableExe.Spec.ExecutionType); 5645Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType); 5682Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 5718Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 5760Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 5802Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 5844Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 5877Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 5917Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 5957Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 5990Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6029Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6070Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6105Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6153Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6212Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6264Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6309Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6380Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6484Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType); 6628Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType); 6711Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6801Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6916Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6969Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7034Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7061Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7103Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7142Assert.Equal(ExecutionType.IDE, standardExe.Spec.ExecutionType); 7145Assert.Equal(ExecutionType.IDE, customExe.Spec.ExecutionType); 7201Assert.Equal(ExecutionType.Process, standardExe.Spec.ExecutionType); 7205Assert.Equal(ExecutionType.IDE, functionsExe.Spec.ExecutionType); 7240Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7321Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7352Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7400Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7441Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7522Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7562Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7599Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7634Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7670Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7722Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7758Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7793Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7833Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7867Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7931Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7964Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8057Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8112Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8163Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8216Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8249Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8293Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8388Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8424Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8461Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8717Assert.Equal(ExecutionType.IDE, exe1.Spec.ExecutionType); 8728Assert.Equal(ExecutionType.IDE, exe1.Spec.ExecutionType); 8736Assert.Equal(ExecutionType.IDE, exe2.Spec.ExecutionType); 9720Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9812Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
Dcp\ExecutableLaunchPlanTests.cs (3)
176executable.Spec.ExecutionType = ExecutionType.IDE; 177executable.Spec.FallbackExecutionTypes = [ExecutionType.Process]; 200Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType);
DistributedApplicationTests.cs (1)
2069Assert.Equal(ExecutionType.Process, dcpExecutable.Spec.ExecutionType);