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