|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--j2eeunit.server.CallerHelper
Helper class to call the setUp() and tearDown()
methods of the class to test on the server side.
| Constructor Summary | |
CallerHelper()
|
|
| Method Summary | |
static void |
callSetUpMethod(ServletTestCase theTestCase)
Call the setUp method if it exists. |
static void |
callTearDownMethod(ServletTestCase theTestCase)
Call the tearDown method if it exists. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CallerHelper()
| Method Detail |
public static void callSetUpMethod(ServletTestCase theTestCase)
throws java.lang.Throwable
setUp method if it exists. The setUp()
method is called for each test case.theTestCase - the instance of the test case from which to call the
setUp() method.
public static void callTearDownMethod(ServletTestCase theTestCase)
throws java.lang.Throwable
tearDown method if it exists. The tearDown()
method is called for each test case.theTestCase - the instance of the test case from which to call the
tearDown() method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||