Class TestPrioritySchemeResource
java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraFuncTest
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.TestPrioritySchemeResource
Tests for the priority scheme resource.
- Since:
- v7.7
-
Field Summary
FieldsFields inherited from class com.atlassian.jira.functest.framework.BaseJiraFuncTest
assertions, backdoor, environmentData, initClass, navigation, tester, testRule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
Methods inherited from class com.atlassian.jira.functest.framework.BaseJiraFuncTest
getAssertions, getBackdoor, getEnvironmentData, getTester
-
Field Details
-
NO_PROJECT_PERMISSIONS_ERROR
- See Also:
-
-
Constructor Details
-
TestPrioritySchemeResource
public TestPrioritySchemeResource()
-
-
Method Details
-
setUpTest
public void setUpTest() -
testGetAllSchemes
- Throws:
Exception
-
testGetAllSchemesWithPagination
- Throws:
Exception
-
testDeleteScheme
public void testDeleteScheme() -
testAssignAndUnassign
public void testAssignAndUnassign() -
testSchemeCreate
public void testSchemeCreate() -
testSchemeEditing
public void testSchemeEditing() -
testSchemeEditingValidation
public void testSchemeEditingValidation() -
getSchemeForProjectShouldNotWorkForNormalUsers
public void getSchemeForProjectShouldNotWorkForNormalUsers() -
getSchemeForProjectShouldWorkForProjectAdmins
public void getSchemeForProjectShouldWorkForProjectAdmins() -
shouldNotAllowAssignWithMigration
public void shouldNotAllowAssignWithMigration() -
shouldReturnProperResponseCodeWhenProjectIsNotFoundAndUserIsNotGlobalAdmin
public void shouldReturnProperResponseCodeWhenProjectIsNotFoundAndUserIsNotGlobalAdmin() -
shouldReturnProperResponseCodeWhenProjectIsNotFoundAndUserDoesNotHaveViewProjectPermission
public void shouldReturnProperResponseCodeWhenProjectIsNotFoundAndUserDoesNotHaveViewProjectPermission() -
shouldNotAllowEditWithMigration
public void shouldNotAllowEditWithMigration() -
testGetAllWithProjectKeys
public void testGetAllWithProjectKeys() -
shouldReturnProperResponseCodeWhenSchemeIsNotFound
public void shouldReturnProperResponseCodeWhenSchemeIsNotFound() -
shouldReturnProperResponseCodeWhenProjectIsNotFound
public void shouldReturnProperResponseCodeWhenProjectIsNotFound()
-