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, CONFLUENCE_ADMIN_GROUP, CONFLUENCE_USERS_GROUP, context, CROWD_MODE, DIRECTORY_CONFIG, filesToDelete, log, logAdjuster, mailServices, RANDOM, rpc, SMTP_SUBJECT_PREFIX, TEST_ADMIN, TEST_ADMIN_EMAIL, TEST_ADMIN_FULLNAME, TEST_ADMIN_PASSWORD, TEST_ADMIN_USERNAME, TEST_BLOG, TEST_COMMENT, 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, TESTBLOG_CONTENT, TESTBLOG_TITLE, 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, wikiMarkupRpc, 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 testAddUserWithBlankEmail()
           
 void testAddUserWithBlankFullName()
           
 void testAddUserWithBlankUserame()
           
 void testCanAddUserToConfluenceAdministratorsGroupAsSysAdmin()
           
 void testCanAddUserToGroupWithSysAdminPermissionAsSysAdmin()
           
 void testCannotAddSelfToArbitraryGroupAsNonAdminUser()
           
 void testCannotAddSelfToConfAdminGroupAsNonAdminUser()
           
 void testCannotAddUserToConfluenceAdministratorsGroupAsConfluenceAdmin()
           
 void testCannotAddUserToGroupAsAnonymous()
           
 void testCannotAddUserToGroupWithSysAdminPermissionAsConfluenceAdmin()
           
 void testCannotRemoveConfluenceAdministratorsGroupAsConfluenceAdmin()
           
 void testCannotRemoveGroupAsAnonymous()
           
 void testCannotRemoveGroupAsNonAdmin()
           
 void testCannotRemoveGroupWithSysAdminPermissionAsConfluenceAdmin()
           
 void testCannotRemoveUserFromConfluenceAdministratorsGroupAsConfluenceAdmin()
           
 void testCannotRemoveUserFromGroupAsAnonymousUser()
           
 void testCannotRemoveUserFromGroupAsNonAdminUser()
           
 void testCannotRemoveUserFromGroupWithSysAdminPermissionAsConfluenceAdmin()
           
 void testCannotRemoveUserWithSysAdminPermissionAsConfluenceAdmin()
           
 void testCanRemoveGroupWithSysAdminPermissionAsSysAdmin()
           
 void testCanRemoveUserFromConfluenceAdministratorsGroupAsSysAdmin()
           
 void testCanRemoveUserFromGroupWithSysAdminPermissionAsSysAdmin()
           
 void testCanRemoveUserWithSysAdminPermissionAsSysAdmin()
           
 void testChangeCurrentUserPassword()
           
 void testChangeCurrentUserPasswordWithEmptyNewPassword()
           
 void testChangeCurrentUserPasswordWithIncorrectOldPassword()
           
 void testChangeInvalidUserPassword()
           
 void testChangeUserPassword()
           
 void testChangeUserPasswordAsNormalUser()
           
 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 testGetPreferenceBoolean()
           
 void testGetPreferenceBooleanNotPermitted()
           
 void testGetPreferenceLong()
           
 void testGetPreferenceLongNotPermitted()
           
 void testGetPreferenceString()
           
 void testGetPreferenceStringNotPermitted()
           
 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 testRemoveGroupMovesUsersToDefaultGroup()
           
 void testRemoveGroupWithGlobalPermissions()
           
 void testRemoveGroupWithInvalidDefaultGroup()
           
 void testRemoveGroupWithSpacePermissions()
           
 void testRemoveInvalidGroup()
           
 void testRemoveUser()
           
 void testRemoveUserAsUnpermittedUser()
           
 void testRemoveUserFromGroup()
           
 void testRemoveUserFromInvalidGroup()
           
 void testRemoveUserWithAuthoredPage()
           
 void testSetPreferenceBoolean()
           
 void testSetPreferenceBooleanNotPermitted()
           
 void testSetPreferenceLongNotPermitted()
           
 void testSetPreferenceString()
           
 void testSetPreferenceStringNotPermitted()
           
 void testSetUserInformation()
           
 void testSetUserInformationAsUnpermittedUser()
           
 void testSetUserInformationAsUser()
           
 void testSetUserInformationWithModifiedId()
           
 
