com.atlassian.confluence.rpc
Class UsersRpcAcceptanceTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.atlassian.confluence.junit3.JUnit3TimingTestCase
com.atlassian.confluence.AbstractConfluenceAcceptanceTest
com.atlassian.confluence.rpc.AbstractRpcAcceptanceTest
com.atlassian.confluence.rpc.UsersRpcAcceptanceTest
- All Implemented Interfaces:
- junit.framework.Test
public class UsersRpcAcceptanceTest
- extends AbstractRpcAcceptanceTest
Fields inherited from class com.atlassian.confluence.AbstractConfluenceAcceptanceTest |
ANONYMOUS_USER, DASHBOARD_RECENT_UPDATES_URL, DIRECTORY_CONFIG, exceptionTransformer, filesToDelete, log, logAdjuster, RANDOM, rpc, serverStateManager, TEST_ADMIN, TEST_BLOG, TEST_COMMENT, TEST_GROUP1, TEST_GROUP2, TEST_PAGE, TEST_SPACE, TEST_SPACE2, TEST_USER1, TEST_USER2, TESTBLOG_CONTENT, TESTBLOG_TITLE, testData, TESTPAGE_COMMENT, TESTPAGE_CONTENT, TESTPAGE_TITLE, TESTSPACE_KEY, TESTSPACE_TITLE, TESTSPACE2_KEY, TESTSPACE2_TITLE, VIEW_PERSONAL_SPACE_LINK, webTester, wikiMarkupRpc |
Methods inherited from class com.atlassian.confluence.AbstractConfluenceAcceptanceTest |
adminConsole, attachments, createAndWatchTestPage, createSpaceViaWebUI, createTestSpaceViaWebUI, disableAnonymousAccess, enableAnonymousAccess, generateBaseUrl, generateFile, getAppContext, getBaseUrl, getConfiguredBaseUrl, getFriendlyRelativeDate, getPluginHelper, goToBlogCollector, goToPagesCollector, isClustered, logInAsAdminAtHomepage, loginAsTestUser, loginAsTestUser2, loginAsTestUserAtHomepage, logins, logout, pages, rebuildIndex, setUp, setUp, setUpTestNG, tearDown, tearDownTestNG, users, viewHomepage, viewPeopleDirectory, viewSpaceAdmin, viewSpacePermissions, viewSpaceSummary, viewSpaceTools, viewSpaceTools, viewTrash, watchSpace, webAppContextPath |
Methods inherited from class com.atlassian.confluence.junit3.JUnit3TimingTestCase |
runBare, setExceptionTransformer |
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 |
UsersRpcAcceptanceTest
public UsersRpcAcceptanceTest()
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-2013 Atlassian. All Rights Reserved.