34 references to ExecutionType
Aspire.Hosting (10)
Aspire.Hosting.Tests (24)
Dcp\DcpExecutorTests.cs (24)
114[InlineData(ExecutionType.IDE, false, null, new string[] { "--test1", "--test2" })]
115[InlineData(ExecutionType.IDE, true, new string[] { "--withargs-test" }, new string[] { "--withargs-test" })]
116[InlineData(ExecutionType.Process, false, new string[] { "--test1", "--test2" }, new string[] { "--test1", "--test2" })]
117[InlineData(ExecutionType.Process, true, new string[] { "--", "--test1", "--test2", "--withargs-test" }, new string[] { "--", "--test1", "--test2", "--withargs-test" })]
126if (executionType == ExecutionType.IDE)
162var callArgs = executionType == ExecutionType.IDE ? exe.Spec.Args : exe.Spec.Args![^(expectedArgs?.Length ?? 0)..];
1728Assert.Equal(ExecutionType.IDE, debuggableExe.Spec.ExecutionType);
1735Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType);
1772Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1809Assert.Equal(ExecutionType.Process, debuggableExe.Spec.ExecutionType);
1813Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType);
1850Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1886Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1928Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1970Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
2012Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);
2049Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);
2086Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);
2129Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);
2209Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
2386Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
2434Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);
2490Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
2538Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);