public class PermissionCheckerMethodTestRule
extends com.liferay.portal.kernel.test.rule.MethodTestRule<Void>
Modifier and Type | Field and Description |
---|---|
static PermissionCheckerMethodTestRule |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
afterMethod(org.junit.runner.Description description,
Void c,
Object target) |
Void |
beforeMethod(org.junit.runner.Description description,
Object target) |
protected void |
setUpPermissionThreadLocal() |
protected void |
setUpPrincipalThreadLocal() |
afterClass, beforeClass, createClassStatement
public static final PermissionCheckerMethodTestRule INSTANCE
public void afterMethod(org.junit.runner.Description description, Void c, Object target) throws Throwable
afterMethod
in class com.liferay.portal.kernel.test.rule.AbstractTestRule<Void,Void>
Throwable
public Void beforeMethod(org.junit.runner.Description description, Object target) throws Exception
beforeMethod
in class com.liferay.portal.kernel.test.rule.AbstractTestRule<Void,Void>
Exception
protected void setUpPermissionThreadLocal() throws Exception
Exception
protected void setUpPrincipalThreadLocal() throws Exception
Exception