Save This Page
Home » cactus-1.8.0-src » org.apache.cactus.extension.jetty » [javadoc | source]
org.apache.cactus.extension.jetty
public class: TestJettyTestSetup [javadoc | source]
java.lang.Object
   junit.framework.TestCase
      org.apache.cactus.extension.jetty.TestJettyTestSetup
Unit tests of the JettyTestSetup class. Note: For this test to work, it must be passed the cactus.port system property. If not it will default to 8080.
Nested Class Summary:
public class  TestJettyTestSetup.SampleTestCase  Fake test case object used only to construct an instance of {@link JettyTestSetup}. 
Method from org.apache.cactus.extension.jetty.TestJettyTestSetup Summary:
setUp,   tearDown,   testSetUpWhenServerIsAlreadyStarted,   testSetUpWhenServerNotAlreadyStarted
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cactus.extension.jetty.TestJettyTestSetup Detail:
 protected  void setUp() throws Exception 
 protected  void tearDown() throws Exception 
 public  void testSetUpWhenServerIsAlreadyStarted() throws Exception 
    Verify that calling the JettyTestSetup#setUp() method does not start Jetty a second time if Jetty is already started.
 public  void testSetUpWhenServerNotAlreadyStarted() throws Exception