public class PermissionCheckerTestCallback
extends com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<java.lang.Void,java.lang.Void>
| Modifier and Type | Field and Description |
|---|---|
static PermissionCheckerTestCallback |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
afterMethod(org.junit.runner.Description description,
java.lang.Void c,
java.lang.Object target) |
java.lang.Void |
beforeMethod(org.junit.runner.Description description,
java.lang.Object target) |
protected void |
setUpPermissionThreadLocal() |
protected void |
setUpPrincipalThreadLocal() |
public static final PermissionCheckerTestCallback INSTANCE
public void afterMethod(org.junit.runner.Description description,
java.lang.Void c,
java.lang.Object target)
throws java.lang.Throwable
afterMethod in interface com.liferay.portal.kernel.test.rule.callback.TestCallback<java.lang.Void,java.lang.Void>afterMethod in class com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<java.lang.Void,java.lang.Void>java.lang.Throwablepublic java.lang.Void beforeMethod(org.junit.runner.Description description,
java.lang.Object target)
throws java.lang.Exception
beforeMethod in interface com.liferay.portal.kernel.test.rule.callback.TestCallback<java.lang.Void,java.lang.Void>beforeMethod in class com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<java.lang.Void,java.lang.Void>java.lang.Exceptionprotected void setUpPermissionThreadLocal()
throws java.lang.Exception
java.lang.Exceptionprotected void setUpPrincipalThreadLocal()
throws java.lang.Exception
java.lang.Exception