Liferay 7.0-ce-b4

com.liferay.portal.test.rule
Class PACLTestRule

java.lang.Object
  extended by com.liferay.portal.test.rule.PACLTestRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class PACLTestRule
extends Object
implements org.junit.rules.TestRule


Field Summary
static String RESOURCE_PATH
           
 
Constructor Summary
PACLTestRule()
           
 
Method Summary
protected  void afterClass(org.junit.runner.Description description, HotDeployEvent hotDeployEvent, 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, 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
 

Field Detail

RESOURCE_PATH

public static final String RESOURCE_PATH
See Also:
Constant Field Values
Constructor Detail

PACLTestRule

public PACLTestRule()
Method Detail

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,
                          PortletContextLoaderListener portletContextLoaderListener)

beforeClass

protected HotDeployEvent beforeClass(org.junit.runner.Description description,
                                     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

Liferay 7.0-ce-b4