Class TestSearchResource
java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraRestTest
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.TestSearchResource
Tests for the issue search functionality.
- Since:
- v4.3
-
Field Summary
Fields inherited from class com.atlassian.jira.functest.framework.BaseJiraRestTest
backdoor, environmentData, initClass, initData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class com.atlassian.jira.functest.framework.BaseJiraRestTest
getEnvironmentData
-
Constructor Details
-
TestSearchResource
public TestSearchResource()
-
-
Method Details
-
setUpTest
public void setUpTest() -
testSearchShouldFilterOutIssuesFromNonBrowseableProjects
- Throws:
Exception
-
testSearchMaxResultsShouldDefaultTo50
- Throws:
Exception
-
testSearchMaxResultsIsNotAllowedToExceed1000
- Throws:
Exception
-
testSearchShouldReturnPagesWithAtMostThreeIssues
- Throws:
Exception
-
testSearchShouldReturnPagesWithAtMaxReturnZero
- Throws:
Exception
-
testSearchStartAtAndMaxResultsShouldHaveDefaultValues
- Throws:
Exception
-
testSearchWithBadJqlShouldReturnStatusCode400
- Throws:
Exception
-
testSearchWithNoJqlShouldReturnAllIssues
- Throws:
Exception
-
testSearchUsingGetReturnsTheSameAsUsingPost
- Throws:
Exception
-
testSearchShouldRespectFieldsQueryParam
- Throws:
Exception
-
testSearchShouldRespectFieldsQueryParamForCustomFields
- Throws:
Exception
-
testNamesAndSchemaShouldBeAtTheTopLevelOfTheSearchResource
- Throws:
Exception
-
testQueryValidationCanBeDisabled
- Throws:
Exception
-
userShouldSearchEmptyInstance
public void userShouldSearchEmptyInstance() -
userShouldSearchAllIssues
public void userShouldSearchAllIssues() -
userShouldSearchSingleIssue
public void userShouldSearchSingleIssue() -
userShouldSearchByProject
public void userShouldSearchByProject()
-