|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.atlassian.jira.functest.framework.FuncTestCase com.atlassian.jira.webtests.ztests.bundledplugins2.rest.RestFuncTest com.atlassian.jira.webtests.ztests.bundledplugins2.rest.TestUserResource
public class TestUserResource
Tests for the user resource.
Field Summary |
---|
Fields inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
---|
administration, assertions, backdoor, environmentData, form, funcTestHelperFactory, issueTableAssertions, locator, log, navigation, oldway_consider_porting, page, parse, tester, text |
Constructor Summary | |
---|---|
TestUserResource()
|
Methods inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.RestFuncTest |
---|
assertEqualDateStrings, DELETE, GET, GET, getBaseUriPlus, getBaseUriPlus, getBaseUrl, getBaseUrlPlus, getBaseUrlPlus, getJSON, getRestApiUri, getRestApiUri, getRestApiUrl, isDumpHTML, POST, POST, PUT, PUT, setUpHttpUnitOptions, tearDownTest |
Methods inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
---|
builtInCustomFieldKey, getAssertions, getEnvironmentData, getTester, getWebClientListener, log, log, runBare, runTest, setEnvironmentData, setUp, shouldSkipSetup, tearDown, xpath |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, 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 |
Constructor Detail |
---|
public TestUserResource()
Method Detail |
---|
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 testUserResourceTimeZone() throws Exception
Exception
public void testSearchUsers()
public void testPickerUsers()
public void testUsersByPermission()
public void testAssignableAndViewableUsers()
public void testUnprivilegedAccessToBrowseUsersYieldsNoResults()
public void testUnprivilegedAccessToAssignableUsersIsDenied()
public void testDoNotRequireBrowseUserPermissionToListAssignableUsers()
public void testUserResourceGroupsNotExpanded() throws Exception
Exception
public void testUserResourceGroupsExpanded() throws Exception
Exception
public void testGetAnonymouslyUserResource() throws Exception
Exception
public void testUnicodeCharacters() throws Exception
Exception
public void testAvatarUrls() throws Exception
Exception
public void testUsernamesWithInterestingCharacters() throws Exception
Exception
public void testUserResourceShouldMaskEmailAddresses() throws Exception
Exception
public void testUserResourceShouldHideEmailAddresses() throws Exception
Exception
public void testUserGetAndSetColumns()
protected void setUpTest()
FuncTestCase
setUpTest
in class RestFuncTest
protected String getPathFor(String username)
username
- a String containing the user name
protected String getPathFor(String username, Map<?,?> queryParams)
username
- a String containing the user namequeryParams
- a Map containing query parameters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |