28 references to ExecutionType
Aspire.Hosting (9)
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)..];
1658Assert.Equal(ExecutionType.IDE, debuggableExe.Spec.ExecutionType);
1665Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType);
1702Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1739Assert.Equal(ExecutionType.Process, debuggableExe.Spec.ExecutionType);
1743Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType);
1780Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1816Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1858Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1900Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
1942Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);
1979Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);
2016Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);
2059Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);