public class DefaultTestLifecycle extends java.lang.Object implements TestLifecycle
Constructor and Description |
---|
DefaultTestLifecycle() |
Modifier and Type | Method and Description |
---|---|
void |
afterTest(java.lang.reflect.Method method)
Called after each test method is run.
|
void |
beforeTest(java.lang.reflect.Method method)
Called before each test method is run.
|
void |
prepareTest(java.lang.Object test)
Called after each test method is run.
|
public void beforeTest(java.lang.reflect.Method method)
Called before each test method is run.
beforeTest
in interface TestLifecycle
method
- the test method about to be runpublic void prepareTest(java.lang.Object test)
TestLifecycle
Called after each test method is run.
prepareTest
in interface TestLifecycle
test
- the instance of the test class that is about to be usedpublic void afterTest(java.lang.reflect.Method method)
Called after each test method is run.
afterTest
in interface TestLifecycle
method
- the test method that just ran.