|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.atlassian.crowd.acceptance.utils.CrowdWebTestCase
com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdAcceptanceTestCase
com.atlassian.crowd.acceptance.tests.applications.crowd.DirectoryAmalgamationTest
public class DirectoryAmalgamationTest
Tests the directory amalgamation logic.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdAcceptanceTestCase |
|---|
ADMIN_EMAIL, ADMIN_FULL_NAME, ADMIN_GROUP, ADMIN_PW, ADMIN_USER, CONSOLE_PORT, CONTEXT_PATH, DEVELOPER_LICENSE_KEY, EXPIRED_MAINTENANCE_KEY, HOST, HOST_PATH, logger, specProperties, UNLIMITED_LICENSE_KEY, URL_HOME, WAR_PATH, WORKGROUP_LICENSE_KEY |
| Fields inherited from class com.atlassian.crowd.acceptance.utils.CrowdWebTestCase |
|---|
tester |
| Constructor Summary | |
|---|---|
DirectoryAmalgamationTest()
|
|
| Method Summary | |
|---|---|
void |
setUp()
|
void |
testDirectGroupMembershipAmalgamation()
Tests that retrieving the direct memberships of user occurs only in the directory the user is found in (i.e. |
void |
testDirectUserMembersAmalgamation()
Tests that retrieving the direct user members of a group amalgamates across all the directories (not just one). |
void |
testIsUserDirectGroupMember()
Tests that determining the direct group membership of a user is only performed in the directory the user is first found in. |
void |
testIsUserNestedGroupMember()
Tests that determining the nested group membership of a user is only performed in the directory the user is first found in. |
void |
testNestedGroupMembershipAmalgamation()
Tests that retrieving the nested memberships of user occurs only in the directory the user is found in (i.e. |
void |
testNestedUserMembersAmalgamation()
Tests that retrieving the nested user members of a group amalgamates across all the directories (not just one). |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DirectoryAmalgamationTest()
| Method Detail |
|---|
public void setUp()
throws java.lang.Exception
setUp in class CrowdAcceptanceTestCasejava.lang.Exception
public void testDirectGroupMembershipAmalgamation()
throws java.lang.Exception
java.lang.Exception
public void testNestedGroupMembershipAmalgamation()
throws java.lang.Exception
java.lang.Exception
public void testDirectUserMembersAmalgamation()
throws java.lang.Exception
java.lang.Exception
public void testNestedUserMembersAmalgamation()
throws java.lang.Exception
java.lang.Exception
public void testIsUserDirectGroupMember()
throws java.lang.Exception
java.lang.Exception
public void testIsUserNestedGroupMember()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||