Package org.robolectric
Interface TestLifecycle<T>
- All Known Implementing Classes:
DefaultTestLifecycle
public interface TestLifecycle<T>
-
Method Summary
Modifier and Type Method Description voidafterTest(Method method)Called after each test method is run.voidbeforeTest(Method method)Called before each test method is run.voidprepareTest(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
-