17 references to Args
Aspire.Hosting.Java.Tests (17)
AddJavaAppTests.cs (12)
46
Assert.Equal(ExpectedWrapperInvocation.
Args
(Path.Combine(tempDir.Path, JavaHostingExtensions.s_defaultMavenWrapper), tempDir.Path, "spring-boot:run"), await ArgumentEvaluator.GetArgumentListAsync(app.Resource));
59
Assert.Equal(ExpectedWrapperInvocation.
Args
(Path.Combine(tempDir.Path, JavaHostingExtensions.s_defaultGradleWrapper), tempDir.Path, "bootRun", "--no-daemon"), await ArgumentEvaluator.GetArgumentListAsync(app.Resource));
322
Assert.Equal(ExpectedWrapperInvocation.
Args
(expectedWrapper, tempDir.Path, "bootRun"), args);
340
Assert.Equal(ExpectedWrapperInvocation.
Args
(expectedWrapper, tempDir.Path, "spring-boot:run"), args);
361
Assert.Equal(ExpectedWrapperInvocation.
Args
(expectedWrapper, module, "bootRun"), args);
381
Assert.Equal(ExpectedWrapperInvocation.
Args
(expectedWrapper, module, "spring-boot:run"), args);
399
Assert.Equal(ExpectedWrapperInvocation.
Args
(expectedWrapper, module, "bootRun"), args);
555
Assert.Equal(ExpectedWrapperInvocation.
Args
(expectedWrapper, tempDir.Path, "spring-boot:run"), args);
573
Assert.Equal(ExpectedWrapperInvocation.
Args
(expectedWrapper, tempDir.Path, "bootRun"), args);
802
ExpectedWrapperInvocation.
Args
(Path.GetFullPath(customWrapper), Path.GetFullPath(tempDir.Path), "spring-boot:run"),
877
ExpectedWrapperInvocation.
Args
("/opt/maven/bin/mvn", tempDir.Path, "spring-boot:run"),
1316
Assert.Equal(ExpectedWrapperInvocation.
Args
(expectedWrapper, tempDir.Path, "spring-boot:run"), args);
AddQuarkusAppTests.cs (2)
101
Assert.Equal(ExpectedWrapperInvocation.
Args
(Path.Combine(tempDir.Path, JavaHostingExtensions.s_defaultMavenWrapper), tempDir.Path, "quarkus:dev"), await ArgumentEvaluator.GetArgumentListAsync(app.Resource));
118
Assert.Equal(ExpectedWrapperInvocation.
Args
(Path.Combine(tempDir.Path, JavaHostingExtensions.s_defaultGradleWrapper), tempDir.Path, "quarkusDev"), await ArgumentEvaluator.GetArgumentListAsync(app.Resource));
AddSpringBootAppTests.cs (3)
26
Assert.Equal(ExpectedWrapperInvocation.
Args
(Path.Combine(tempDir.Path, JavaHostingExtensions.s_defaultMavenWrapper), tempDir.Path, "spring-boot:run"), await ArgumentEvaluator.GetArgumentListAsync(app.Resource));
43
Assert.Equal(ExpectedWrapperInvocation.
Args
(Path.Combine(tempDir.Path, JavaHostingExtensions.s_defaultGradleWrapper), tempDir.Path, "bootRun"), await ArgumentEvaluator.GetArgumentListAsync(app.Resource));
118
ExpectedWrapperInvocation.
Args
(