org.apache.tomcat.maven.it
Class AbstractUsageContextpathIT

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

public class AbstractUsageContextpathIT
extends AbstractWarProjectIT

Tests the example "Using a different context path" as the WAR gets deployed below the contextpath /lorem.

Author:
Mark Michaelis

Field Summary
 
Fields inherited from class org.apache.tomcat.maven.it.AbstractWarProjectIT
verifier, webappHome
 
Constructor Summary
AbstractUsageContextpathIT()
           
 
Method Summary
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, getTimeout, setUp, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractUsageContextpathIT

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


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