public class UsersXmlRpcAcceptanceTest extends AbstractXmlRpcAcceptanceTest
DASHBOARD_RECENT_UPDATES_REST_URL, DASHBOARD_RECENT_UPDATES_URL, logAdjuster, ONBOARDING_PLUGIN, 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
Constructor and Description |
---|
UsersXmlRpcAcceptanceTest() |
newRpcForUser
adminConsole, attachments, baseUrlSelector, createSpaceViaWebUI, createTestSpaceViaWebUI, createTestUser, darkFeatures, directoryConfig, disableBatchingDarkFeature, enableBatchingDarkFeature, enableBatchingTrigger, generateFile, getAppContext, getBaseUrl, getConfiguredBaseUrl, getPluginHelper, getServerStateManager, getTestDescription, goToBlogCollector, logins, logout, logTestStart, pages, plugins, rebuildIndex, substituteForNodeBaseUrl, tearDown, users, viewHomepage, viewSpaceAdmin, viewSpacePermissions, viewSpaceSummary, viewSpaceTools, viewTrash, watchSpace, webAppContextPath
runBare, setExceptionTransformer
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runTest, setName, toString
public void setUp() throws Exception
AbstractConfluenceAcceptanceTest
setUp
in class AbstractConfluenceAcceptanceTest
Exception
- from superpublic void testThatANewlyCreatedUserCanSeeThatItExists() throws Exception
Exception
public void testRpcShouldReturnTheCreatedUser() throws Exception
Exception
public void testRpcShouldThrowAnRpcRuntimeExceptionIfARequestedUserDoesNotExist() throws Exception
Exception
public void testOneUserCanSeeThatAnotherExistsWithoutBeingAdmin() throws Exception
Exception
public void testHasUserWithInvalidUser() throws Exception
Exception
public void testAddUserAsUnpermittedUser() throws Exception
Exception
public void testAddUserWithBlankUserame() throws Exception
Exception
public void testAddUserWithBlankFullName() throws Exception
Exception
public void testAddUserWithBlankEmail() throws Exception
Exception
public void testRemoveUserAsUnpermittedUser() throws Exception
Exception
public void testCanRemoveUserWithSysAdminPermissionAsSysAdmin() throws Exception
Exception
public void testCannotRemoveUserWithSysAdminPermissionAsConfluenceAdmin() throws Exception
Exception
public void testRemoveUserWithAuthoredPage() throws Exception
Exception
public void testSetPreferenceString()
public void testSetPreferenceBoolean()
public void testSetPreferenceStringNotPermitted()
public void testSetPreferenceBooleanNotPermitted()
public void testSetPreferenceLongNotPermitted()
public void testGetPreferenceString()
public void testGetPreferenceBoolean()
public void testGetPreferenceLong()
public void testGetPreferenceStringNotPermitted()
public void testGetPreferenceBooleanNotPermitted()
public void testGetPreferenceLongNotPermitted()
public void testAddProfilePictureNotPermitted() throws Exception
Exception
public void testEditUserAsUnpermittedUser() throws Exception
Exception
public void testDeactivateInvalidUser() throws Exception
Exception
public void testDeactivateUserAsUnpermittedUser() throws Exception
Exception
public void testDeactivateAlreadyDeactivatedUser() throws Exception
Exception
public void testReactivateInvalidUser() throws Exception
Exception
public void testReactivateUserAsUnpermittedUser() throws Exception
Exception
public void testReactivateUserAlreadyActiveUser() throws Exception
Exception
public void testGetActiveUsersAsUnpermittedUser() throws Exception
Exception
public void testGetAllUsersAsUnpermittedUser() throws Exception
Exception
public void testChangeCurrentUserPassword() throws Exception
Exception
public void testChangePasswordClearsRememberMeTokens() throws Exception
Exception
public void testChangeCurrentUserPasswordWithIncorrectOldPassword() throws Exception
Exception
public void testChangeCurrentUserOldPasswordWithIncorrectOldPassword() throws Exception
Exception
public void testChangeCurrentUserPasswordWithEmptyNewPassword() throws Exception
Exception
public void testChangeUserPasswordAsUnpermittedUser() throws Exception
Exception
public void testChangeUserPasswordWithNullPassword() throws Exception
Exception
public void testChangeInvalidUserPassword() throws Exception
Exception
public void testChangeUserPasswordAsNormalUser() throws IOException, org.apache.xmlrpc.XmlRpcException
IOException
org.apache.xmlrpc.XmlRpcException
public void testSetUserInformationAsUser() throws Exception
Exception
public void testSetUserInformationAsUnpermittedUser() throws Exception
Exception
public void testSetUserInformationWithModifiedId() throws Exception
Exception
public void testGetUserInformationAsTestUser() throws Exception
Exception
public void testGetUserGroupsAsUnpermittedUser() throws Exception
Exception
public void testHasGroupWithInvalidGroup() throws Exception
Exception
public void testCannotAddUserToGroupAsAnonymous() throws Exception
Exception
public void testCannotAddSelfToArbitraryGroupAsNonAdminUser() throws Exception
Exception
public void testCannotAddSelfToConfAdminGroupAsNonAdminUser() throws Exception
Exception
public void testCanAddUserToGroupWithSysAdminPermissionAsSysAdmin() throws Exception
Exception
public void testCannotAddUserToGroupWithSysAdminPermissionAsConfluenceAdmin() throws Exception
Exception
public void testAddUserToInvalidGroup() throws Exception
Exception
public void testCannotRemoveUserFromGroupAsAnonymousUser() throws Exception
Exception
public void testCannotRemoveUserFromGroupAsNonAdminUser() throws Exception
Exception
public void testCanRemoveUserFromGroupWithSysAdminPermissionAsSysAdmin() throws Exception
Exception
public void testCannotRemoveUserFromGroupWithSysAdminPermissionAsConfluenceAdmin() throws Exception
Exception
public void testCanAddUserToConfluenceAdministratorsGroupAsSysAdmin() throws Exception
Exception
public void testCannotAddUserToConfluenceAdministratorsGroupAsConfluenceAdmin() throws Exception
Exception
public void testCanRemoveUserFromConfluenceAdministratorsGroupAsSysAdmin() throws Exception
Exception
public void testCannotRemoveUserFromConfluenceAdministratorsGroupAsConfluenceAdmin() throws Exception
Exception
public void testCannotRemoveConfluenceAdministratorsGroupAsConfluenceAdmin()
public void testRemoveUserFromInvalidGroup() throws Exception
Exception
public void testRemoveGroupMovesUsersToDefaultGroup() throws Exception
Exception
public void testRemoveGroupWithGlobalPermissions() throws Exception
Exception
public void testRemoveGroupWithSpacePermissions() throws Exception
Exception
public void testCanRemoveGroupWithSysAdminPermissionAsSysAdmin() throws Exception
Exception
public void testCannotRemoveGroupWithSysAdminPermissionAsConfluenceAdmin() throws Exception
Exception
public void testCannotRemoveGroupAsNonAdmin() throws Exception
Exception
public void testCannotRemoveGroupAsAnonymous() throws Exception
Exception
public void testRemoveGroupWithInvalidDefaultGroup() throws Exception
Exception
public void testRemoveAllPermissionsForGroup() throws Exception
Exception
public void testRemoveAllPermissionsForInvalidGroup() throws Exception
Exception
public void testRenameUser()
Copyright © 2003–2016 Atlassian. All rights reserved.