@Deprecated
public class MainServletClassTestRule
extends com.liferay.portal.kernel.test.rule.ClassTestRule<Void>
Modifier and Type | Field and Description |
---|---|
static MainServletClassTestRule |
INSTANCE
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
MainServletClassTestRule()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterClass(org.junit.runner.Description description,
Void v)
Deprecated.
|
Void |
beforeClass(org.junit.runner.Description description)
Deprecated.
|
static com.liferay.portal.internal.servlet.MainServlet |
getMainServlet()
Deprecated.
|
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>