org.apache.tomcat.maven.common
Class TomcatManagerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.tomcat.maven.common.TomcatManagerTest
All Implemented Interfaces:
junit.framework.Test

public class TomcatManagerTest
extends junit.framework.TestCase

Author:
Olivier Lamy

Nested Class Summary
 class TomcatManagerTest.RedirectServlet
           
 class TomcatManagerTest.UploadedResource
           
 class TomcatManagerTest.UploadServlet
           
 
Constructor Summary
TomcatManagerTest()
           
 
Method Summary
static String getBasedir()
           
protected  void setUp()
           
protected  void tearDown()
           
 void testDeployWar()
           
 void testDeployWarWithRedirect()
           
 void testDeployWarWithRedirectRelative()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TomcatManagerTest

public TomcatManagerTest()
Method Detail

getBasedir

public static String getBasedir()

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testDeployWar

public void testDeployWar()
                   throws Exception
Throws:
Exception

testDeployWarWithRedirect

public void testDeployWarWithRedirect()
                               throws Exception
Throws:
Exception

testDeployWarWithRedirectRelative

public void testDeployWarWithRedirectRelative()
                                       throws Exception
Throws:
Exception


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