Package org.robolectric
Interface TestLifecycle<T>
- All Known Implementing Classes:
DefaultTestLifecycle
public interface TestLifecycle<T>
-
Method Summary
Modifier and Type Method Description void
afterTest(Method method)
Called after each test method is run.void
beforeTest(Method method)
Called before each test method is run.void
prepareTest(Object test)
Called after each test method is run.
-
Method Details
-
beforeTest
Called before each test method is run.- Parameters:
method
- the test method about to be run
-
prepareTest
Called after each test method is run.- Parameters:
test
- the instance of the test class that is about to be used
-
afterTest
Called after each test method is run.- Parameters:
method
- the test method that was just run
-