org.apache.tomcat.maven.it
Class AbstractSimpleWarProjectIT

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

public abstract class AbstractSimpleWarProjectIT
extends AbstractWarProjectIT

Author:
Mark Michaelis

Field Summary
 
Fields inherited from class org.apache.tomcat.maven.it.AbstractWarProjectIT
verifier, webappHome
 
Constructor Summary
AbstractSimpleWarProjectIT()
           
 
Method Summary
protected  String getWarArtifactId()
          Artifact ID of the war project.
protected  String getWebappUrl()
          This URL will be queried for content.
 void testIt()
           
protected abstract  void verifyConnectorsStarted()
          impls check the logs if http/https/apr has been started
 
Methods inherited from class org.apache.tomcat.maven.it.AbstractWarProjectIT
executeVerifyWithGet, getAjpItPort, getHttpItPort, getHttpsItPort, getTimeout, setUp, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSimpleWarProjectIT

public AbstractSimpleWarProjectIT()
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

verifyConnectorsStarted

protected abstract void verifyConnectorsStarted()
                                         throws org.apache.maven.it.VerificationException
impls check the logs if http/https/apr has been started

Throws:
org.apache.maven.it.VerificationException


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