com.atlassian.crowd.acceptance.tests.directory
Class RemoteCrowdDirectoryTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.atlassian.crowd.acceptance.utils.CrowdWebTestCase
com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdAcceptanceTestCase
com.atlassian.crowd.acceptance.tests.directory.RemoteCrowdDirectoryTest
- All Implemented Interfaces:
- junit.framework.Test
public class RemoteCrowdDirectoryTest
- extends CrowdAcceptanceTestCase
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 |
Methods inherited from class com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdAcceptanceTestCase |
_getTestProperty, _loginAdminUser, _loginAsUser, _logout, addRole, assertUserInTable, assertUserInTable, assertUserNotInTable, getBaseUrl, getCrowdApplicationPassword, getCrowdContext, getCrowdHome, getText, gotoAddApplication, gotoAddGroup, gotoAddPrincipal, gotoAddRole, gotoBackup, gotoBrowseApplications, gotoBrowseDirectories, gotoBrowseGroups, gotoBrowseGroups, gotoBrowsePrincipals, gotoBrowsePrincipals, gotoBrowseRoles, gotoCreateDirectory, gotoCurrentApplicationSessions, gotoCurrentPrincipalSessions, gotoGeneral, gotoImporters, gotoLdapConnectionPool, gotoLicensing, gotoLoggingProfiling, gotoMailServer, gotoMailTemplate, gotoRemovePrincipal, gotoRestore, gotoSAMLConfig, gotoSessionConfig, gotoSystemInfo, gotoTrustedProxies, gotoViewApplication, gotoViewGroup, gotoViewPrincipal, gotoViewRole, log, restoreBaseSetup, restoreCrowdFromXML, restoreCrowdFromXMLWithoutReloggingIn, restoreCrowdFromXMLWithoutReloggingIn, tearDown |
Methods inherited from class com.atlassian.crowd.acceptance.utils.CrowdWebTestCase |
addRequestHeader, assertButtonNotPresent, assertButtonNotPresentWithText, assertButtonPresent, assertButtonPresentWithText, assertCheckboxNotPresent, assertCheckboxNotPresent, assertCheckboxNotSelected, assertCheckboxNotSelected, assertCheckboxPresent, assertCheckboxPresent, assertCheckboxSelected, assertCheckboxSelected, assertCookiePresent, assertCookieValueEquals, assertCookieValueMatch, assertDownloadedFileEquals, assertElementNotPresent, assertElementNotPresentByXPath, assertElementPresent, assertElementPresentByXPath, assertErrorNotPresent, assertErrorPresent, assertErrorPresentWithKey, assertErrorPresentWithText, assertFormElementEmpty, assertFormElementEquals, assertFormElementMatch, assertFormElementNotPresent, assertFormElementPresent, assertFormNotPresent, assertFormNotPresent, assertFormPresent, assertFormPresent, assertFramePresent, assertHiddenFieldPresent, assertKeyInTable, assertKeyNotInTable, assertKeyNotPresent, assertKeyPresent, assertKeyPresent, assertKeysInTable, assertLinkNotPresent, assertLinkNotPresentWithExactText, assertLinkNotPresentWithExactText, assertLinkNotPresentWithImage, assertLinkNotPresentWithText, assertLinkNotPresentWithText, assertLinkPresent, assertLinkPresentWithExactText, assertLinkPresentWithExactText, assertLinkPresentWithImage, assertLinkPresentWithKey, assertLinkPresentWithText, assertLinkPresentWithText, assertMatch, assertMatchInElement, assertMatchInTable, assertMatchInTable, assertNoMatch, assertNoMatchInElement, assertNoMatchInTable, assertNoMatchInTable, assertRadioOptionNotPresent, assertRadioOptionNotSelected, assertRadioOptionPresent, assertRadioOptionSelected, assertResetButtonNotPresent, assertResetButtonNotPresent, assertResetButtonPresent, assertResetButtonPresent, assertSelectedOptionEquals, assertSelectedOptionMatches, assertSelectedOptionsEqual, assertSelectedOptionsMatch, assertSelectedOptionValueEquals, assertSelectedOptionValuesEqual, assertSelectOptionNotPresent, assertSelectOptionPresent, assertSelectOptionsEqual, assertSelectOptionsNotEqual, assertSelectOptionsPresent, assertSelectOptionValueNotPresent, assertSelectOptionValuePresent, assertSelectOptionValuesEqual, assertSelectOptionValuesNotEqual, assertSelectOptionValuesPresent, assertServerResponseContains, assertServerResponseDoesNotContain, assertSubmitButtonNotPresent, assertSubmitButtonNotPresent, assertSubmitButtonPresent, assertSubmitButtonPresent, assertSubmitButtonPresent, assertTableEquals, assertTableEquals, assertTableMatch, assertTableMatch, assertTableNotPresent, assertTablePresent, assertTableRowCountEquals, assertTableRowsEqual, assertTableRowsEqual, assertTableRowsMatch, assertTableRowsMatch, assertTextFieldEquals, assertTextInElement, assertTextInTable, assertTextInTable, assertTextNotInElement, assertTextNotInTable, assertTextNotInTable, assertTextNotPresent, assertTextPresent, assertTextPresent, assertTitleEquals, assertTitleEqualsKey, assertTitleMatch, assertWarningAndErrorNotPresent, assertWarningNotPresent, assertWarningPresent, assertWarningPresentWithKey, assertWarningPresentWithText, assertWindowCountEquals, assertWindowPresent, assertWindowPresent, assertWindowPresentWithTitle, beginAt, checkCheckbox, checkCheckbox, clickButton, clickButtonWithText, clickElementByXPath, clickLink, clickLinkWithExactText, clickLinkWithExactText, clickLinkWithImage, clickLinkWithKey, clickLinkWithText, clickLinkWithText, clickRadioOption, closeBrowser, closeWindow, dumpCookies, dumpHtml, dumpHtml, dumpTable, dumpTable, getDialog, getElementAttributeByXPath, getElementTextById, getElementTextByXPath, getFormElementValue, getMessage, getPageSource, getPageText, getServerResponse, getTable, getTestContext, getTester, getTestingEngineKey, gotoFrame, gotoPage, gotoRootWindow, gotoWindow, gotoWindow, gotoWindowByTitle, isTextPresent, reset, runBare, saveAs, selectOption, selectOptionByValue, selectOptions, selectOptionsByValues, setDialog, setExpectedJavaScriptAlert, setExpectedJavaScriptAlert, setExpectedJavaScriptConfirm, setExpectedJavaScriptConfirm, setExpectedJavaScriptPrompt, setExpectedJavaScriptPrompt, setFormElement, setRadioButton, setScriptingEnabled, setTestContext, setTester, setTestingEngineKey, setTextField, setWorkingForm, setWorkingForm, setWorkingForm, submit, submit, submit, uncheckCheckbox, uncheckCheckbox, waitForText, waitForText |
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 |
RemoteCrowdDirectoryTest
public RemoteCrowdDirectoryTest()
setUp
public void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class CrowdAcceptanceTestCase
- Throws:
java.lang.Exception
testConnection
public void testConnection()
throws OperationFailedException
- Throws:
OperationFailedException
testInvalidConnections
public void testInvalidConnections()
throws OperationFailedException
- Throws:
OperationFailedException
testFindUserByName
public void testFindUserByName()
throws OperationFailedException
- Throws:
OperationFailedException
testFindUserByNameNotFound
public void testFindUserByNameNotFound()
throws OperationFailedException
- Throws:
OperationFailedException
testFindUserWithAttributesByName
public void testFindUserWithAttributesByName()
throws OperationFailedException
- Throws:
OperationFailedException
testFindUserWithAttributesByNameNotFound
public void testFindUserWithAttributesByNameNotFound()
throws OperationFailedException
- Throws:
OperationFailedException
testAddUser
public void testAddUser()
throws OperationFailedException
- Throws:
OperationFailedException
testAddUserNoPassword
public void testAddUserNoPassword()
throws OperationFailedException
- Throws:
OperationFailedException
testAddUserDuplicate
public void testAddUserDuplicate()
throws OperationFailedException
- Throws:
OperationFailedException
testUpdateUser
public void testUpdateUser()
throws OperationFailedException
- Throws:
OperationFailedException
testUpdateUserNotFound
public void testUpdateUserNotFound()
throws OperationFailedException
- Throws:
OperationFailedException
testRemoveUser
public void testRemoveUser()
throws OperationFailedException
- Throws:
OperationFailedException
testRemoveUserBadUser
public void testRemoveUserBadUser()
throws OperationFailedException
- Throws:
OperationFailedException
testAuthenticate
public void testAuthenticate()
throws OperationFailedException
- Throws:
OperationFailedException
testAuthenticateBadPassword
public void testAuthenticateBadPassword()
throws OperationFailedException
- Throws:
OperationFailedException
testAuthenticateNoUser
public void testAuthenticateNoUser()
throws OperationFailedException
- Throws:
OperationFailedException
testUpdateUserPassword
public void testUpdateUserPassword()
throws OperationFailedException
- Throws:
OperationFailedException
testStoreUserAttributes
public void testStoreUserAttributes()
throws OperationFailedException
- Throws:
OperationFailedException
testStoreUserAttributesEmptySet
public void testStoreUserAttributesEmptySet()
throws OperationFailedException
- Throws:
OperationFailedException
testStoreUserAttributesBadUser
public void testStoreUserAttributesBadUser()
throws OperationFailedException
- Throws:
OperationFailedException
testRemoveUserAttributes
public void testRemoveUserAttributes()
throws OperationFailedException
- Throws:
OperationFailedException
testRemoveUserAttributesBadUser
public void testRemoveUserAttributesBadUser()
throws OperationFailedException
- Throws:
OperationFailedException
testRemoveUserAttributesBadAttribute
public void testRemoveUserAttributesBadAttribute()
throws OperationFailedException
- Throws:
OperationFailedException
testFindGroupByName
public void testFindGroupByName()
throws OperationFailedException
- Throws:
OperationFailedException
testFindGroupByNameNotFound
public void testFindGroupByNameNotFound()
throws OperationFailedException
- Throws:
OperationFailedException
testFindGroupWithAttributesByName
public void testFindGroupWithAttributesByName()
throws OperationFailedException
- Throws:
OperationFailedException
testFindGroupWithAttributesByNameNotFound
public void testFindGroupWithAttributesByNameNotFound()
throws OperationFailedException
- Throws:
OperationFailedException
testAddGroup
public void testAddGroup()
throws OperationFailedException
- Throws:
OperationFailedException
testAddGroupDuplicate
public void testAddGroupDuplicate()
throws OperationFailedException
- Throws:
OperationFailedException
testUpdateGroup
public void testUpdateGroup()
throws OperationFailedException
- Throws:
OperationFailedException
testUpdateGroupNotFound
public void testUpdateGroupNotFound()
throws OperationFailedException
- Throws:
OperationFailedException
testRemoveGroup
public void testRemoveGroup()
throws OperationFailedException
- Throws:
OperationFailedException
testRemoveGroupBadGroup
public void testRemoveGroupBadGroup()
throws OperationFailedException
- Throws:
OperationFailedException
testStoreGroupAttributes
public void testStoreGroupAttributes()
throws OperationFailedException
- Throws:
OperationFailedException
testStoreGroupAttributesEmptySet
public void testStoreGroupAttributesEmptySet()
throws OperationFailedException
- Throws:
OperationFailedException
testStoreGroupAttributesBadGroup
public void testStoreGroupAttributesBadGroup()
throws OperationFailedException
- Throws:
OperationFailedException
testRemoveGroupAttributes
public void testRemoveGroupAttributes()
throws OperationFailedException
- Throws:
OperationFailedException
testRemoveGroupAttributesBadGroup
public void testRemoveGroupAttributesBadGroup()
throws OperationFailedException
- Throws:
OperationFailedException
testRemoveGroupAttributesBadAttribute
public void testRemoveGroupAttributesBadAttribute()
throws OperationFailedException
- Throws:
OperationFailedException
testIsUserDirectMemberOfGroup
public void testIsUserDirectMemberOfGroup()
throws OperationFailedException
- Throws:
OperationFailedException
testAddUserToGroup
public void testAddUserToGroup()
throws OperationFailedException
- Throws:
OperationFailedException
testAddUserToGroupDuplicate
public void testAddUserToGroupDuplicate()
throws OperationFailedException
- Throws:
OperationFailedException
testAddUserToGroupBadGroup
public void testAddUserToGroupBadGroup()
throws OperationFailedException
- Throws:
OperationFailedException
testAddUserToGroupBadUser
public void testAddUserToGroupBadUser()
throws OperationFailedException
- Throws:
OperationFailedException
testIsGroupDirectMemberOfGroup
public void testIsGroupDirectMemberOfGroup()
throws OperationFailedException
- Throws:
OperationFailedException
testAddGroupToGroup
public void testAddGroupToGroup()
throws OperationFailedException
- Throws:
OperationFailedException
testAddGroupToGroupDuplicate
public void testAddGroupToGroupDuplicate()
throws OperationFailedException
- Throws:
OperationFailedException
testAddGroupToGroupBadParent
public void testAddGroupToGroupBadParent()
throws OperationFailedException
- Throws:
OperationFailedException
testAddGroupToGroupBadChild
public void testAddGroupToGroupBadChild()
throws OperationFailedException
- Throws:
OperationFailedException
testRemoveUserFromGroup
public void testRemoveUserFromGroup()
throws OperationFailedException
- Throws:
OperationFailedException
testRemoveUserFromGroupBadUser
public void testRemoveUserFromGroupBadUser()
throws OperationFailedException
- Throws:
OperationFailedException
testRemoveUserFromGroupBadGroup
public void testRemoveUserFromGroupBadGroup()
throws OperationFailedException
- Throws:
OperationFailedException
testRemoveGroupFromGroup
public void testRemoveGroupFromGroup()
throws OperationFailedException
- Throws:
OperationFailedException
testRemoveGroupFromGroupBadParent
public void testRemoveGroupFromGroupBadParent()
throws OperationFailedException
- Throws:
OperationFailedException
testRemoveGroupFromGroupBadChild
public void testRemoveGroupFromGroupBadChild()
throws OperationFailedException
- Throws:
OperationFailedException
testSearchAllUsers
public void testSearchAllUsers()
throws OperationFailedException
- Throws:
OperationFailedException
testSearchAllUserNames
public void testSearchAllUserNames()
throws OperationFailedException
- Throws:
OperationFailedException
testSearchUsers_EmailRestriction
public void testSearchUsers_EmailRestriction()
throws OperationFailedException
- Throws:
OperationFailedException
testSearchAllGroups
public void testSearchAllGroups()
throws OperationFailedException
- Throws:
OperationFailedException
testSearchAllGroupNames
public void testSearchAllGroupNames()
throws OperationFailedException
- Throws:
OperationFailedException
testSearchGroups_NameRestriction
public void testSearchGroups_NameRestriction()
throws OperationFailedException
- Throws:
OperationFailedException
testGetUserMembersOfGroup
public void testGetUserMembersOfGroup()
throws OperationFailedException
- Throws:
OperationFailedException
testGetUserNameMembersOfGroup
public void testGetUserNameMembersOfGroup()
throws OperationFailedException
- Throws:
OperationFailedException
testGetGroupMembersOfGroup
public void testGetGroupMembersOfGroup()
throws OperationFailedException
- Throws:
OperationFailedException
testGetGroupNameMembersOfGroup
public void testGetGroupNameMembersOfGroup()
throws OperationFailedException
- Throws:
OperationFailedException
testGroupMembershipsForUser
public void testGroupMembershipsForUser()
throws OperationFailedException
- Throws:
OperationFailedException
testGroupNameMembershipsForUser
public void testGroupNameMembershipsForUser()
throws OperationFailedException
- Throws:
OperationFailedException
testGroupMembershipsForGroup
public void testGroupMembershipsForGroup()
throws OperationFailedException
- Throws:
OperationFailedException
testGroupNameMembershipsForGroup
public void testGroupNameMembershipsForGroup()
throws OperationFailedException
- Throws:
OperationFailedException
Copyright © 2010 Atlassian. All Rights Reserved.