95 references to ExecutionType
Aspire.Hosting (3)
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
Aspire.Hosting.Tests (92)
Dcp\DcpExecutorTests.cs (86)
530[InlineData(ExecutionType.IDE, false, null, new string[] { "--test1", "--test2" })] 531[InlineData(ExecutionType.IDE, true, new string[] { "--withargs-test" }, new string[] { "--withargs-test" })] 532[InlineData(ExecutionType.Process, false, new string[] { "--test1", "--test2" }, new string[] { "--test1", "--test2" })] 533[InlineData(ExecutionType.Process, true, new string[] { "--", "--test1", "--test2", "--withargs-test" }, new string[] { "--", "--test1", "--test2", "--withargs-test" })] 542if (executionType == ExecutionType.IDE) 578var callArgs = executionType == ExecutionType.IDE ? exe.Spec.Args : exe.Spec.Args![^(expectedArgs?.Length ?? 0)..]; 664Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 704Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 5416Assert.Equal(ExecutionType.IDE, debuggableExe.Spec.ExecutionType); 5424Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType); 5459Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 5488Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 5525Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 5549Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 5592Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 5632Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 5676Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 5720Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 5806Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 5852Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6007Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6324Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6361Assert.Equal(ExecutionType.Process, debuggableExe.Spec.ExecutionType); 6365Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType); 6402Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6438Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6480Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6522Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6564Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6597Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6637Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6677Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6710Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6749Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6790Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6825Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6873Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6932Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6984Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7029Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7100Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7204Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType); 7348Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType); 7431Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7521Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7636Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7689Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7754Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7781Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7823Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7862Assert.Equal(ExecutionType.IDE, standardExe.Spec.ExecutionType); 7865Assert.Equal(ExecutionType.IDE, customExe.Spec.ExecutionType); 7921Assert.Equal(ExecutionType.Process, standardExe.Spec.ExecutionType); 7925Assert.Equal(ExecutionType.IDE, functionsExe.Spec.ExecutionType); 7960Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8041Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8081Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8132Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8178Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8219Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8300Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8340Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8377Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8412Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8448Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8500Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8536Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8571Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8611Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8645Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8709Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8742Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8835Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8890Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8941Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8994Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9027Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9071Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9166Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9202Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9239Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9495Assert.Equal(ExecutionType.IDE, exe1.Spec.ExecutionType); 9506Assert.Equal(ExecutionType.IDE, exe1.Spec.ExecutionType); 9514Assert.Equal(ExecutionType.IDE, exe2.Spec.ExecutionType); 10978Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 11070Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
Dcp\ExecutableLaunchPlanTests.cs (3)
207executable.Spec.ExecutionType = ExecutionType.IDE; 208executable.Spec.FallbackExecutionTypes = [ExecutionType.Process]; 231Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType);
Dcp\ResourceLogSourceTests.cs (2)
19[InlineData(ExecutionType.Process, true)] 20[InlineData(ExecutionType.IDE, false)]
DistributedApplicationTests.cs (1)
2080Assert.Equal(ExecutionType.Process, dcpExecutable.Spec.ExecutionType);