Methods inherited from class com.atlassian.confluence.rpc.AbstractRpcAcceptanceTest
assertIsNotPermittedException, assertIsRemoteException, newRpcForUser
 
Methods inherited from class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
addAnonymousPermissionsToSpace, addComment, addCommentToBlogPost, addSpaceLabel, addUserToGroupViaHelper, addWatchPage, assertImagePresent, assertImageValid, assertLinkPresentWithExactTextAndClass, assertLoggedInAs, assertMailReceived, assertNoMailReceived, attachFile, attachFile, attachFileWithName, chooseRandomBaseUrl, createBlog, createBlogInTestSpace, createGroup, createGroupViaHelper, createMail, createPage, createPageWithViewRestrictions, createSpaceViaWebUI, createSpaceViaWebUI, createSpaceViaWebUI, createTemplate, createTestMailServer, createTestSpaceViaWebUI, createUserViaHelper, createUserViaHelper, disableAnonymousAccess, disableAnonymousAccessToSpace, editBlog, editBlogLabels, editPage, editPageContent, editPageContentViaForm, editPageWithContent, editSpaceDescription, editSpacePermsForm, enableAnonymousAccess, enableAnonymousAccessToSpace, ensureTestUserCanViewTestSpace, forceViewGlobalAdmin, generateBaseUrl, generateFile, getAppContext, getBaseUrl, getConfiguredBaseUrl, getCurrentMailQueueSize, getCurrentPageId, getFriendlyRelativeDate, getPageId, getPluginHelper, getTodaysBlogPostDate, 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, rebuildIndex, removeAnonymousPermissionToSpace, removeGroup, removePageLabel, removePageOrBlogById, removePersonalSpace, removeTestUser1, removeTestUser1ViaHelper, removeUser, removeUserFromGroupViaHelper, removeUserViaHelper, renamePage, revokeAnonymousUseConfluencePermission, revokeGlobalPermissionFromGroup, revokeGlobalPermissionFromUser, revokeSpacePermissionFromGroup, revokeSpacePermissionFromUser, rpcAddComment, rpcAddComment, rpcAddComment, rpcAddLabelToBlog, rpcAddLabelToPage, rpcAddLabelToPage, rpcAddLabelToSpace, rpcAddTestComment, rpcClearIndex, rpcClearQueue, rpcCreateBlogPost, rpcCreateBlogPost, rpcCreatePage, rpcCreatePage, rpcCreatePersonalSpace, rpcCreateSpace, rpcCreateSpace, rpcCreateSpaceGroup, rpcCreateTestSpace, rpcCreateTestSpace2, rpcCreateXhtmlPage, rpcEditBlogPost, rpcEditComment, rpcEditPage, rpcFlushAllCaches, rpcFlushIndexQueue, rpcFlushMailQueue, rpcGetAdminToken, rpcGetBlogPostId, rpcGetChildren, rpcGetComments, rpcGetLocalisedText, rpcGetMailQueueSize, rpcGetPageId, rpcGetPageLabels, rpcGetPageLabels, rpcGetTestUser2Token, rpcGetTestUserToken, rpcGetTopLevelPages, rpcGetUserGroups, rpcGetUserToken, rpcGetUserToken, rpcGetVersionForPage, rpcGrantAnonymousSpacePermission, rpcGrantGlobalPermission, rpcGrantSpacePermission, rpcGrantViewSpacePermission, rpcHasGroup, rpcHasUser, rpclogCommandOutput, rpcLogOut, rpcLogOutAdmin, rpcMovePage, rpcMovePageToTopLevel, rpcPauseJob, rpcRemoveAllSpaceGroups, rpcRemoveAnonymousSpacePermission, rpcRemoveAttachment, rpcRemoveComment, rpcRemoveComment, rpcRemoveGlobalPermissions, rpcRemoveGroup, rpcRemoveLabelFromPage, rpcRemoveLabelFromPage, rpcRemoveLabelFromSpace, rpcRemovePage, rpcRemoveSpace, rpcRemoveSpacePermission, rpcRenderContent, rpcRestoreAbstractPage, rpcResumeJob, rpcStoreBlogEntry, rpcTrashPage, rpcTrashPage, rpcTrashPage, rpcTriggerJob, search, setApplicationConfigProperty, setAttachmentMaxUploadSize, setBlogLabels, setCheckbox, setEditPermissionsForGroups, setEditPermissionsForUsers, setMaxAttachmentsInUI, setPageLabels, setSharedMode, setThreadedComments, setUp, setUp, setUpTestNG, setViewPermissionsForGroups, setViewPermissionsForUsers, showAllUsers, shutdownQuartz, stopTestMailServer, tearDown, tearDownTestNG, viewBlog, viewEditBlogPostPage, viewGlobalAdmin, viewGlobalPermissions, viewHomepage, viewLabel, viewLanguages, viewPage, viewPeopleDirectory, viewSpaceAdmin, viewSpaceAdvanced, viewSpaceContent, viewSpacePermissions, viewSpacePermissions, viewSpaceSummary, viewSpaceSummary, viewTodaysBlog, viewTrash, viewUser, watchPage, watchSpace, watchSpace, withParagraph, xmlRpcExecute
 
