public interface UnitTest
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Cleanup after a test case executed
|
int |
getTimeoutMillis()
Returns the time in milliseconds after which the test should be automatically failed.
|
void |
prepare()
Prepares the unit test for execution
|
boolean |
runTest()
Runs a unit test, if it returns true it passed.
|
boolean |
shouldExecuteOnEDT()
Returns true to indicate that the test expects to be executed on the EDT
|
boolean runTest() throws Exception
Exception
- thrown if it failedvoid prepare()
void cleanup()
int getTimeoutMillis()
boolean shouldExecuteOnEDT()