public class InjectTestCallback extends Object implements com.liferay.portal.kernel.test.rule.callback.TestCallback<InjectTestBag,InjectTestBag>
| Modifier and Type | Field and Description |
|---|---|
static InjectTestCallback |
INSTANCE |
| Constructor and Description |
|---|
InjectTestCallback() |
| 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 InjectTestCallback INSTANCE
public void afterClass(org.junit.runner.Description description,
InjectTestBag injectTestBag)
throws Exception
afterClass in interface com.liferay.portal.kernel.test.rule.callback.TestCallback<InjectTestBag,InjectTestBag>Exceptionpublic void afterMethod(org.junit.runner.Description description,
InjectTestBag injectTestBag,
Object target)
throws Exception
afterMethod in interface com.liferay.portal.kernel.test.rule.callback.TestCallback<InjectTestBag,InjectTestBag>Exceptionpublic InjectTestBag beforeClass(org.junit.runner.Description description) throws Exception
beforeClass in interface com.liferay.portal.kernel.test.rule.callback.TestCallback<InjectTestBag,InjectTestBag>Exceptionpublic InjectTestBag beforeMethod(org.junit.runner.Description description, Object target) throws Exception
beforeMethod in interface com.liferay.portal.kernel.test.rule.callback.TestCallback<InjectTestBag,InjectTestBag>Exception