public class TestJettyTestSetup extends TestCase (Code)
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.
version: $Id: TestJettyTestSetup.java 238991 2004-05-22 11:34:50Z vmassol $
Inner Class :public class SampleTestCase extends TestCase
public void testSetUpWhenServerIsAlreadyStarted() throws Exception(Code)
Verify that calling the
JettyTestSetup.setUp method
does not start Jetty a second time if Jetty is already started.
throws: Exception - in case of error
testSetUpWhenServerNotAlreadyStarted
public void testSetUpWhenServerNotAlreadyStarted() throws Exception(Code)
Verify that calling the
JettyTestSetup.setUp method
works when Jetty is not already started.
throws: Exception - in case of error