|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tomcat.maven.it.AbstractWarProjectIT
public abstract class AbstractWarProjectIT
Base class for all tests which have a war-project using the tomcat-maven-plugin below project-resources.
Field Summary | |
---|---|
protected Verifier |
verifier
Helper for Maven-Integration-Tests. |
protected File |
webappHome
Where the war project got placed to. |
Constructor Summary | |
---|---|
AbstractWarProjectIT()
|
Method Summary | |
---|---|
protected String |
executeVerifyWithGet()
Executes mvn verify and retrieves the response from the web application. |
protected static String |
getAjpItPort()
|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Verifier verifier
protected File webappHome
Constructor Detail |
---|
public AbstractWarProjectIT()
Method Detail |
---|
protected abstract String getWebappUrl()
protected abstract String getWarArtifactId()
public void setUp() throws Exception
Exception
public void tearDown() throws Exception
Exception
protected final String executeVerifyWithGet() throws VerificationException, InterruptedException, IOException
VerificationException
- if the verifier failed to execute the goal
InterruptedException
- if the execution got interrupted in some way
IOException
protected int getTimeout()
protected static String getHttpItPort()
protected static String getHttpsItPort()
protected static String getAjpItPort()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |