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,
Object target) |
InjectTestBag |
beforeClass(org.junit.runner.Description description) |
InjectTestBag |
beforeMethod(org.junit.runner.Description description,
Object target) |
apply, createClassStatement, createMethodStatementpublic static final InjectTestRule INSTANCE
public void afterClass(org.junit.runner.Description description,
InjectTestBag injectTestBag)
throws Exception
afterClass in class AbstractTestRule<InjectTestBag,InjectTestBag>Exceptionpublic void afterMethod(org.junit.runner.Description description,
InjectTestBag injectTestBag,
Object target)
throws Exception
afterMethod in class AbstractTestRule<InjectTestBag,InjectTestBag>Exceptionpublic InjectTestBag beforeClass(org.junit.runner.Description description) throws Exception
beforeClass in class AbstractTestRule<InjectTestBag,InjectTestBag>Exceptionpublic InjectTestBag beforeMethod(org.junit.runner.Description description, Object target) throws Exception
beforeMethod in class AbstractTestRule<InjectTestBag,InjectTestBag>Exception