33 references to ExpectedWrapperInvocation
Aspire.Hosting.Java.Tests (33)
AddJavaAppTests.cs (23)
45Assert.Equal(ExpectedWrapperInvocation.Command(), app.Resource.Command); 46Assert.Equal(ExpectedWrapperInvocation.Args(Path.Combine(tempDir.Path, JavaHostingExtensions.s_defaultMavenWrapper), tempDir.Path, "spring-boot:run"), await ArgumentEvaluator.GetArgumentListAsync(app.Resource)); 58Assert.Equal(ExpectedWrapperInvocation.Command(), app.Resource.Command); 59Assert.Equal(ExpectedWrapperInvocation.Args(Path.Combine(tempDir.Path, JavaHostingExtensions.s_defaultGradleWrapper), tempDir.Path, "bootRun", "--no-daemon"), await ArgumentEvaluator.GetArgumentListAsync(app.Resource)); 321Assert.Equal(ExpectedWrapperInvocation.Command(), app.Resource.Command); 322Assert.Equal(ExpectedWrapperInvocation.Args(expectedWrapper, tempDir.Path, "bootRun"), args); 339Assert.Equal(ExpectedWrapperInvocation.Command(), app.Resource.Command); 340Assert.Equal(ExpectedWrapperInvocation.Args(expectedWrapper, tempDir.Path, "spring-boot:run"), args); 360Assert.Equal(ExpectedWrapperInvocation.Command(), app.Resource.Command); 361Assert.Equal(ExpectedWrapperInvocation.Args(expectedWrapper, module, "bootRun"), args); 380Assert.Equal(ExpectedWrapperInvocation.Command(), app.Resource.Command); 381Assert.Equal(ExpectedWrapperInvocation.Args(expectedWrapper, module, "spring-boot:run"), args); 399Assert.Equal(ExpectedWrapperInvocation.Args(expectedWrapper, module, "bootRun"), args); 554Assert.Equal(ExpectedWrapperInvocation.Command(), app.Resource.Command); 555Assert.Equal(ExpectedWrapperInvocation.Args(expectedWrapper, tempDir.Path, "spring-boot:run"), args); 572Assert.Equal(ExpectedWrapperInvocation.Command(), app.Resource.Command); 573Assert.Equal(ExpectedWrapperInvocation.Args(expectedWrapper, tempDir.Path, "bootRun"), args); 800Assert.Equal(ExpectedWrapperInvocation.Command(), app.Resource.Command); 802ExpectedWrapperInvocation.Args(Path.GetFullPath(customWrapper), Path.GetFullPath(tempDir.Path), "spring-boot:run"), 875Assert.Equal(ExpectedWrapperInvocation.Command(), app.Resource.Command); 877ExpectedWrapperInvocation.Args("/opt/maven/bin/mvn", tempDir.Path, "spring-boot:run"), 1315Assert.Equal(ExpectedWrapperInvocation.Command(), app.Resource.Command); 1316Assert.Equal(ExpectedWrapperInvocation.Args(expectedWrapper, tempDir.Path, "spring-boot:run"), args);
AddQuarkusAppTests.cs (4)
100Assert.Equal(ExpectedWrapperInvocation.Command(), app.Resource.Command); 101Assert.Equal(ExpectedWrapperInvocation.Args(Path.Combine(tempDir.Path, JavaHostingExtensions.s_defaultMavenWrapper), tempDir.Path, "quarkus:dev"), await ArgumentEvaluator.GetArgumentListAsync(app.Resource)); 117Assert.Equal(ExpectedWrapperInvocation.Command(), app.Resource.Command); 118Assert.Equal(ExpectedWrapperInvocation.Args(Path.Combine(tempDir.Path, JavaHostingExtensions.s_defaultGradleWrapper), tempDir.Path, "quarkusDev"), await ArgumentEvaluator.GetArgumentListAsync(app.Resource));
AddSpringBootAppTests.cs (6)
25Assert.Equal(ExpectedWrapperInvocation.Command(), app.Resource.Command); 26Assert.Equal(ExpectedWrapperInvocation.Args(Path.Combine(tempDir.Path, JavaHostingExtensions.s_defaultMavenWrapper), tempDir.Path, "spring-boot:run"), await ArgumentEvaluator.GetArgumentListAsync(app.Resource)); 42Assert.Equal(ExpectedWrapperInvocation.Command(), app.Resource.Command); 43Assert.Equal(ExpectedWrapperInvocation.Args(Path.Combine(tempDir.Path, JavaHostingExtensions.s_defaultGradleWrapper), tempDir.Path, "bootRun"), await ArgumentEvaluator.GetArgumentListAsync(app.Resource)); 59Assert.Equal(ExpectedWrapperInvocation.Command(), app.Resource.Command); 118ExpectedWrapperInvocation.Args(