com.liferay.portal.test.rule
Class PACLTestRule
java.lang.Object
com.liferay.portal.test.rule.PACLTestRule
- All Implemented Interfaces:
- org.junit.rules.TestRule
public class PACLTestRule
- extends Object
- implements org.junit.rules.TestRule
|
Method Summary |
protected void |
afterClass(org.junit.runner.Description description,
HotDeployEvent hotDeployEvent,
com.liferay.portal.spring.context.PortletContextLoaderListener portletContextLoaderListener)
|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement statement,
org.junit.runner.Description description)
|
protected HotDeployEvent |
beforeClass(org.junit.runner.Description description,
com.liferay.portal.spring.context.PortletContextLoaderListener portletContextLoaderListener)
|
protected HotDeployEvent |
getHotDeployEvent(javax.servlet.ServletContext servletContext,
ClassLoader classLoader)
|
protected void |
invokeStatement(org.junit.runners.model.Statement statement,
org.junit.runner.Description description)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE_PATH
public static final String RESOURCE_PATH
- See Also:
- Constant Field Values
PACLTestRule
public PACLTestRule()
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement statement,
org.junit.runner.Description description)
- Specified by:
apply in interface org.junit.rules.TestRule
afterClass
protected void afterClass(org.junit.runner.Description description,
HotDeployEvent hotDeployEvent,
com.liferay.portal.spring.context.PortletContextLoaderListener portletContextLoaderListener)
beforeClass
protected HotDeployEvent beforeClass(org.junit.runner.Description description,
com.liferay.portal.spring.context.PortletContextLoaderListener portletContextLoaderListener)
throws ReflectiveOperationException
- Throws:
ReflectiveOperationException
getHotDeployEvent
protected HotDeployEvent getHotDeployEvent(javax.servlet.ServletContext servletContext,
ClassLoader classLoader)
invokeStatement
protected void invokeStatement(org.junit.runners.model.Statement statement,
org.junit.runner.Description description)
throws Throwable
- Throws:
Throwable