public class InjectTestRule extends AbstractTestRule<InjectTestBag,InjectTestBag>
| Modifier and Type | Field and Description |
|---|---|
static InjectTestRule |
INSTANCE |
| Constructor and Description |
|---|
InjectTestRule() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterClass(org.junit.runner.Description description,
InjectTestBag injectTestBag) |
void |
afterMethod(org.junit.runner.Description description,
InjectTestBag injectTestBag,
java.lang.Object target) |
InjectTestBag |
beforeClass(org.junit.runner.Description description) |
InjectTestBag |
beforeMethod(org.junit.runner.Description description,
java.lang.Object target) |
apply, createClassStatement, createMethodStatementpublic static final InjectTestRule INSTANCE
public void afterClass(org.junit.runner.Description description,
InjectTestBag injectTestBag)
throws java.lang.Exception
afterClass in class AbstractTestRule<InjectTestBag,InjectTestBag>java.lang.Exceptionpublic void afterMethod(org.junit.runner.Description description,
InjectTestBag injectTestBag,
java.lang.Object target)
throws java.lang.Exception
afterMethod in class AbstractTestRule<InjectTestBag,InjectTestBag>java.lang.Exceptionpublic InjectTestBag beforeClass(org.junit.runner.Description description) throws java.lang.Exception
beforeClass in class AbstractTestRule<InjectTestBag,InjectTestBag>java.lang.Exceptionpublic InjectTestBag beforeMethod(org.junit.runner.Description description, java.lang.Object target) throws java.lang.Exception
beforeMethod in class AbstractTestRule<InjectTestBag,InjectTestBag>java.lang.Exception