public abstract class AbstractWarProjectIT extends Object
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
protected org.apache.maven.it.Verifier |
verifier
Helper for Maven-Integration-Tests.
|
protected File |
webappHome
Where the war project got placed to.
|
Constructor and Description |
---|
AbstractWarProjectIT() |
Modifier and Type | Method and Description |
---|---|
protected String |
executeVerifyWithGet()
Executes mvn verify and retrieves the response from the web application.
|
protected static String |
getAjpItPort() |
protected List<String> |
getCliOptions() |
protected String |
getGoal() |
protected static String |
getHttpItPort() |
protected static String |
getHttpsItPort() |
protected int |
getTimeout() |
protected abstract String |
getWarArtifactId()
Artifact ID of the war project.
|
protected abstract String |
getWebappUrl()
This URL will be queried for content.
|
void |
setUp() |
void |
tearDown() |
protected org.slf4j.Logger logger
protected org.apache.maven.it.Verifier verifier
protected File webappHome
protected abstract String getWebappUrl()
protected abstract String getWarArtifactId()
protected final String executeVerifyWithGet() throws org.apache.maven.it.VerificationException, InterruptedException, IOException
org.apache.maven.it.VerificationException
- if the verifier failed to execute the goalInterruptedException
- if the execution got interrupted in some wayIOException
protected String getGoal()
protected int getTimeout()
protected static String getHttpItPort()
protected static String getHttpsItPort()
protected static String getAjpItPort()
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.