29 references to ExecutionType
Aspire.Hosting (9)
Aspire.Hosting.Tests (20)
Dcp\DcpExecutorTests.cs (20)
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)..];
1695Assert.Equal(ExecutionType.IDE, debuggableExe.Spec.ExecutionType);
1702Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType);
1739Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1776Assert.Equal(ExecutionType.Process, debuggableExe.Spec.ExecutionType);
1780Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType);
1817Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1853Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1895Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1937Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1979Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);
2016Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);
2053Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);
2096Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);
2176Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);