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