public class DefaultPermissionEnforcerTest extends Object
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.ExpectedException |
thrown |
| Constructor and Description |
|---|
DefaultPermissionEnforcerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
testEnforceAdminThrowsIfNotAdmin() |
void |
testEnforceAdminThrowsIfNotAuthenticated() |
void |
testEnforceAdminWithAdminPermission() |
void |
testEnforceAuthenticatedThrowsIfNotAuthenticated() |
void |
testEnforceAuthenticatedWhenAuthenticated() |
void |
testEnforceSystemAdminThrowsIfNotAuthenticated() |
void |
testEnforceSystemAdminThrowsIfNotSystemAdmin() |
void |
testEnforceSystemAdminWithSystemAdminPermission() |
void |
testIsAdminIfNotAdmin() |
void |
testIsAdminIfNotAuthenticated() |
void |
testIsAdminWithAdminPermission() |
void |
testIsAuthenticatedWhenAuthenticated() |
void |
testIsAuthenticatedWhenNotAuthenticated() |
void |
testIsSystemAdminIfNotAdmin() |
void |
testIsSystemAdminIfNotAuthenticated() |
void |
testIsSystemAdminWithSystemAdminPermission() |
public void setup()
public void testEnforceAdminWithAdminPermission()
public void testEnforceAdminThrowsIfNotAdmin()
public void testEnforceAdminThrowsIfNotAuthenticated()
public void testEnforceAuthenticatedWhenAuthenticated()
public void testEnforceAuthenticatedThrowsIfNotAuthenticated()
public void testEnforceSystemAdminWithSystemAdminPermission()
public void testEnforceSystemAdminThrowsIfNotSystemAdmin()
public void testEnforceSystemAdminThrowsIfNotAuthenticated()
public void testIsAdminWithAdminPermission()
public void testIsAdminIfNotAdmin()
public void testIsAdminIfNotAuthenticated()
public void testIsAuthenticatedWhenAuthenticated()
public void testIsAuthenticatedWhenNotAuthenticated()
public void testIsSystemAdminWithSystemAdminPermission()
public void testIsSystemAdminIfNotAdmin()
public void testIsSystemAdminIfNotAuthenticated()
Copyright © 2018 Atlassian. All rights reserved.