java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraRestTest
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.TestSearchResource

public class TestSearchResource extends BaseJiraRestTest
Tests for the issue search functionality.
Since:
v4.3
  • Constructor Details

    • TestSearchResource

      public TestSearchResource()
  • Method Details

    • setUpTest

      public void setUpTest()
    • testSearchShouldFilterOutIssuesFromNonBrowseableProjects

      public void testSearchShouldFilterOutIssuesFromNonBrowseableProjects() throws Exception
      Throws:
      Exception
    • testSearchMaxResultsShouldDefaultTo50

      public void testSearchMaxResultsShouldDefaultTo50() throws Exception
      Throws:
      Exception
    • testSearchMaxResultsIsNotAllowedToExceed1000

      public void testSearchMaxResultsIsNotAllowedToExceed1000() throws Exception
      Throws:
      Exception
    • testSearchShouldReturnPagesWithAtMostThreeIssues

      public void testSearchShouldReturnPagesWithAtMostThreeIssues() throws Exception
      Throws:
      Exception
    • testSearchShouldReturnPagesWithAtMaxReturnZero

      public void testSearchShouldReturnPagesWithAtMaxReturnZero() throws Exception
      Throws:
      Exception
    • testSearchStartAtAndMaxResultsShouldHaveDefaultValues

      public void testSearchStartAtAndMaxResultsShouldHaveDefaultValues() throws Exception
      Throws:
      Exception
    • testSearchWithBadJqlShouldReturnStatusCode400

      public void testSearchWithBadJqlShouldReturnStatusCode400() throws Exception
      Throws:
      Exception
    • testSearchWithNoJqlShouldReturnAllIssues

      public void testSearchWithNoJqlShouldReturnAllIssues() throws Exception
      Throws:
      Exception
    • testSearchUsingGetReturnsTheSameAsUsingPost

      public void testSearchUsingGetReturnsTheSameAsUsingPost() throws Exception
      Throws:
      Exception
    • testSearchShouldRespectFieldsQueryParam

      public void testSearchShouldRespectFieldsQueryParam() throws Exception
      Throws:
      Exception
    • testSearchShouldRespectFieldsQueryParamForCustomFields

      public void testSearchShouldRespectFieldsQueryParamForCustomFields() throws Exception
      Throws:
      Exception
    • testNamesAndSchemaShouldBeAtTheTopLevelOfTheSearchResource

      public void testNamesAndSchemaShouldBeAtTheTopLevelOfTheSearchResource() throws Exception
      Throws:
      Exception
    • testQueryValidationCanBeDisabled

      public void testQueryValidationCanBeDisabled() throws Exception
      Throws:
      Exception
    • userShouldSearchEmptyInstance

      public void userShouldSearchEmptyInstance()
    • userShouldSearchAllIssues

      public void userShouldSearchAllIssues()
    • userShouldSearchSingleIssue

      public void userShouldSearchSingleIssue()
    • userShouldSearchByProject

      public void userShouldSearchByProject()