org.apache.tomcat.maven.it
Class AbstractDeployWarProjectIT

java.lang.Object
  extended by org.apache.tomcat.maven.it.AbstractWarProjectIT
      extended by org.apache.tomcat.maven.it.AbstractDeployWarProjectIT

public abstract class AbstractDeployWarProjectIT
extends AbstractWarProjectIT

Author:
Mark Michaelis

Field Summary
 
Fields inherited from class org.apache.tomcat.maven.it.AbstractWarProjectIT
verifier, webappHome
 
Constructor Summary
AbstractDeployWarProjectIT()
           
 
Method Summary
protected  int getTimeout()
           
protected  String getWarArtifactId()
          Artifact ID of the war project.
protected  String getWebappUrl()
          This URL will be queried for content.
 void testIt()
           
 
Methods inherited from class org.apache.tomcat.maven.it.AbstractWarProjectIT
executeVerifyWithGet, getAjpItPort, getHttpItPort, getHttpsItPort, setUp, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDeployWarProjectIT

public AbstractDeployWarProjectIT()
Method Detail

getWebappUrl

protected String getWebappUrl()
Description copied from class: AbstractWarProjectIT
This URL will be queried for content. It will also be used to wait for the startup of the webapp.

Specified by:
getWebappUrl in class AbstractWarProjectIT
Returns:
the URL to ping

getWarArtifactId

protected String getWarArtifactId()
Description copied from class: AbstractWarProjectIT
Artifact ID of the war project. Needed to uninstall any artifacts.

Specified by:
getWarArtifactId in class AbstractWarProjectIT
Returns:
artifact ID of the war project under test

testIt

public void testIt()
            throws Exception
Throws:
Exception

getTimeout

protected int getTimeout()
Overrides:
getTimeout in class AbstractWarProjectIT


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.