|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CommonsTestRunnerSessionInterface
Session bean for running JUnit tests inside a server.
Don't call this yourself, but implement a subclasses of
ServerTestCase which will use this to run
itself inside the server.
| Method Summary | |
|---|---|
void |
runTest(String testClassName,
String testMethodName)
Runs a test case inside a server. |
void |
runTestWithTx(String testClassName,
String testMethodName)
Runs a test case inside a server with a new container-managed transaction. |
| Method Detail |
|---|
void runTest(String testClassName,
String testMethodName)
throws RemoteException,
CommonsTestRunnerException
testClassName - the name of the test class, an instance
of ServerTestCasetestMethodName - the name of the test method to run
RemoteException - in case on an remote error.
CommonsTestRunnerException - that wraps any java.lang.Throwable
thrown by the test method.
void runTestWithTx(String testClassName,
String testMethodName)
throws RemoteException,
CommonsTestRunnerException
testClassName - the name of the test class, an instance
of ServerTestCasetestMethodName - the name of the test method to run
RemoteException - in case on an remote error.
CommonsTestRunnerException - that wraps any java.lang.Throwable
thrown by the test method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||