Save This Page
Home » cactus-1.8.0-src » org.apache.cactus.integration.ant.container.resin » [javadoc | source]
org.apache.cactus.integration.ant.container.resin
public final class: TestResin3xTask [javadoc | source]
java.lang.Object
   junit.framework.TestCase
      org.apache.cactus.integration.ant.AntTestCase
         org.apache.cactus.integration.ant.container.resin.TestResin3xTask

All Implemented Interfaces:
    BuildListener

Unit tests for Resin3xTask .
Constructor:
 public TestResin3xTask() 
Method from org.apache.cactus.integration.ant.container.resin.TestResin3xTask Summary:
setUp,   testExecuteStartWithNoDeployableAndNoTestURL,   testExecuteStartWithNoDeployableAndWithTestURL,   testExecuteStartWithWarDeployableAndNoTestURL,   testExecuteWhenNoActionSpecified,   testExecuteWhenNoDirSpecified,   testExecuteWhenWrongActionSpecified
Methods from org.apache.cactus.integration.ant.AntTestCase:
assertMessageLogged,   assertMessageLoggedContaining,   assertTargetExecuted,   buildFinished,   buildStarted,   executeTestTarget,   getLog,   getProject,   getProjectDir,   getTestTarget,   messageLogged,   setUp,   targetFinished,   targetStarted,   taskFinished,   taskStarted,   tearDown
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cactus.integration.ant.container.resin.TestResin3xTask Detail:
 protected  void setUp() throws Exception 
 public  void testExecuteStartWithNoDeployableAndNoTestURL() 
    Verifies that the task can start and stop a Resin 3.x instance when there is nothing to deploy and when we don't use a test URL to wait for the container to be started.
 public  void testExecuteStartWithNoDeployableAndWithTestURL() 
    Verifies that the task can start and stop a Resin 3.x instance when there is nothing to deploy and when we use a test URL to wait for the container to be started.
 public  void testExecuteStartWithWarDeployableAndNoTestURL() 
    Verifies that the task can start and stop a Resin 3.x instance when there is a webapp to deploy and when we don't use a test URL to wait for the container to be started.
 public  void testExecuteWhenNoActionSpecified() 
    Verifies that the task throws an exception when the action attribute has not been set.
 public  void testExecuteWhenNoDirSpecified() 
    Verifies that the task throws an exception when the action attribute has not been set.
 public  void testExecuteWhenWrongActionSpecified() 
    Verifies that the task throws an exception when the action attribute has an invalid value.