|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Unit tests for AuthorizeTools.
Constructor Summary | |
AuthorizeToolsTests()
|
Method Summary | |
---|---|
void |
assertSameContents(def c1, def c2)
Check that two collections contain the same data, independent of collection class and order. |
void |
testAuthoritiesToRoles()
Test authoritiesToRoles(). |
void |
testAuthoritiesToRolesNullAuthority()
Test authoritiesToRoles() when there is an authority with a null string. |
void |
testGetPrincipalAuthorities()
Test getPrincipalAuthorities(). |
void |
testGetPrincipalAuthoritiesNoAuth()
Test getPrincipalAuthorities() when not authenticated. |
void |
testGetPrincipalAuthoritiesNoRoles()
Test getPrincipalAuthorities() when not authenticated. |
void |
testParseAuthoritiesString()
Test parseAuthoritiesString(). |
void |
testRetainAll()
Test retainAll(). |
void |
testRolesToAuthorities()
Test rolesToAuthorities(). |
Constructor Detail |
---|
AuthorizeToolsTests()
Method Detail |
---|
void assertSameContents(def c1, def c2)
void testAuthoritiesToRoles()
void testAuthoritiesToRolesNullAuthority()
void testGetPrincipalAuthorities()
void testGetPrincipalAuthoritiesNoAuth()
void testGetPrincipalAuthoritiesNoRoles()
void testParseAuthoritiesString()
void testRetainAll()
void testRolesToAuthorities()