com.atlassian.confluence.rpc
Class UsersRpcAcceptanceTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.confluence.ThreadLocalWebTestCase
              extended by com.atlassian.confluence.AbstractAtlassianWebTestCase
                  extended by com.atlassian.confluence.AbstractConfluenceAcceptanceTest
                      extended by com.atlassian.confluence.rpc.AbstractRpcAcceptanceTest
                          extended by com.atlassian.confluence.rpc.UsersRpcAcceptanceTest
All Implemented Interfaces:
junit.framework.Test

public class UsersRpcAcceptanceTest
extends AbstractRpcAcceptanceTest


Field Summary
 
Fields inherited from class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
adminConsole, adminToken, ANONYMOUS_USER, BLOG_DATE_FORMAT, BROWSE_MENU_LINK_ID, CONFLUNECE_ADMIN_GROUP, CONFLUNECE_USERS_GROUP, context, filesToDelete, FUNCTEST_RPC_PLUGIN, log, logAdjuster, mailServices, RANDOM, rpc, SMTP_SUBJECT_PREFIX, TEST_ADMIN, TEST_ADMIN_EMAIL, TEST_ADMIN_FULLNAME, TEST_ADMIN_PASSWORD, TEST_ADMIN_USERNAME, TEST_GEN_EMAIL1, TEST_GEN_EMAIL2, TEST_GEN_FULLNAME1, TEST_GEN_FULLNAME2, TEST_GEN_PASSWORD1, TEST_GEN_PASSWORD2, TEST_GEN_USERNAME1, TEST_GEN_USERNAME2, TEST_GROUP1, TEST_PAGE, TEST_SPACE, TEST_SPACE2, TEST_USER1, TEST_USER2, TESTMAILSERVER_HOSTNAME, TESTMAILSERVER_NAME, TESTPAGE_COMMENT, TESTPAGE_CONTENT, TESTPAGE_TITLE, TESTSPACE_DESCRIPTION, TESTSPACE_KEY, TESTSPACE_TITLE, TESTSPACE2_DESCRIPTION, TESTSPACE2_KEY, TESTSPACE2_TITLE, testUser2Token, testUserToken, userHelper, VIEW_PERSONAL_SPACE_LINK, xmlrpc
 
Fields inherited from class com.atlassian.confluence.AbstractAtlassianWebTestCase
SITE_TITLE_SUFFIX, TITLE_SEPARATOR
 
Constructor Summary
UsersRpcAcceptanceTest()
           
 
Method Summary
 void testAddDuplicateUser()
           
 void testAddGroup()
           
 void testAddProfilePicture()
           
 void testAddProfilePictureNotPermitted()
           
 void testAddUser()
           
 void testAddUserAsUnpermittedUser()
           
 void testAddUserToGroup()
           
 void testAddUserToInvalidGroup()
           
 void testAddUserWithBlankFullName()
           
 void testAddUserWithBlankUserame()
           
 void testCanAddUserToConfluenceAdministratorsGroupAsSysAdmin()
           
 void testCanAddUserToGroupWithSysAdminPermissionAsSysAdmin()
           
 void testCannotAddUserToConfluenceAdministratorsGroupAsConfluenceAdmin()
           
 void testCannotAddUserToGroupWithSysAdminPermissionAsConfluenceAdmin()
           
 void testCannotRemoveGroupWithSysAdminPermissionAsConfluenceAdmin()
           
 void testCannotRemoveGroupWithSystemAdministratorPermissionsAsConfluenceAdmin()
           
 void testCannotRemoveUserFromConfluenceAdministratorsGroupAsConfluenceAdmin()
           
 void testCannotRemoveUserFromGroupWithSysAdminPermissionAsConfluenceAdmin()
           
 void testCannotRemoveUserWithSysAdminPermissionAsConfluenceAdmin()
           
 void testCanRemoveGroupWithSysAdminPermissionAsSysAdmin()
           
 void testCanRemoveUserFromConfluenceAdministratorsGroupAsSysAdmin()
           
 void testCanRemoveUserFromGroupWithSysAdminPermissionAsSysAdmin()
           
 void testCanRemoveUserWithSysAdminPermissionAsSysAdmin()
           
 void testChangeCurrentUserPassword()
           
 void testChangeCurrentUserPasswordWithIncorrectOldPassword()
           
 void testChangeCurrentUserPasswordWithNullNewPassword()
           
 void testChangeInvalidUserPassword()
           
 void testChangeUserPassword()
           
 void testChangeUserPasswordAsNonSuperUser()
           
 void testChangeUserPasswordAsUnpermittedUser()
           
 void testChangeUserPasswordWithNullPassword()
           
 void testDeactivateAlreadyDeactivatedUser()
           
 void testDeactivateInvalidUser()
           
 void testDeactivateUser()
           
 void testDeactivateUserAsUnpermittedUser()
           
 void testEditUser()
           
 void testEditUserAsUnpermittedUser()
           
 void testEditUserAsUser()
           
 void testEditUserName()
           
 void testEditUserNoDetails()
           
 void testGetActiveUsers()
           
 void testGetActiveUsersAsUnpermittedUser()
           
 void testGetAllUsers()
           
 void testGetAllUsersAsUnpermittedUser()
           
 void testGetGroups()
           
 void testGetInvalidUser()
           
 void testGetUser()
           
 void testGetUserGroups()
           
 void testGetUserGroupsAsUnpermittedUser()
           
 void testGetUserInformation()
           
 void testGetUserInformationAsTestUser()
           
 void testGroupMethods()
           
 void testHasGroup()
           
 void testHasGroupAsNonAdmin()
           
 void testHasGroupWithInvalidGroup()
           
 void testHasUser()
           
 void testHasUserAsNonAdmin()
           
 void testHasUserWithInvalidUser()
           
 void testReactivateInvalidUser()
           
 void testReactivateUser()
           
 void testReactivateUserAlreadyActiveUser()
           
 void testReactivateUserAsUnpermittedUser()
           
 void testRemoveAllPermissionsForGroup()
           
 void testRemoveAllPermissionsForInvalidGroup()
           
 void testRemoveGroup()
           
 void testRemoveGroupWithGlobalPermissions()
           
 void testRemoveGroupWithInvalidDefaultGroup()
           
 void testRemoveGroupWithSpacePermissions()
           
 void testRemoveInvalidGroup()
           
 void testRemoveUser()
           
 void testRemoveUserAsUnpermittedUser()
           
 void testRemoveUserFromGroup()
           
 void testRemoveUserFromInvalidGroup()
           
 void testRemoveUserWithAuthoredPage()
           
 void testSetUserInformation()
           
 void testSetUserInformationAsUnpermittedUser()
           
 void testSetUserInformationAsUser()
           
 void testSetUserInformationWithModifiedId()
           
 
Methods inherited from class com.atlassian.confluence.rpc.AbstractRpcAcceptanceTest
assertIsNotPermittedException, assertIsRemoteException
 
