|
||||||||||
| 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.utils.AbstractDbCachingLoadTest
com.atlassian.crowd.acceptance.tests.directory.DbCachingLoadMutationTest
public class DbCachingLoadMutationTest
Tests will create and remove users/groups/memberships in the base of the test OU in order to test sync performance if there has been changes made to the LDAP directory. The tests will leave the LDAP directory 'as is' (ie. the LDAP directory will be back in its original state since any users/groups added will have been removed)
| Field Summary |
|---|
| Fields inherited from class com.atlassian.crowd.acceptance.utils.AbstractDbCachingLoadTest |
|---|
CHILD_OU_A, CHILD_OU_B, CHILD_OU_C, CHILD_OU_D, CONNECTOR_BASEDN, CONNECTOR_CLASSNAME, CONNECTOR_DIRECTORY_NAME, CONNECTOR_NESTEDGROUPS, CONNECTOR_PAGEDRESULTS, CONNECTOR_PAGEDRESULTSSIZE, CONNECTOR_REFERRAL, CONNECTOR_SECURE, CONNECTOR_URL, CONNECTOR_USERDN, CONNECTOR_USERPW, MEMBERSHIPS_COUNT, ONE_MINUTE_IN_MILLIS, PARTIAL_GROUPNAME, PARTIAL_USERNAME |
| 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 | |
|---|---|
DbCachingLoadMutationTest()
|
|
| Method Summary | |
|---|---|
void |
setUp()
|
void |
tearDown()
|
void |
testLargeMutations()
|
void |
testSmallMutations()
|
| Methods inherited from class com.atlassian.crowd.acceptance.utils.AbstractDbCachingLoadTest |
|---|
assertUsersAndGroupsFromOUNotPresent, assertUsersAndGroupsFromOUPresent, createGroupName, createLoadTestingDirectory, createUserName, getConnectorType, synchroniseDirectory, waitForExistingSyncToFinish |
| 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 DbCachingLoadMutationTest()
| Method Detail |
|---|
public void setUp()
throws java.lang.Exception
setUp in class CrowdAcceptanceTestCasejava.lang.Exception
public void tearDown()
throws java.lang.Exception
tearDown in class CrowdAcceptanceTestCasejava.lang.Exception
public void testLargeMutations()
throws java.lang.InterruptedException
java.lang.InterruptedException
public void testSmallMutations()
throws java.lang.InterruptedException
java.lang.InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||