|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.cpa.test.framework.CPAThreadedTestRunnable
public abstract class CPAThreadedTestRunnable
Abstract base class for Runnables of threaded test cases.
Override runTest() to define behaviour of test.
Based on http://www.javaworld.com/jw-12-2000/jw-1221-junit.html?page=6
| Constructor Summary | |
|---|---|
CPAThreadedTestRunnable()
|
|
| Method Summary | |
|---|---|
void |
run()
Run the test in an environment where we can handle the exceptions generated by the test method. |
abstract void |
runTest()
Override to define what needs to be done during test. |
protected void |
setParentTestCase(CPAThreadedTestCase parent)
Set parent test case the runnable belongs to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CPAThreadedTestRunnable()
| Method Detail |
|---|
protected final void setParentTestCase(CPAThreadedTestCase parent)
parent - Parent test case the runnable belongs to.public final void run()
run in interface Runnable
public abstract void runTest()
throws Throwable
Throwable - Catch anything.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||