Methods inherited from class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
addAnonymousPermissionsToSpace, addComment, addCommentToBlogPost, addPageComment, addSpaceLabel, addUserToGroupViaHelper, addWatchPage, assertImagePresent, assertImageValid, assertLoggedInAs, assertMailReceived, assertNoMailReceived, attachFile, attachFile, attachFileWithName, chooseRandomBaseUrl, cleanUp, createBlog, createGroup, createGroupViaHelper, createMail, createPage, createPageWithViewRestrictions, createSpaceViaWebUi, createSpaceViaWebUI, createSpaceViaWebUI, createTemplate, createTestMailServer, createTestSpaceViaWebUI, createUserViaHelper, createUserViaHelper, disableAnonymousAccess, disableAnonymousAccessToSpace, editBlogLabels, editBlogPostContent, editPage, editPageContent, editPageContent, editPageLabels, editPageWithContent, editSpaceDescription, editSpacePermsForm, editUserViaHelper, emptyTrash, enableAnonymousAccess, enableAnonymousAccessToSpace, ensureTestUserCanViewTestSpace, ensureUserCanViewSpace, forceViewGlobalAdmin, generateBaseUrl, generateFile, getAppContext, getBaseUrl, getConfiguredBaseUrl, getCurrentMailQueueSize, getFriendlyRelativeDate, getPageId, getPluginHelper, getTestSpace, getTodaysBlogPostDate, getUserGroups, gotoPageWithError, grantAnonymousUseConfluencePermission, grantGlobalBrowsePermissionToGroup, grantGlobalPermissionToGroup, grantGlobalPermissionToUser, grantSpacePermissionToGroup, grantSpacePermissionToGroupAndDelegate, grantSpacePermissionToUser, grantSpacePermissionToUserAndDelegate, grantViewSpacePermissionToGroup, grantViewSpacePermissionToGroupAndDelegate, grantViewSpacePermissionToUser, importGlobalBackup, importGlobalBackup, importMail, importMailAndAssertNoRunningTask, importSpaceBackup, isClustered, logIn, logIn, logInAs, logInAs, loginAs, logInAsAdminAtDashboard, logInAsAtDashboard, loginAsAtDashboard, loginAsTestUser, loginAsTestUser2, loginAsTestUserAtDashboard, loginViaForm, logout, makeParams, movePage, movePage, movePageToNewParent, movePageToNewParent, movePageToNewSpace, openInsertImagePopup, openInsertLinkPopup, pause, pause, rebuildIndex, removeAnonymousPermissionToSpace, removeBlog, removeGroup, removePageOrBlogById, removePersonalSpace, removeTestUser1, removeTestUser1ViaHelper, removeUser, removeUserFromGroupViaHelper, removeUserViaHelper, renamePage, restoreBaseUrl, revokeAnonymousUseConfluencePermission, revokeGlobalPermissionFromGroup, revokeGlobalPermissionFromUser, revokeSpacePermissionFromGroup, revokeSpacePermissionFromUser, rpcAddComment, rpcAddComment, rpcAddComment, rpcAddLabelToBlog, rpcAddLabelToPage, rpcAddLabelToPage, rpcAddLabelToSpace, rpcAddTestComment, rpcClearIndex, rpcClearQueue, rpcConvertToPersonalSpace, rpcCreateBlogPost, rpcCreateBlogPost, rpcCreatePage, rpcCreatePage, rpcCreatePersonalSpace, rpcCreateSpace, rpcCreateSpace, rpcCreateSpaceGroup, rpcCreateTestSpace, rpcCreateTestSpace2, rpcEditBlogPost, rpcEditComment, rpcEditPage, rpcFlushAllCaches, rpcFlushIndexQueue, rpcFlushMailQueue, rpcGetAdminToken, rpcGetBlogPostId, rpcGetChildren, rpcGetComments, rpcGetLocalisedText, rpcGetMailQueueSize, rpcGetPageId, rpcGetPageLabels, rpcGetPageLabels, rpcGetTestUser2Token, rpcGetTestUserToken, rpcGetTopLevelPages, rpcGetUserGroups, rpcGetUsersForActivity, rpcGetUserToken, rpcGetUserToken, rpcGetVersionForPage, rpcGrantAnonymousSpacePermission, rpcGrantGlobalPermission, rpcGrantSpacePermission, rpcGrantViewSpacePermission, rpcHasGroup, rpcHasUser, rpclogCommandOutput, rpcLogOutAdmin, rpcMovePage, rpcMovePageToTopLevel, rpcPauseJob, rpcRemoveAllSpaceGroups, rpcRemoveAnonymousSpacePermission, rpcRemoveAttachment, rpcRemoveComment, rpcRemoveComment, rpcRemoveGlobalPermissions, rpcRemoveGroup, rpcRemoveLabelFromPage, rpcRemoveLabelFromPage, rpcRemoveLabelFromSpace, rpcRemovePage, rpcRemoveSpace, rpcRemoveSpacePermission, rpcRemoveUserUncleanly, rpcRenderContent, rpcRestoreAbstractPage, rpcResumeJob, rpcStartActivity, rpcStoreBlogEntry, rpcTrashPage, rpcTrashPage, rpcTrashPage, rpcTriggerJob, search, setAllowCamelCase, setApplicationConfigProperty, setAttachmentMaxUploadSize, setCheckbox, setEditPermissionsForGroups, setEditPermissionsForUsers, setElevatedSecurityCheck, setEnableWysiwyg, setMaxAttachmentsInUI, setPageLabels, setRemoteApi, setSharedMode, setThreadedComments, setUp, setUp, setUpTestNG, setViewPermissionsForGroups, setViewPermissionsForUsers, showAllUsers, shutdownQuartz, stopTestMailServer, stripContext, tearDown, tearDownTestNG, viewAbstractPage, viewBlog, viewEditBlogPostPage, viewGlobalAdmin, viewGlobalPermissions, viewHomepage, viewLabel, viewLanguages, viewPage, viewPeopleDirectory, viewSpaceAdmin, viewSpaceAdvanced, viewSpaceContent, viewSpacePermissions, viewSpaceSummary, viewSpaceSummary, viewTodaysBlog, viewTrash, viewUser, waitForLongRunningTaskToComplete, watchPage, watchSpace, watchSpace, xmlRpcExecute
 
Methods inherited from class com.atlassian.confluence.AbstractAtlassianWebTestCase
assertCollectionContainsKeyWithValue, assertContains, assertDoesNotContain, assertElementNotPresentByXPath, assertElementPresentByXPath, assertEndsWith, assertLinkNotPresentWithHrefContaining, assertLinkPresent, assertLinkPresentWithHref, assertLinkPresentWithHrefContaining, assertLinkPresentWithImage, assertLinkPresentWithText, assertLinkPresentWithTextAndHref, assertPageTitleEquals, assertServerResponseContains, assertServerResponseDoesNotContain, assertStartsWith, assertStatusCode, assertSubmitButtonNotPresent, assertTextInElement, assertTextNotPresent, assertTextPresent, assertTextsPresentInOrder, assertTextsPresentInOrder, assertTitleEquals, assertTitleEquals, clickLinkWithText, getGroupFromResponse, selectOptionByValue, setTextField
 
Methods inherited from class com.atlassian.confluence.ThreadLocalWebTestCase
assertButtonNotPresent, assertButtonNotPresentWithText, assertButtonPresent, assertButtonPresentWithText, assertCheckboxNotPresent, assertCheckboxNotPresent, assertCheckboxNotSelected, assertCheckboxNotSelected, assertCheckboxPresent, assertCheckboxPresent, assertCheckboxSelected, assertCheckboxSelected, assertCookiePresent, assertCookieValueEquals, assertCookieValueMatch, assertDownloadedFileEquals, assertElementNotPresent, assertElementPresent, assertFormElementEmpty, assertFormElementEquals, assertFormElementMatch, assertFormElementNotPresent, assertFormElementPresent, assertFormNotPresent, assertFormNotPresent, assertFormPresent, assertFormPresent, assertFramePresent, assertHiddenFieldPresent, assertImagePresent, assertImageValidAndStore, assertKeyInTable, assertKeyInTable, assertKeyNotInTable, assertKeyNotPresent, assertKeyNotPresent, assertKeyPresent, assertKeyPresent, assertKeysInTable, assertKeysInTable, assertLinkNotPresent, assertLinkNotPresentWithExactText, assertLinkNotPresentWithExactText, assertLinkNotPresentWithImage, assertLinkNotPresentWithText, assertLinkNotPresentWithText, assertLinkPresentWithExactText, assertLinkPresentWithExactText, 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, assertSubmitButtonNotPresent, assertSubmitButtonPresent, assertSubmitButtonPresent, assertSubmitButtonPresent, assertTableEquals, assertTableEquals, assertTableMatch, assertTableMatch, assertTableNotPresent, assertTablePresent, assertTableRowCountEquals, assertTableRowsEqual, assertTableRowsEqual, assertTableRowsMatch, assertTableRowsMatch, assertTextFieldEquals, assertTextInTable, assertTextInTable, assertTextNotInElement, assertTextNotInTable, assertTextNotInTable, assertTitleEqualsKey, assertTitleEqualsKey, assertTitleMatch, assertWindowCountEquals, assertWindowPresent, assertWindowPresent, assertWindowPresentWithTitle, beginAt, checkCheckbox, checkCheckbox, clickButton, clickButtonWithText, clickElementByXPath, clickLink, clickLinkWithExactText, clickLinkWithExactText, clickLinkWithImage, clickLinkWithText, clickRadioOption, closeBrowser, closeWindow, dumpCookies, dumpHtml, dumpHtml, dumpTable, dumpTable, getDialog, getElementAttributByXPath, getElementTextByXPath, getFormElementValue, getImage, getMessage, getMessage, getPageSource, getServeurResponse, getTable, getTestContext, getTester, getTestingEngineKey, gotoFrame, gotoPage, gotoRootWindow, gotoWindow, gotoWindow, gotoWindowByTitle, removeThreadLocal, reset, runBare, saveAs, selectOption, selectOptions, selectOptionsByValues, setDialog, setExpectedJavaScriptAlert, setExpectedJavaScriptAlert, setExpectedJavaScriptConfirm, setExpectedJavaScriptConfirm, setExpectedJavaScriptPrompt, setExpectedJavaScriptPrompt, setFormElement, setScriptingEnabled, setTestContext, setTester, setTestingEngineKey, setWorkingForm, setWorkingForm, setWorkingForm, submit, submit, submit, uncheckCheckbox, uncheckCheckbox
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UsersRpcAcceptanceTest

