|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Superclass for resource objects. Resource objects provide resources to the test classes. They are singletons which are created once, even if a set of tests are run multiple times (e.g. through the junit gui application)
Provides initialisation placeholders setUptearDown to ensure compatibility with junit.
Provides logging facilities: verbose(), debug()
To integrate an existing class into this sytem which already has a superclass, implement this interface
To implement a new resource extend TestResource.
Method Summary | |
void |
setUp()
Called before testing starts Called once for each time the test suite is executed |
void |
tearDown()
Called after testing is complete Called once for each time the test suite is executed |
void |
useTestResult(junit.framework.TestResult resultCollector)
Called when testing starts ie by Main::RunTest Provides opportunity to calll TestResult::addListener addListener requires class to implement TestListener interface |
Method Detail |
public void setUp()
public void tearDown()
public void useTestResult(junit.framework.TestResult resultCollector)
resultCollector
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |