public class TestUserResource extends BaseJiraRestTest
backdoor, environmentData, initData
Constructor and Description |
---|
TestUserResource() |
forTest, forTest
public void setUpTest()
public void testUserResourceNoUsernameNorKey() throws Exception
Exception
public void testUserResourceForUserByNameThatDoesntExist() throws Exception
Exception
public void testUserResourceForUserByKeyThatDoesntExist() throws Exception
Exception
public void testUserResourceForUserByName() throws Exception
Exception
public void testUserResourceForUserByKey() throws Exception
Exception
public void testUserResourceForUserByUsernameAndKey() throws Exception
Exception
public void testUserResourceLocale()
public void testSearchUsers()
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() throws Exception
Exception
public void testUserResourceGroupsExpanded() throws Exception
Exception
public void testGetAnonymouslyUserResource() throws Exception
Exception
public void testUsernamesWithInterestingCharacters() throws Exception
Exception
public void testUserResourceShouldMaskEmailAddresses() throws Exception
Exception
public void testUserResourceShouldHideEmailAddresses() throws Exception
Exception
public void testUserGetAndSetColumns()
public void testWorkflowAssignableOverride()
public void testWorkflowAssignableOverrideDifferentState()
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-2016 Atlassian. All Rights Reserved.