public class IssueTableAssertions extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ORDER_BY_CLAUSE |
Constructor and Description |
---|
IssueTableAssertions(Backdoor backdoor) |
Modifier and Type | Method and Description |
---|---|
void |
assertFilterError(String user,
int filterId,
String error) |
void |
assertFilterErrors(String user,
int filterId,
List errors) |
void |
assertMaxErrors(String jqlString,
int maxErrors) |
void |
assertOrderedSearchWithResults(String jqlString,
String... expectedIssueKeys)
Runs the specified search.
|
void |
assertOrderedSearchWithResultsForUser(String username,
String jqlString,
String[] expectedIssueKeys)
Runs the specified search.
|
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) |
public static final String ORDER_BY_CLAUSE
@Inject public IssueTableAssertions(Backdoor backdoor)
public void assertSearchWithResultsForUser(String username, String jqlString, String... issueKeys)
username
- user to searchjqlString
- the jql to searchissueKeys
- the issue keys to assert in the resultpublic void assertSearchWithResults(String jqlString, String... expectedIssueKeys)
jqlString
- the jql to searchexpectedIssueKeys
- the issue keys to assert in the resultpublic void assertOrderedSearchWithResultsForUser(String username, String jqlString, String[] expectedIssueKeys)
jqlString
- the jql to searchexpectedIssueKeys
- the issue keys to assert in the resultpublic void assertOrderedSearchWithResults(String jqlString, String... expectedIssueKeys)
jqlString
- the jql to searchexpectedIssueKeys
- the issue keys to assert in the resultpublic void assertSearchTooComplex(String jqlString)
public void assertSearchWithErrorForUser(String username, String jqlString, String error)
public void assertSearchWithError(Long filterId, String jqlString, String error)
public void assertSearchWithWarningForUser(String username, String jqlString, String warning)
public void assertSearchWithWarning(Long filterId, String jql, String warning)
public void assertSearchIsValid(Long filterId)
public void assertSimpleSearch(String user, long filter, NavigatorSearch expectedSearch)
public void assertSearchersPresent(String... searchers)
public void assertSearchersNotPresent(String... searchers)
public void assertSimpleSearch(long filter, NavigatorSearch expectedSearch)
public void assertSearchInfo(long filter, SharedEntityInfo info)
public void assertMaxErrors(String jqlString, int maxErrors)
Copyright © 2002-2019 Atlassian. All Rights Reserved.