public UsersRpcAcceptanceTest()
Method Detail

testGetUser

public void testGetUser()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testGetInvalidUser

public void testGetInvalidUser()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testHasUser

public void testHasUser()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testHasUserAsNonAdmin

public void testHasUserAsNonAdmin()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testHasUserWithInvalidUser

public void testHasUserWithInvalidUser()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testAddUser

public void testAddUser()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testAddDuplicateUser

public void testAddDuplicateUser()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserAsUnpermittedUser

public void testAddUserAsUnpermittedUser()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserWithBlankUserame

public void testAddUserWithBlankUserame()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserWithBlankFullName

public void testAddUserWithBlankFullName()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveUser

public void testRemoveUser()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveUserAsUnpermittedUser

public void testRemoveUserAsUnpermittedUser()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testCanRemoveUserWithSysAdminPermissionAsSysAdmin

public void testCanRemoveUserWithSysAdminPermissionAsSysAdmin()
                                                       throws java.lang.Exception
Throws:
java.lang.Exception

testCannotRemoveUserWithSysAdminPermissionAsConfluenceAdmin

public void testCannotRemoveUserWithSysAdminPermissionAsConfluenceAdmin()
                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveUserWithAuthoredPage

public void testRemoveUserWithAuthoredPage()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testEditUser

public void testEditUser()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testEditUserName

public void testEditUserName()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testEditUserNoDetails

public void testEditUserNoDetails()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testAddProfilePicture

public void testAddProfilePicture()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testAddProfilePictureNotPermitted

public void testAddProfilePictureNotPermitted()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testEditUserAsUser

public void testEditUserAsUser()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testEditUserAsUnpermittedUser

public void testEditUserAsUnpermittedUser()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testDeactivateUser

public void testDeactivateUser()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testDeactivateInvalidUser

public void testDeactivateInvalidUser()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testDeactivateUserAsUnpermittedUser

public void testDeactivateUserAsUnpermittedUser()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testDeactivateAlreadyDeactivatedUser

public void testDeactivateAlreadyDeactivatedUser()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testReactivateUser

public void testReactivateUser()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testReactivateInvalidUser

public void testReactivateInvalidUser()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testReactivateUserAsUnpermittedUser

public void testReactivateUserAsUnpermittedUser()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testReactivateUserAlreadyActiveUser

public void testReactivateUserAlreadyActiveUser()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testGetActiveUsers

public void testGetActiveUsers()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testGetActiveUsersAsUnpermittedUser

public void testGetActiveUsersAsUnpermittedUser()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testGetAllUsers

public void testGetAllUsers()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testGetAllUsersAsUnpermittedUser

public void testGetAllUsersAsUnpermittedUser()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testChangeCurrentUserPassword

public void testChangeCurrentUserPassword()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testChangeCurrentUserPasswordWithIncorrectOldPassword

public void testChangeCurrentUserPasswordWithIncorrectOldPassword()
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

testChangeCurrentUserPasswordWithNullNewPassword

public void testChangeCurrentUserPasswordWithNullNewPassword()
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

testChangeUserPassword

public void testChangeUserPassword()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testChangeUserPasswordAsUnpermittedUser

public void testChangeUserPasswordAsUnpermittedUser()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testChangeUserPasswordWithNullPassword

public void testChangeUserPasswordWithNullPassword()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testChangeInvalidUserPassword

public void testChangeInvalidUserPassword()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testChangeUserPasswordAsNonSuperUser

public void testChangeUserPasswordAsNonSuperUser()
                                          throws java.io.IOException,
                                                 org.apache.xmlrpc.XmlRpcException
