com.atlassian.jira.functest.framework.assertions
Class IssueTableAssertions
java.lang.Object
com.atlassian.jira.functest.framework.assertions.IssueTableAssertions
public class IssueTableAssertions
- extends Object
Assertions using issue table backdoor
- Since:
- v5.2
Method Summary |
void |
assertFilterError(String user,
int filterId,
String error)
|
void |
assertFilterErrors(String user,
int filterId,
List errors)
|
void |
assertMaxErrors(String jqlString,
int maxErrors)
|
void |
assertSearchersNotPresent(String... searchers)
|
void |
assertSearchersPresent(String... searchers)
|
void |
assertSearchInfo(long filter,
SharedEntityInfo info)
|
void |
assertSearchIsValid(Long filterId)
|
void |
assertSearchTooComplex(String jqlString)
|
void |
assertSearchTooComplex(String user,
String jqlString)
|
void |
assertSearchWithError(Long filter,
String error)
|
void |
assertSearchWithError(Long filterId,
String jqlString,
String error)
|
void |
assertSearchWithError(String jqlString,
String error)
|
void |
assertSearchWithErrorForUser(String username,
String jqlString,
String error)
|
void |
assertSearchWithErrors(String jqlString,
List<String> errors)
|
void |
assertSearchWithResults(String jqlString,
String... expectedIssueKeys)
Runs the specified search WITH AN APPENDED ORDER BY CLAUSE. |
void |
assertSearchWithResultsForUser(String username,
String jqlString,
String... issueKeys)
Runs the specified search WITH AN APPENDED ORDER BY CLAUSE. |
void |
assertSearchWithWarning(Long filterId,
String warning)
|
void |
assertSearchWithWarning(Long filterId,
String jql,
String warning)
|
void |
assertSearchWithWarning(String jqlString,
String warning)
|
void |
assertSearchWithWarningForUser(String username,
String jqlString,
String warning)
|
void |
assertSearchWithWarnings(String jql,
List<String> warnings)
|
void |
assertSimpleSearch(long filter,
NavigatorSearch expectedSearch)
|
void |
assertSimpleSearch(String user,
long filter,
NavigatorSearch expectedSearch)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ORDER_BY_CLAUSE
public static final String ORDER_BY_CLAUSE
- See Also:
- Constant Field Values
IssueTableAssertions
public IssueTableAssertions(Backdoor backdoor)
assertSearchWithResultsForUser
public void assertSearchWithResultsForUser(String username,
String jqlString,
String... issueKeys)
- Runs the specified search WITH AN APPENDED ORDER BY CLAUSE.
- Parameters:
username
- user to searchjqlString
- the jql to searchissueKeys
- the issue keys to assert in the result
assertSearchWithResults
public void assertSearchWithResults(String jqlString,
String... expectedIssueKeys)
- Runs the specified search WITH AN APPENDED ORDER BY CLAUSE.
- Parameters:
jqlString
- the jql to searchexpectedIssueKeys
- the issue keys to assert in the result
assertSearchTooComplex
public void assertSearchTooComplex(String jqlString)
assertSearchWithErrorForUser
public void assertSearchWithErrorForUser(String username,
String jqlString,
String error)
assertSearchWithError
public void assertSearchWithError(Long filterId,
String jqlString,
String error)
assertSearchWithError
public void assertSearchWithError(String jqlString,
String error)
assertSearchWithErrors
public void assertSearchWithErrors(String jqlString,
List<String> errors)
assertSearchWithError
public void assertSearchWithError(Long filter,
String error)
assertSearchWithWarningForUser
public void assertSearchWithWarningForUser(String username,
String jqlString,
String warning)
assertSearchWithWarning
public void assertSearchWithWarning(Long filterId,
String jql,
String warning)
assertSearchWithWarning
public void assertSearchWithWarning(String jqlString,
String warning)
assertSearchWithWarning
public void assertSearchWithWarning(Long filterId,
String warning)
assertSearchIsValid
public void assertSearchIsValid(Long filterId)
assertSimpleSearch
public void assertSimpleSearch(String user,
long filter,
NavigatorSearch expectedSearch)
assertSearchersPresent
public void assertSearchersPresent(String... searchers)
assertSearchersNotPresent
public void assertSearchersNotPresent(String... searchers)
assertSimpleSearch
public void assertSimpleSearch(long filter,
NavigatorSearch expectedSearch)
assertSearchInfo
public void assertSearchInfo(long filter,
SharedEntityInfo info)
assertSearchWithWarnings
public void assertSearchWithWarnings(String jql,
List<String> warnings)
assertMaxErrors
public void assertMaxErrors(String jqlString,
int maxErrors)
assertFilterErrors
public void assertFilterErrors(String user,
int filterId,
List errors)
assertFilterError
public void assertFilterError(String user,
int filterId,
String error)
assertSearchTooComplex
public void assertSearchTooComplex(String user,
String jqlString)
Copyright © 2002-2013 Atlassian. All Rights Reserved.