public class AsynchronousSearchRestClientTest extends AbstractAsynchronousRestClientTest
| Modifier and Type | Field and Description |
|---|---|
static String |
REQUIRED_ISSUE_FIELDS |
client, jiraAuthRootUri, jiraRestRootUri, jiraUri| Constructor and Description |
|---|
AsynchronousSearchRestClientTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
jqlSearchShouldReturnIssueWithDetails() |
void |
jqlSearchShouldReturnIssueWithLabelsAndDueDate() |
void |
jqlSearchWithAllFieldsRequestedShouldReturnIssueWithAllFields() |
void |
jqlSearchWithMinimalFieldSetShouldReturnParseableIssues() |
void |
jqlSearchWithoutOneOfRequiredFieldsShouldCauseParserFailure()
If this test fails, then maybe we accept missing field in issue parser? If yes, then we need to update
javadoc for
SearchRestClient.searchJql(String, Integer, Integer, String) |
void |
testJqlSearch() |
void |
testJqlSearchAsAnonymous() |
void |
testJqlSearchUnescapedCharacter() |
void |
testJqlSearchWithNullMaxResultsShouldUseDefault50ForMaxResultsAndPreserveStartAt() |
void |
testJqlSearchWithNullStartAtAndMaxResultsShouldUseAsDefault0ForStartIndexAnd50ForMaxResults() |
void |
testJqlSearchWithNullStartAtShouldUseDefault0ForStartAtAndPreserveMaxResults() |
void |
testJqlSearchWithPaging() |
void |
testJqlSearchWithStartAt() |
void |
testVeryLongJqlWhichWillBePost() |
afterMethod, beforeMethod, isJira4x3OrNewer, isJira4x4OrNewer, isJira5xOrNewer, setAdmin, setAnonymousMode, setClient, setUser1, setUser2public static final String REQUIRED_ISSUE_FIELDS
public void testJqlSearch()
public void testJqlSearchWithStartAt()
public void testJqlSearchWithNullStartAtShouldUseDefault0ForStartAtAndPreserveMaxResults()
public void testJqlSearchWithNullMaxResultsShouldUseDefault50ForMaxResultsAndPreserveStartAt()
public void testJqlSearchWithNullStartAtAndMaxResultsShouldUseAsDefault0ForStartIndexAnd50ForMaxResults()
public void testJqlSearchAsAnonymous()
public void testJqlSearchWithPaging()
public void testVeryLongJqlWhichWillBePost()
public void testJqlSearchUnescapedCharacter()
public void jqlSearchShouldReturnIssueWithDetails()
throws InvocationTargetException,
IllegalAccessException
public void jqlSearchWithAllFieldsRequestedShouldReturnIssueWithAllFields()
throws Exception
Exceptionpublic void jqlSearchShouldReturnIssueWithLabelsAndDueDate()
throws Exception
Exceptionpublic void jqlSearchWithMinimalFieldSetShouldReturnParseableIssues()
throws Exception
Exceptionpublic void jqlSearchWithoutOneOfRequiredFieldsShouldCauseParserFailure()
SearchRestClient.searchJql(String, Integer, Integer, String)Copyright © 2013 Atlassian. All Rights Reserved.