public class TestUserResource extends BaseJiraFuncTest
Modifier and Type | Field and Description |
---|---|
static String |
NOT_EXISTING_USERNAME |
assertions, backdoor, environmentData, initClass, navigation, tester, testRule
Constructor and Description |
---|
TestUserResource() |
getAssertions, getBackdoor, getEnvironmentData, getTester
public static final String NOT_EXISTING_USERNAME
public void setUpTest()
public void testUserResourceNoUsernameNorKey()
public void testUserResourceForUserByNameThatDoesntExist()
public void testUserResourceForUserByNameThatDoesntExistIncludeDeleted()
public void testUserResourceForUserByKeyThatDoesntExist()
public void testUserResourceForUserByKeyThatDoesntExistIncludeDeleted()
public void testUserResourceForUserByName()
public void testUserResourceForUserByKey()
public void testUserResourceForUserByNameIncludeDeleted()
public void testUserResourceForUserByKeyIncludeDeleted()
public void testUserResourceForDeletedUserByNameIncludeDeleted()
public void testUserResourceForDeletedUserByKeyIncludeDeleted()
public void testUserResourceForDeletedUserByKeyIncludeDeletedShouldNotAllowNonAdminUsers()
public void testUserResourceForDeletedUserByUsernameIncludeDeletedShouldNotAllowNonAdminUsers()
public void testUserResourceForUserByUsernameAndKey()
public void testUserResourceTimeZone()
public void testUserResourceLocale()
public void testSearchUsers()
public void testSearchWithMultipleTokensInQuery()
public void testSearchIsCaseInsensitive()
public void testHandleEdgeCaseOffset() throws IOException
IOException
public void testSearchUsersWithMultipleTokensInUsername()
public void testSearchDoesNotIgnoreDiacritics()
public void testSearchBySeparatorCharacter()
public void testQueryWithInfixSeparator()
public void testPickerUsers()
public void testUsersByPermission()
public void testAssignableAndViewableUsers()
public void testUnprivilegedAccessToBrowseUsersYieldsNoResults()
public void testUnprivilegedAccessToAssignableUsersIsDenied()
public void testDoNotRequireBrowseUserPermissionToListAssignableUsers()
public void testDoNotRequireBrowseUserPermissionToListAssignableUsersBulk()
public void testUsernameParamIsNotMandatoryForAssignableSearchResource()
public void testUsernameParamIsNotMandatoryForAssignableMultiProjectSearchResource()
public void testProjectParamIsMandatoryForAssignableMultiProjectSearchResource()
public void testUserResourceGroupsAndRolesNotExpanded()
public void testUserResourceGroupsExpanded()
public void testGetAnonymouslyUserResource()
public void testAnonymouslySearch()
public void testAnonymouslySearchAssignable()
public void testAnonymouslySearchPicker()
public void testAnonymouslySearchPickerWhileBrowseUsersSetToAnyone()
public void testAnonymouslySearchPickerWithFeatureFlagEnabled()
public void testSearchPickerWithoutBrowseUsersPermByLoggedInUser()
public void testAnonymouslySearchByPermissions()
public void testAnonymouslyMultiProjectSearchAssignableWithoutProjectKeysParam()
public void testAnonymouslyMultiProjectSearchAssignableWithNoPermission()
public void testAnonymouslyMultiProjectSearchAssignableWithPermissions()
public void testAnonymouslyMultiProjectSearchAssignableWithPermissionToBrowseProjectOnly()
public void testAnonymouslySearchViewableIssueResource()
public void testUnicodeCharacters()
public void testAvatarUrls()
public void testUsernamesWithInterestingCharacters()
public void testUserResourceShouldMaskEmailAddresses()
public void testUserResourceShouldHideEmailAddresses()
public void testUserGetAndSetColumns()
public void testWorkflowAssignableOverride()
public void testWorkflowAssignableOverrideDifferentState()
public void test401WhenAnonymousWantsToStoreAvatarForNotExistingUser()
public void test401WhenAnonymousWantsToStoreAvatarForExistingUser()
public void test401WhenAnonymousWantsToStoreAvatarWithMultipartForNotExistingUser()
public void test401WhenAnonymousWantsToStoreAvatarWithMultipartForExistingUser()
public void test401WhenAnonymousWantsToCreateAvatarFromTemporaryForNotExistingUser()
public void test401WhenAnonymousWantsToCreateAvatarFromTemporaryForExistingUser()
public void test401WhenAnonymousWantsToUpdateAvatarForNotExistingUser()
public void test401WhenAnonymousWantsToUpdateAvatarForExistingUser()
public void test401WhenAnonymousUserTriesToDeleteAvatarForNotExistingUser()
public void test401WhenAnonymousUserTriesToDeleteAvatarForExistingUser()
public void testDuplicatedUsersCountUnauthorized()
public void testDuplicatedUsersCountNonAdmin()
public void testDuplicatedUsersCountAdmin()
public void testDuplicatedUsersMappingUnauthorized()
public void testDuplicatedUsersMappingNonAdmin()
public void testDuplicatedUsersMappingAdmin()
protected String getPathFor(String username)
username
- a String containing the user nameprotected String getPathFor(String username, Map<?,?> queryParams)
username
- a String containing the user namequeryParams
- a Map containing query parametersCopyright © 2002-2022 Atlassian. All Rights Reserved.