|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.extensions.TestDecorator
junit.extensions.TestSetup
net.sourceforge.jwebunit.tests.util.JettySetup
public class JettySetup
Sets up and tears down the Jetty servlet engine before and after the tests in
the TestSuite
have run.
Field Summary |
---|
Fields inherited from class junit.extensions.TestDecorator |
---|
fTest |
Constructor Summary | |
---|---|
JettySetup(junit.framework.Test test)
Constructor. |
Method Summary | |
---|---|
void |
setUp()
Starts the Jetty server using the jetty-test-config.xml file which is loaded using the classloader used to load Jetty. |
void |
tearDown()
Stops the Jetty server. |
Methods inherited from class junit.extensions.TestSetup |
---|
run |
Methods inherited from class junit.extensions.TestDecorator |
---|
basicRun, countTestCases, getTest, 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 |
---|
public JettySetup(junit.framework.Test test)
test
- Method Detail |
---|
public void setUp() throws java.lang.Exception
setUp
in class junit.extensions.TestSetup
java.lang.Exception
TestSetup.setUp()
public void tearDown() throws java.lang.Exception
tearDown
in class junit.extensions.TestSetup
java.lang.Exception
TestSetup.tearDown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |