19 references to ExecutionType
Aspire.Hosting (8)
Aspire.Hosting.Tests (11)
Dcp\DcpExecutorTests.cs (11)
111[InlineData(ExecutionType.IDE, false, null, new string[] { "--test1", "--test2" })]
112[InlineData(ExecutionType.IDE, true, new string[] { "--withargs-test" }, new string[] { "--withargs-test" })]
113[InlineData(ExecutionType.Process, false, new string[] { "--test1", "--test2" }, new string[] { "--test1", "--test2" })]
114[InlineData(ExecutionType.Process, true, new string[] { "--", "--test1", "--test2", "--withargs-test" }, new string[] { "--", "--test1", "--test2", "--withargs-test" })]
123if (executionType == ExecutionType.IDE)
160var callArgs = executionType == ExecutionType.IDE ? exe.Spec.Args : exe.Spec.Args![^(expectedArgs?.Length ?? 0)..];
1574Assert.Equal(ExecutionType.IDE, debuggableExe.Spec.ExecutionType);
1582Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType);
1620Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1658Assert.Equal(ExecutionType.Process, debuggableExe.Spec.ExecutionType);
1662Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType);