|
||||||||||
| 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.DbCachingLoadAndOperateTest
public class DbCachingLoadAndOperateTest
Tests that DbCaching directories can still function while a synchronisation is occurring. The synchronisation is assumed to take a longer time (at the moment approx. 4 mins) than the tests takes to run, otherwise the test will fail and an even bigger synchronisation task would have to be performed.
| 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 | |
|---|---|
DbCachingLoadAndOperateTest()
|
|
| Method Summary | |
|---|---|
void |
setUp()
|
void |
tearDown()
|
void |
testOperationsDuringSync()
Tests that Crowd still functions properly during a directory sync. |
| Methods inherited from class com.atlassian.crowd.acceptance.utils.AbstractDbCachingLoadTest |
|---|
assertUsersAndGroupsFromOUNotPresent, assertUsersAndGroupsFromOUPresent, createGroupName, createLoadTestingDirectory, createUserName, getConnectorType, isSynchronising, parsePrettyDurationToSeconds, 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 DbCachingLoadAndOperateTest()
| Method Detail |
|---|
public void setUp()
throws java.lang.Exception
setUp in class AbstractDbCachingLoadTestjava.lang.Exception
public void tearDown()
throws java.lang.Exception
tearDown in class CrowdAcceptanceTestCasejava.lang.Exception
public void testOperationsDuringSync()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||