Throws:
java.io.IOException
org.apache.xmlrpc.XmlRpcException

testSetUserInformation

public void testSetUserInformation()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testSetUserInformationAsUser

public void testSetUserInformationAsUser()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testSetUserInformationAsUnpermittedUser

public void testSetUserInformationAsUnpermittedUser()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testSetUserInformationWithModifiedId

public void testSetUserInformationWithModifiedId()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testGetUserInformation

public void testGetUserInformation()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testGetUserInformationAsTestUser

public void testGetUserInformationAsTestUser()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testGetUserGroups

public void testGetUserGroups()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testGetUserGroupsAsUnpermittedUser

public void testGetUserGroupsAsUnpermittedUser()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testGetGroups

public void testGetGroups()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testHasGroup

public void testHasGroup()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testHasGroupAsNonAdmin

public void testHasGroupAsNonAdmin()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testHasGroupWithInvalidGroup

public void testHasGroupWithInvalidGroup()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testAddGroup

public void testAddGroup()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserToGroup

public void testAddUserToGroup()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testCanAddUserToGroupWithSysAdminPermissionAsSysAdmin

public void testCanAddUserToGroupWithSysAdminPermissionAsSysAdmin()
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

testCannotAddUserToGroupWithSysAdminPermissionAsConfluenceAdmin

public void testCannotAddUserToGroupWithSysAdminPermissionAsConfluenceAdmin()
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserToInvalidGroup

public void testAddUserToInvalidGroup()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveUserFromGroup

public void testRemoveUserFromGroup()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testCanRemoveUserFromGroupWithSysAdminPermissionAsSysAdmin

public void testCanRemoveUserFromGroupWithSysAdminPermissionAsSysAdmin()
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

testCannotRemoveUserFromGroupWithSysAdminPermissionAsConfluenceAdmin

public void testCannotRemoveUserFromGroupWithSysAdminPermissionAsConfluenceAdmin()
                                                                          throws java.lang.Exception
Throws:
java.lang.Exception

testCanAddUserToConfluenceAdministratorsGroupAsSysAdmin

public void testCanAddUserToConfluenceAdministratorsGroupAsSysAdmin()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testCannotAddUserToConfluenceAdministratorsGroupAsConfluenceAdmin

public void testCannotAddUserToConfluenceAdministratorsGroupAsConfluenceAdmin()
                                                                       throws java.lang.Exception
Throws:
java.lang.Exception

testCanRemoveUserFromConfluenceAdministratorsGroupAsSysAdmin

public void testCanRemoveUserFromConfluenceAdministratorsGroupAsSysAdmin()
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testCannotRemoveUserFromConfluenceAdministratorsGroupAsConfluenceAdmin

public void testCannotRemoveUserFromConfluenceAdministratorsGroupAsConfluenceAdmin()
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

testCannotRemoveGroupWithSystemAdministratorPermissionsAsConfluenceAdmin

public void testCannotRemoveGroupWithSystemAdministratorPermissionsAsConfluenceAdmin()

testRemoveUserFromInvalidGroup

public void testRemoveUserFromInvalidGroup()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testGroupMethods

public void testGroupMethods()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveGroup

public void testRemoveGroup()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveGroupWithGlobalPermissions

public void testRemoveGroupWithGlobalPermissions()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveGroupWithSpacePermissions

public void testRemoveGroupWithSpacePermissions()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testCanRemoveGroupWithSysAdminPermissionAsSysAdmin

public void testCanRemoveGroupWithSysAdminPermissionAsSysAdmin()
                                                        throws java.lang.Exception
Throws:
java.lang.Exception

testCannotRemoveGroupWithSysAdminPermissionAsConfluenceAdmin

public void testCannotRemoveGroupWithSysAdminPermissionAsConfluenceAdmin()
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveInvalidGroup

public void testRemoveInvalidGroup()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveGroupWithInvalidDefaultGroup

public void testRemoveGroupWithInvalidDefaultGroup()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveAllPermissionsForGroup

public void testRemoveAllPermissionsForGroup()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveAllPermissionsForInvalidGroup

public void testRemoveAllPermissionsForInvalidGroup()
                                             throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2003-2010 Atlassian. All Rights Reserved.