Methods inherited from class com.atlassian.confluence.AbstractAtlassianWebTestCase
assertCollectionContainsKeyWithValue, assertContains, assertContainsRegex, assertDoesNotContain, assertEndsWith, assertLinkNotPresentWithHrefContaining, assertLinkPresentWithHref, assertLinkPresentWithHrefContaining, assertLinkPresentWithTextAndHref, assertPageTitleEquals, assertServerResponseContains, assertServerResponseDoesNotContain, assertStartsWith, assertStatusCode, assertTextPresentInPageSource, assertTextsPresentInOrder, assertTextsPresentInOrder, assertTitleEquals, assertTitleEquals, getGroupFromResponse, setTextFieldUnlessBlank
 
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, assertElementNotPresentByXPath, assertElementPresent, assertElementPresentByXPath, 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, assertLinkPresent, assertLinkPresentWithExactText, assertLinkPresentWithExactText, assertLinkPresentWithImage, 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, 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, assertTitleEqualsKey, assertTitleEqualsKey, assertTitleMatch, assertWindowCountEquals, assertWindowPresent, assertWindowPresent, assertWindowPresentWithTitle, beginAt, checkCheckbox, checkCheckbox, clickButton, clickButtonWithText, clickElementByXPath, clickLink, clickLinkWithExactText, clickLinkWithExactText, clickLinkWithImage, clickLinkWithText, 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, selectOptionByValue, selectOptions, selectOptionsByValues, setDialog, setExpectedJavaScriptAlert, setExpectedJavaScriptAlert, setExpectedJavaScriptConfirm, setExpectedJavaScriptConfirm, setExpectedJavaScriptPrompt, setExpectedJavaScriptPrompt, setFormElement, setScriptingEnabled, setTestContext, setTester, setTestingEngineKey, setTextField, setWorkingForm, setWorkingForm, setWorkingForm, submit, submit, submit, uncheckCheckbox, uncheckCheckbox, wrapWithPageSourceOnError
 
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 Exception
Throws:
Exception

testGetInvalidUser

public void testGetInvalidUser()
                        throws Exception
Throws:
Exception

testHasUser

public void testHasUser()
                 throws Exception
Throws:
Exception

testHasUserAsNonAdmin

public void testHasUserAsNonAdmin()
                           throws Exception
Throws:
Exception

testHasUserWithInvalidUser

public void testHasUserWithInvalidUser()
                                throws Exception
Throws:
Exception

testAddUser

public void testAddUser()
                 throws Exception
Throws:
Exception

testAddDuplicateUser

public void testAddDuplicateUser()
                          throws Exception
Throws:
Exception

testAddUserAsUnpermittedUser

public void testAddUserAsUnpermittedUser()
                                  throws Exception
Throws:
Exception

testAddUserWithBlankUserame

public void testAddUserWithBlankUserame()
                                 throws Exception
Throws:
Exception

