27 references to ExecutionType
Aspire.Hosting (8)
Aspire.Hosting.Tests (19)
Dcp\DcpExecutorTests.cs (19)
113[InlineData(ExecutionType.IDE, false, null, new string[] { "--test1", "--test2" })]
114[InlineData(ExecutionType.IDE, true, new string[] { "--withargs-test" }, new string[] { "--withargs-test" })]
115[InlineData(ExecutionType.Process, false, new string[] { "--test1", "--test2" }, new string[] { "--test1", "--test2" })]
116[InlineData(ExecutionType.Process, true, new string[] { "--", "--test1", "--test2", "--withargs-test" }, new string[] { "--", "--test1", "--test2", "--withargs-test" })]
125if (executionType == ExecutionType.IDE)
161var callArgs = executionType == ExecutionType.IDE ? exe.Spec.Args : exe.Spec.Args![^(expectedArgs?.Length ?? 0)..];
1590Assert.Equal(ExecutionType.IDE, debuggableExe.Spec.ExecutionType);
1597Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType);
1634Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1671Assert.Equal(ExecutionType.Process, debuggableExe.Spec.ExecutionType);
1675Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType);
1712Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1748Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1790Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1832Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1874Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);
1911Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);
1948Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);
1991Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);