public class TestSearchResource extends BaseJiraRestTest
backdoor, environmentData, initClass, initData| Constructor and Description |
|---|
TestSearchResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUpTest() |
void |
testNamesAndSchemaShouldBeAtTheTopLevelOfTheSearchResource() |
void |
testQueryValidationCanBeDisabled() |
void |
testSearchMaxResultsIsNotAllowedToExceed1000() |
void |
testSearchMaxResultsShouldDefaultTo50() |
void |
testSearchShouldFilterOutIssuesFromNonBrowseableProjects() |
void |
testSearchShouldRespectFieldsQueryParam() |
void |
testSearchShouldRespectFieldsQueryParamForCustomFields() |
void |
testSearchShouldReturnPagesWithAtMaxReturnZero() |
void |
testSearchShouldReturnPagesWithAtMostThreeIssues() |
void |
testSearchStartAtAndMaxResultsShouldHaveDefaultValues() |
void |
testSearchUsingGetReturnsTheSameAsUsingPost() |
void |
testSearchWithBadJqlShouldReturnStatusCode400() |
void |
testSearchWithNoJqlShouldReturnAllIssues() |
getEnvironmentDatapublic void setUpTest()
public void testSearchShouldFilterOutIssuesFromNonBrowseableProjects()
throws Exception
Exceptionpublic void testSearchMaxResultsShouldDefaultTo50()
throws Exception
Exceptionpublic void testSearchMaxResultsIsNotAllowedToExceed1000()
throws Exception
Exceptionpublic void testSearchShouldReturnPagesWithAtMostThreeIssues()
throws Exception
Exceptionpublic void testSearchShouldReturnPagesWithAtMaxReturnZero()
throws Exception
Exceptionpublic void testSearchStartAtAndMaxResultsShouldHaveDefaultValues()
throws Exception
Exceptionpublic void testSearchWithBadJqlShouldReturnStatusCode400()
throws Exception
Exceptionpublic void testSearchWithNoJqlShouldReturnAllIssues()
throws Exception
Exceptionpublic void testSearchUsingGetReturnsTheSameAsUsingPost()
throws Exception
Exceptionpublic void testSearchShouldRespectFieldsQueryParam()
throws Exception
Exceptionpublic void testSearchShouldRespectFieldsQueryParamForCustomFields()
throws Exception
Exceptionpublic void testNamesAndSchemaShouldBeAtTheTopLevelOfTheSearchResource()
throws Exception
ExceptionCopyright © 2002-2022 Atlassian. All Rights Reserved.