public class MainServletClassTestRule
extends com.liferay.portal.kernel.test.rule.ClassTestRule<Void>
Modifier and Type | Field and Description |
---|---|
static MainServletClassTestRule |
INSTANCE |
Modifier | Constructor and Description |
---|---|
protected |
MainServletClassTestRule() |
Modifier and Type | Method and Description |
---|---|
void |
afterClass(org.junit.runner.Description description,
Void v) |
Void |
beforeClass(org.junit.runner.Description description) |
static com.liferay.portal.internal.servlet.MainServlet |
getMainServlet() |
afterMethod, beforeMethod, createMethodStatement
public static final MainServletClassTestRule INSTANCE
public static com.liferay.portal.internal.servlet.MainServlet getMainServlet()
public void afterClass(org.junit.runner.Description description, Void v) throws com.liferay.portal.kernel.exception.PortalException
afterClass
in class com.liferay.portal.kernel.test.rule.AbstractTestRule<Void,Void>
com.liferay.portal.kernel.exception.PortalException
public Void beforeClass(org.junit.runner.Description description)
beforeClass
in class com.liferay.portal.kernel.test.rule.AbstractTestRule<Void,Void>