Class TestPrioritySchemeResource

java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraFuncTest
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.TestPrioritySchemeResource

public class TestPrioritySchemeResource extends BaseJiraFuncTest
Tests for the priority scheme resource.
Since:
v7.7
  • Field Details

  • Constructor Details

    • TestPrioritySchemeResource

      public TestPrioritySchemeResource()
  • Method Details

    • setUpTest

      public void setUpTest()
    • testGetAllSchemes

      public void testGetAllSchemes() throws Exception
      Throws:
      Exception
    • testGetAllSchemesWithPagination

      public void testGetAllSchemesWithPagination() throws Exception
      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()