|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.extensions.TestDecorator junit.extensions.TestSetup org.apache.shale.test.cargo.CargoTestSetup
public class CargoTestSetup
Convenience TestSetup
class which uses Cargo to start
and stop a Servlet container.
Field Summary |
---|
Fields inherited from class junit.extensions.TestDecorator |
---|
fTest |
Constructor Summary | |
---|---|
CargoTestSetup(junit.framework.Test test)
Construct a new instance of this test setup. |
Method Summary | |
---|---|
String |
getName()
Deprecated. No replacement. |
protected void |
setUp()
Start the container prior to running the tests. |
protected void |
tearDown()
Stop the container after running the tests. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CargoTestSetup(junit.framework.Test test)
Construct a new instance of this test setup.
test
- Tests to be run within this test setup.Method Detail |
---|
protected void setUp() throws Exception
Start the container prior to running the tests.
The following System properties are used:
setUp
in class junit.extensions.TestSetup
Exception
- if an error occurs.protected void tearDown() throws Exception
tearDown
in class junit.extensions.TestSetup
Exception
- if an error occurs.public String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |