it
Class AsynchronousSearchRestClientTest

java.lang.Object
  extended by com.atlassian.jira.nimblefunctests.framework.NimbleFuncTestCase
      extended by it.AbstractAsynchronousRestClientTest
          extended by it.AsynchronousSearchRestClientTest

public class AsynchronousSearchRestClientTest
extends AbstractAsynchronousRestClientTest


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.nimblefunctests.framework.NimbleFuncTestCase
com.atlassian.jira.nimblefunctests.framework.NimbleFuncTestCase.FuncTestLogger, com.atlassian.jira.nimblefunctests.framework.NimbleFuncTestCase.RestoreConfig
 
Field Summary
static String REQUIRED_ISSUE_FIELDS
           
 
Fields inherited from class it.AbstractAsynchronousRestClientTest
client, jiraAuthRootUri, jiraRestRootUri, jiraUri
 
Fields inherited from class com.atlassian.jira.nimblefunctests.framework.NimbleFuncTestCase
administration, assertions, environmentData, form, locator, log, navigation, page, parse, runningTestMethod, tester, text
 
Constructor Summary
AsynchronousSearchRestClientTest()
           
 
Method Summary
 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()
           
 
Methods inherited from class it.AbstractAsynchronousRestClientTest
afterMethod, beforeMethod, isJira4x3OrNewer, isJira4x4OrNewer, isJira5xOrNewer, setAdmin, setAnonymousMode, setClient, setUser1, setUser2
 
Methods inherited from class com.atlassian.jira.nimblefunctests.framework.NimbleFuncTestCase
beforeClass, getRestoreConfig, isTestEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQUIRED_ISSUE_FIELDS

public static final String REQUIRED_ISSUE_FIELDS
See Also:
Constant Field Values
Constructor Detail

AsynchronousSearchRestClientTest

public AsynchronousSearchRestClientTest()
Method Detail

testJqlSearch

public void testJqlSearch()

testJqlSearchWithStartAt

public void testJqlSearchWithStartAt()

testJqlSearchWithNullStartAtShouldUseDefault0ForStartAtAndPreserveMaxResults

public void testJqlSearchWithNullStartAtShouldUseDefault0ForStartAtAndPreserveMaxResults()

testJqlSearchWithNullMaxResultsShouldUseDefault50ForMaxResultsAndPreserveStartAt

public void testJqlSearchWithNullMaxResultsShouldUseDefault50ForMaxResultsAndPreserveStartAt()

testJqlSearchWithNullStartAtAndMaxResultsShouldUseAsDefault0ForStartIndexAnd50ForMaxResults

public void testJqlSearchWithNullStartAtAndMaxResultsShouldUseAsDefault0ForStartIndexAnd50ForMaxResults()

testJqlSearchAsAnonymous

public void testJqlSearchAsAnonymous()

testJqlSearchWithPaging

public void testJqlSearchWithPaging()

testVeryLongJqlWhichWillBePost

public void testVeryLongJqlWhichWillBePost()

testJqlSearchUnescapedCharacter

public void testJqlSearchUnescapedCharacter()

jqlSearchShouldReturnIssueWithDetails

public void jqlSearchShouldReturnIssueWithDetails()
                                           throws InvocationTargetException,
                                                  IllegalAccessException
Throws:
InvocationTargetException
IllegalAccessException

jqlSearchWithAllFieldsRequestedShouldReturnIssueWithAllFields

public void jqlSearchWithAllFieldsRequestedShouldReturnIssueWithAllFields()
                                                                   throws Exception
Throws:
Exception

jqlSearchShouldReturnIssueWithLabelsAndDueDate

public void jqlSearchShouldReturnIssueWithLabelsAndDueDate()
                                                    throws Exception
Throws:
Exception

jqlSearchWithMinimalFieldSetShouldReturnParseableIssues

public void jqlSearchWithMinimalFieldSetShouldReturnParseableIssues()
                                                             throws Exception
Throws:
Exception

jqlSearchWithoutOneOfRequiredFieldsShouldCauseParserFailure

public 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)



Copyright © 2013 Atlassian. All Rights Reserved.