testAddUserWithBlankFullName

public void testAddUserWithBlankFullName()
                                  throws Exception
Throws:
Exception

testAddUserWithBlankEmail

public void testAddUserWithBlankEmail()
                               throws Exception
Throws:
Exception

testRemoveUser

public void testRemoveUser()
                    throws Exception
Throws:
Exception

testRemoveUserAsUnpermittedUser

public void testRemoveUserAsUnpermittedUser()
                                     throws Exception
Throws:
Exception

testCanRemoveUserWithSysAdminPermissionAsSysAdmin

public void testCanRemoveUserWithSysAdminPermissionAsSysAdmin()
                                                       throws Exception
Throws:
Exception

testCannotRemoveUserWithSysAdminPermissionAsConfluenceAdmin

public void testCannotRemoveUserWithSysAdminPermissionAsConfluenceAdmin()
                                                                 throws Exception
Throws:
Exception

testRemoveUserWithAuthoredPage

public void testRemoveUserWithAuthoredPage()
                                    throws Exception
Throws:
Exception

testEditUser

public void testEditUser()
                  throws Exception
Throws:
Exception

testEditUserName

public void testEditUserName()
                      throws Exception
Throws:
Exception

testEditUserNoDetails

public void testEditUserNoDetails()
                           throws Exception
Throws:
Exception

testSetPreferenceString

public void testSetPreferenceString()

testSetPreferenceBoolean

public void testSetPreferenceBoolean()

testSetPreferenceStringNotPermitted

public void testSetPreferenceStringNotPermitted()

testSetPreferenceBooleanNotPermitted

public void testSetPreferenceBooleanNotPermitted()

testSetPreferenceLongNotPermitted

public void testSetPreferenceLongNotPermitted()

testGetPreferenceString

public void testGetPreferenceString()

testGetPreferenceBoolean

public void testGetPreferenceBoolean()

testGetPreferenceLong

public void testGetPreferenceLong()

testGetPreferenceStringNotPermitted

public void testGetPreferenceStringNotPermitted()

testGetPreferenceBooleanNotPermitted

public void testGetPreferenceBooleanNotPermitted()

testGetPreferenceLongNotPermitted

public void testGetPreferenceLongNotPermitted()

testAddProfilePicture

public void testAddProfilePicture()
                           throws Exception
Throws:
Exception

testAddProfilePictureNotPermitted

public void testAddProfilePictureNotPermitted()
                                       throws Exception
Throws:
Exception

testEditUserAsUser

public void testEditUserAsUser()
                        throws Exception
Throws:
Exception

testEditUserAsUnpermittedUser

public void testEditUserAsUnpermittedUser()
                                   throws Exception
Throws:
Exception

testDeactivateUser

public void testDeactivateUser()
                        throws Exception
Throws:
Exception

testDeactivateInvalidUser

public void testDeactivateInvalidUser()
                               throws Exception
Throws:
Exception

testDeactivateUserAsUnpermittedUser

public void testDeactivateUserAsUnpermittedUser()
                                         throws Exception
Throws:
Exception

testDeactivateAlreadyDeactivatedUser

public void testDeactivateAlreadyDeactivatedUser()
                                          throws Exception
Throws:
Exception

testReactivateUser

public void testReactivateUser()
                        throws Exception
Throws:
Exception

testReactivateInvalidUser

public void testReactivateInvalidUser()
                               throws Exception
Throws:
Exception

testReactivateUserAsUnpermittedUser

public void testReactivateUserAsUnpermittedUser()
                                         throws Exception
Throws:
Exception

testReactivateUserAlreadyActiveUser

public void testReactivateUserAlreadyActiveUser()
                                         throws Exception
Throws:
Exception

testGetActiveUsers

public void testGetActiveUsers()
                        throws Exception
Throws:
Exception

testGetActiveUsersAsUnpermittedUser

public void testGetActiveUsersAsUnpermittedUser()
                                         throws Exception
Throws:
Exception

testGetAllUsers

public void testGetAllUsers()
                     throws Exception
Throws:
Exception

testGetAllUsersAsUnpermittedUser

