27 references to ExecutionType
Aspire.Hosting (8)
Aspire.Hosting.Tests (19)
Dcp\DcpExecutorTests.cs (19)
112[InlineData(ExecutionType.IDE, false, null, new string[] { "--test1", "--test2" })]
113[InlineData(ExecutionType.IDE, true, new string[] { "--withargs-test" }, new string[] { "--withargs-test" })]
114[InlineData(ExecutionType.Process, false, new string[] { "--test1", "--test2" }, new string[] { "--test1", "--test2" })]
115[InlineData(ExecutionType.Process, true, new string[] { "--", "--test1", "--test2", "--withargs-test" }, new string[] { "--", "--test1", "--test2", "--withargs-test" })]
124if (executionType == ExecutionType.IDE)
160var callArgs = executionType == ExecutionType.IDE ? exe.Spec.Args : exe.Spec.Args![^(expectedArgs?.Length ?? 0)..];
1584Assert.Equal(ExecutionType.IDE, debuggableExe.Spec.ExecutionType);
1591Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType);
1628Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1665Assert.Equal(ExecutionType.Process, debuggableExe.Spec.ExecutionType);
1669Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType);
1706Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1742Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1784Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1826Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1868Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);
1905Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);
1942Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);
1985Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);