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