Package io.quarkus.maven.it
Class RunAndCheckMojoTestBase
- java.lang.Object
-
- io.quarkus.maven.it.MojoTestBase
-
- io.quarkus.maven.it.RunAndCheckMojoTestBase
-
public class RunAndCheckMojoTestBase extends MojoTestBase
-
-
Field Summary
Fields Modifier and Type Field Description protected RunningInvoker
running
protected File
testDir
-
Constructor Summary
Constructors Constructor Description RunAndCheckMojoTestBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup()
protected Supplier<String>
getBrokenReason()
String
getHttpErrorResponse()
String
getHttpResponse()
protected void
run(boolean performCompile, String... options)
protected void
runAndCheck(boolean performCompile, String... options)
protected void
runAndCheck(String... options)
protected void
runAndExpectError()
void
shutdownTheApp()
-
Methods inherited from class io.quarkus.maven.it.MojoTestBase
assertThatOutputWorksCorrectly, disableDevToolsTestConfig, enableDevToolsTestConfig, enableDevToolsTestConfig, filter, getEnv, getFilesEndingWith, getTargetDir, initEmptyProject, initInvoker, initProject, initProject, loadPom, passUserSettings
-
-
-
-
Field Detail
-
running
protected RunningInvoker running
-
testDir
protected File testDir
-
-
Method Detail
-
cleanup
@AfterEach public void cleanup() throws IOException
- Throws:
IOException
-
shutdownTheApp
public void shutdownTheApp()
-
run
protected void run(boolean performCompile, String... options) throws FileNotFoundException, org.apache.maven.shared.invoker.MavenInvocationException
- Throws:
FileNotFoundException
org.apache.maven.shared.invoker.MavenInvocationException
-
runAndCheck
protected void runAndCheck(String... options) throws FileNotFoundException, org.apache.maven.shared.invoker.MavenInvocationException
- Throws:
FileNotFoundException
org.apache.maven.shared.invoker.MavenInvocationException
-
runAndCheck
protected void runAndCheck(boolean performCompile, String... options) throws FileNotFoundException, org.apache.maven.shared.invoker.MavenInvocationException
- Throws:
FileNotFoundException
org.apache.maven.shared.invoker.MavenInvocationException
-
runAndExpectError
protected void runAndExpectError() throws FileNotFoundException, org.apache.maven.shared.invoker.MavenInvocationException
- Throws:
FileNotFoundException
org.apache.maven.shared.invoker.MavenInvocationException
-
getHttpErrorResponse
public String getHttpErrorResponse()
-
getHttpResponse
public String getHttpResponse()
-
-