|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TestRunner
Nested Class Summary | |
---|---|
static class |
TestRunner.Status
|
Method Summary | |
---|---|
void |
cancel(java.lang.String reason)
Cancels an ongoing test run with the specified reason |
void |
fail(java.lang.String reason)
Fails an ongoing test run with the specified reason |
java.lang.String |
getReason()
Gets the reason why a running test was canceled or failed. |
TestRunContext |
getRunContext()
|
long |
getStartTime()
Returns the time this runner was last started |
TestRunner.Status |
getStatus()
Gets the current status of this TestRunner |
TestRunnable |
getTestRunnable()
|
long |
getTimeTaken()
Returns the time taken by this runner since its last start |
void |
start(boolean async)
Starts running this TestRunners TestCase. |
TestRunner.Status |
waitUntilFinished()
Blocks until this runner is finished, (returns directly if it already has finished) |
Method Detail |
---|
TestRunner.Status getStatus()
void start(boolean async)
async
- flag controlling if TestCase should be run in seperate or
callers thread.long getTimeTaken()
long getStartTime()
TestRunner.Status waitUntilFinished()
void cancel(java.lang.String reason)
void fail(java.lang.String reason)
java.lang.String getReason()
TestRunContext getRunContext()
TestRunnable getTestRunnable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |