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 |
DASHBOARD_RECENT_UPDATES_URL, log, logAdjuster, RANDOM, rpc, 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, webTester, wikiMarkupRpc |
Methods inherited from class com.atlassian.confluence.AbstractConfluenceAcceptanceTest |
adminConsole, attachments, createSpaceViaWebUI, createTestSpaceViaWebUI, directoryConfig, generateBaseUrl, generateFile, getAppContext, getBaseUrl, getConfiguredBaseUrl, getPluginHelper, getServerStateManager, goToBlogCollector, logInAsAdminAtHomepage, loginAsTestUser, loginAsTestUser2, loginAsTestUserAtHomepage, logins, logout, pages, rebuildIndex, setUp, setUpTestNG, tearDown, tearDownTestNG, users, viewHomepage, viewSpaceAdmin, viewSpacePermissions, viewSpaceSummary, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UsersRpcAcceptanceTest
public UsersRpcAcceptanceTest()
testThatANewlyCreatedUserCanSeeThatItExists
public void testThatANewlyCreatedUserCanSeeThatItExists()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRpcShouldReturnTheCreatedUser
public void testRpcShouldReturnTheCreatedUser()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRpcShouldThrowAnRpcRuntimeExceptionIfARequestedUserDoesNotExist
public void testRpcShouldThrowAnRpcRuntimeExceptionIfARequestedUserDoesNotExist()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOneUserCanSeeThatAnotherExistsWithoutBeingAdmin
public void testOneUserCanSeeThatAnotherExistsWithoutBeingAdmin()
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
testAddUserWithBlankEmail
public void testAddUserWithBlankEmail()
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
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 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
testChangePasswordClearsRememberMeTokens
public void testChangePasswordClearsRememberMeTokens()
throws java.lang.Exception
- Throws:
java.lang.Exception
testChangeCurrentUserPasswordWithIncorrectOldPassword
public void testChangeCurrentUserPasswordWithIncorrectOldPassword()
throws java.lang.Exception
- Throws:
java.lang.Exception
testChangeCurrentUserPasswordWithEmptyNewPassword
public void testChangeCurrentUserPasswordWithEmptyNewPassword()
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
testChangeUserPasswordAsNormalUser
public void testChangeUserPasswordAsNormalUser()
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
testCannotAddUserToGroupAsAnonymous
public void testCannotAddUserToGroupAsAnonymous()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCannotAddSelfToArbitraryGroupAsNonAdminUser
public void testCannotAddSelfToArbitraryGroupAsNonAdminUser()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCannotAddSelfToConfAdminGroupAsNonAdminUser
public void testCannotAddSelfToConfAdminGroupAsNonAdminUser()
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
testCannotRemoveUserFromGroupAsAnonymousUser
public void testCannotRemoveUserFromGroupAsAnonymousUser()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCannotRemoveUserFromGroupAsNonAdminUser
public void testCannotRemoveUserFromGroupAsNonAdminUser()
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
testCannotRemoveConfluenceAdministratorsGroupAsConfluenceAdmin
public void testCannotRemoveConfluenceAdministratorsGroupAsConfluenceAdmin()
testRemoveUserFromInvalidGroup
public void testRemoveUserFromInvalidGroup()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGroupMethods
public void testGroupMethods()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemoveGroupMovesUsersToDefaultGroup
public void testRemoveGroupMovesUsersToDefaultGroup()
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
testCannotRemoveGroupAsNonAdmin
public void testCannotRemoveGroupAsNonAdmin()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCannotRemoveGroupAsAnonymous
public void testCannotRemoveGroupAsAnonymous()
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
testRenameUser
public void testRenameUser()
Copyright © 2003-2014 Atlassian. All Rights Reserved.