public class RunAndCheckMojoTestBase extends MojoTestBase
| Modifier and Type | Field and Description |
|---|---|
protected RunningInvoker |
running |
protected File |
testDir |
| Constructor and Description |
|---|
RunAndCheckMojoTestBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
protected void |
run(String... options) |
protected void |
runAndCheck(String... options) |
protected void |
runAndExpectError() |
assertThatOutputWorksCorrectly, awaitUntilServerDown, filter, get, getBrokenReason, getEnv, getHttpErrorResponse, getHttpResponse, getHttpResponse, getHttpResponse, getHttpResponse, getStrictHttpResponse, getTargetDir, initEmptyProject, initInvoker, initProject, initProject, loadPomprotected RunningInvoker running
protected File testDir
@AfterEach
public void cleanup()
throws IOException
IOExceptionprotected void run(String... options) throws FileNotFoundException, org.apache.maven.shared.invoker.MavenInvocationException
FileNotFoundExceptionorg.apache.maven.shared.invoker.MavenInvocationExceptionprotected void runAndCheck(String... options) throws FileNotFoundException, org.apache.maven.shared.invoker.MavenInvocationException
FileNotFoundExceptionorg.apache.maven.shared.invoker.MavenInvocationExceptionprotected void runAndExpectError()
throws FileNotFoundException,
org.apache.maven.shared.invoker.MavenInvocationException
FileNotFoundExceptionorg.apache.maven.shared.invoker.MavenInvocationExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.