public class PermissionCheckerMethodTestRule extends MethodTestRule<java.lang.Void>
| Modifier and Type | Field and Description |
|---|---|
static PermissionCheckerMethodTestRule |
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() |
afterClass, beforeClass, createClassStatementapply, createMethodStatementpublic static final PermissionCheckerMethodTestRule INSTANCE
public void afterMethod(org.junit.runner.Description description,
java.lang.Void c,
java.lang.Object target)
throws java.lang.Throwable
afterMethod in class AbstractTestRule<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 class AbstractTestRule<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