public class MainServletTestCallback
extends com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<Void,Void>
Modifier and Type | Field and Description |
---|---|
static MainServletTestCallback |
INSTANCE |
Modifier | Constructor and Description |
---|---|
protected |
MainServletTestCallback() |
Modifier and Type | Method and Description |
---|---|
void |
afterClass(org.junit.runner.Description description,
Void c) |
Void |
beforeClass(org.junit.runner.Description description) |
static com.liferay.portal.servlet.MainServlet |
getMainServlet() |
public static final MainServletTestCallback INSTANCE
public static com.liferay.portal.servlet.MainServlet getMainServlet()
public void afterClass(org.junit.runner.Description description, Void c) throws com.liferay.portal.kernel.exception.PortalException
afterClass
in interface com.liferay.portal.kernel.test.rule.callback.TestCallback<Void,Void>
afterClass
in class com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<Void,Void>
com.liferay.portal.kernel.exception.PortalException
public Void beforeClass(org.junit.runner.Description description)
beforeClass
in interface com.liferay.portal.kernel.test.rule.callback.TestCallback<Void,Void>
beforeClass
in class com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<Void,Void>