Package com.liferay.portal.test.rule
Class PermissionCheckerMethodTestRule
Object
com.liferay.portal.kernel.test.rule.AbstractTestRule<Void,M>
com.liferay.portal.kernel.test.rule.MethodTestRule<Void>
com.liferay.portal.test.rule.PermissionCheckerMethodTestRule
- All Implemented Interfaces:
org.junit.rules.TestRule
- Author:
- Tom Wang
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidafterMethod(org.junit.runner.Description description, Void c, Object target) beforeMethod(org.junit.runner.Description description, Object target) protected voidprotected voidMethods inherited from class com.liferay.portal.kernel.test.rule.MethodTestRule
afterClass, beforeClass, createClassStatementMethods inherited from class com.liferay.portal.kernel.test.rule.AbstractTestRule
apply, createMethodStatement
-
Field Details
-
INSTANCE
-
-
Method Details
-
afterMethod
public void afterMethod(org.junit.runner.Description description, Void c, Object target) throws Throwable - Specified by:
afterMethodin classAbstractTestRule<Void,Void> - Throws:
Throwable
-
beforeMethod
- Specified by:
beforeMethodin classAbstractTestRule<Void,Void> - Throws:
Exception
-
setUpPermissionThreadLocal
- Throws:
Exception
-
setUpPrincipalThreadLocal
- Throws:
Exception
-