public void testGetAllUsersAsUnpermittedUser()
                                      throws Exception
Throws:
Exception

testChangeCurrentUserPassword

public void testChangeCurrentUserPassword()
                                   throws Exception
Throws:
Exception

testChangeCurrentUserPasswordWithIncorrectOldPassword

public void testChangeCurrentUserPasswordWithIncorrectOldPassword()
                                                           throws Exception
Throws:
Exception

testChangeCurrentUserPasswordWithEmptyNewPassword

public void testChangeCurrentUserPasswordWithEmptyNewPassword()
                                                       throws Exception
Throws:
Exception

testChangeUserPassword

public void testChangeUserPassword()
                            throws Exception
Throws:
Exception

testChangeUserPasswordAsUnpermittedUser

public void testChangeUserPasswordAsUnpermittedUser()
                                             throws Exception
Throws:
Exception

testChangeUserPasswordWithNullPassword

public void testChangeUserPasswordWithNullPassword()
                                            throws Exception
Throws:
Exception

testChangeInvalidUserPassword

public void testChangeInvalidUserPassword()
                                   throws Exception
Throws:
Exception

testChangeUserPasswordAsNormalUser

public void testChangeUserPasswordAsNormalUser()
                                        throws IOException,
                                               org.apache.xmlrpc.XmlRpcException
Throws:
IOException
org.apache.xmlrpc.XmlRpcException

testSetUserInformation

public void testSetUserInformation()
                            throws Exception
Throws:
Exception

testSetUserInformationAsUser

public void testSetUserInformationAsUser()
                                  throws Exception
Throws:
Exception

testSetUserInformationAsUnpermittedUser

public void testSetUserInformationAsUnpermittedUser()
                                             throws Exception
Throws:
Exception

testSetUserInformationWithModifiedId

public void testSetUserInformationWithModifiedId()
                                          throws Exception
Throws:
Exception

testGetUserInformation

public void testGetUserInformation()
                            throws Exception
Throws:
Exception

testGetUserInformationAsTestUser

public void testGetUserInformationAsTestUser()
                                      throws Exception
Throws:
Exception

testGetUserGroups

public void testGetUserGroups()
                       throws Exception
Throws:
Exception

testGetUserGroupsAsUnpermittedUser

public void testGetUserGroupsAsUnpermittedUser()
                                        throws Exception
Throws:
Exception

testGetGroups

public void testGetGroups()
                   throws Exception
Throws:
Exception

testHasGroup

public void testHasGroup()
                  throws Exception
Throws:
Exception

testHasGroupAsNonAdmin

public void testHasGroupAsNonAdmin()
                            throws Exception
Throws:
Exception

testHasGroupWithInvalidGroup

public void testHasGroupWithInvalidGroup()
                                  throws Exception
Throws:
Exception

testAddGroup

public void testAddGroup()
                  throws Exception
Throws:
Exception

testAddUserToGroup

public void testAddUserToGroup()
                        throws Exception
Throws:
Exception

testCannotAddUserToGroupAsAnonymous

public void testCannotAddUserToGroupAsAnonymous()
                                         throws Exception
Throws:
Exception

testCannotAddSelfToArbitraryGroupAsNonAdminUser

public void testCannotAddSelfToArbitraryGroupAsNonAdminUser()
                                                     throws Exception
Throws:
Exception

testCannotAddSelfToConfAdminGroupAsNonAdminUser

public void testCannotAddSelfToConfAdminGroupAsNonAdminUser()
                                                     throws Exception
Throws:
Exception

testCanAddUserToGroupWithSysAdminPermissionAsSysAdmin

public void testCanAddUserToGroupWithSysAdminPermissionAsSysAdmin()
                                                           throws Exception
Throws:
Exception

testCannotAddUserToGroupWithSysAdminPermissionAsConfluenceAdmin

public void testCannotAddUserToGroupWithSysAdminPermissionAsConfluenceAdmin()
                                                                     throws Exception
Throws:
Exception

testAddUserToInvalidGroup

public void testAddUserToInvalidGroup()
                               throws Exception
Throws:
Exception

testRemoveUserFromGroup

public void testRemoveUserFromGroup()
                             throws Exception
Throws:
Exception

testCannotRemoveUserFromGroupAsAnonymousUser

public void testCannotRemoveUserFromGroupAsAnonymousUser()
                                                  throws Exception
Throws:
Exception

testCannotRemoveUserFromGroupAsNonAdminUser

public void testCannotRemoveUserFromGroupAsNonAdminUser()
                                                 throws Exception
Throws:
Exception

testCanRemoveUserFromGroupWithSysAdminPermissionAsSysAdmin

public void testCanRemoveUserFromGroupWithSysAdminPermissionAsSysAdmin()
                                                                throws Exception
Throws:
Exception

testCannotRemoveUserFromGroupWithSysAdminPermissionAsConfluenceAdmin

public void testCannotRemoveUserFromGroupWithSysAdminPermissionAsConfluenceAdmin()
                                                                          throws Exception
Throws:
Exception

testCanAddUserToConfluenceAdministratorsGroupAsSysAdmin

public void testCanAddUserToConfluenceAdministratorsGroupAsSysAdmin()
                                                             throws Exception
Throws:
Exception

testCannotAddUserToConfluenceAdministratorsGroupAsConfluenceAdmin

public void testCannotAddUserToConfluenceAdministratorsGroupAsConfluenceAdmin()
                                                                       throws Exception
Throws:
Exception

testCanRemoveUserFromConfluenceAdministratorsGroupAsSysAdmin

public void testCanRemoveUserFromConfluenceAdministratorsGroupAsSysAdmin()
                                                                  throws Exception
Throws:
Exception

testCannotRemoveUserFromConfluenceAdministratorsGroupAsConfluenceAdmin

public void testCannotRemoveUserFromConfluenceAdministratorsGroupAsConfluenceAdmin()
                                                                            throws Exception
Throws:
Exception

testCannotRemoveConfluenceAdministratorsGroupAsConfluenceAdmin

public void testCannotRemoveConfluenceAdministratorsGroupAsConfluenceAdmin()

testRemoveUserFromInvalidGroup

public void testRemoveUserFromInvalidGroup()
                                    throws Exception
Throws:
Exception

testGroupMethods

public void testGroupMethods()
                      throws Exception
Throws:
Exception

testRemoveGroupMovesUsersToDefaultGroup

public void testRemoveGroupMovesUsersToDefaultGroup()
                                             throws Exception
Throws:
Exception

testRemoveGroupWithGlobalPermissions

public void testRemoveGroupWithGlobalPermissions()
                                          throws Exception
Throws:
Exception

testRemoveGroupWithSpacePermissions

public void testRemoveGroupWithSpacePermissions()
                                         throws Exception
Throws:
Exception

testCanRemoveGroupWithSysAdminPermissionAsSysAdmin

public void testCanRemoveGroupWithSysAdminPermissionAsSysAdmin()
                                                        throws Exception
Throws:
Exception

testCannotRemoveGroupWithSysAdminPermissionAsConfluenceAdmin

public void testCannotRemoveGroupWithSysAdminPermissionAsConfluenceAdmin()
                                                                  throws Exception
Throws:
Exception

testCannotRemoveGroupAsNonAdmin

public void testCannotRemoveGroupAsNonAdmin()
                                     throws Exception
Throws:
Exception

testCannotRemoveGroupAsAnonymous

public void testCannotRemoveGroupAsAnonymous()
                                      throws Exception
Throws:
Exception

testRemoveInvalidGroup

public void testRemoveInvalidGroup()
                            throws Exception
Throws:
Exception

testRemoveGroupWithInvalidDefaultGroup

public void testRemoveGroupWithInvalidDefaultGroup()
                                            throws Exception
Throws:
Exception

testRemoveAllPermissionsForGroup

public void testRemoveAllPermissionsForGroup()
                                      throws Exception
Throws:
Exception

testRemoveAllPermissionsForInvalidGroup

public void testRemoveAllPermissionsForInvalidGroup()
                                             throws Exception
Throws:
Exception


Copyright © 2003-2011 Atlassian. All Rights Reserved.