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