public class

IssueTableAssertions

extends Object
java.lang.Object
   ↳ com.atlassian.jira.functest.framework.assertions.IssueTableAssertions

Class Overview

Assertions using issue table backdoor

Summary

Constants
String ORDER_BY_CLAUSE
Public Constructors
IssueTableAssertions(Backdoor backdoor)
Public Methods
void assertFilterError(String user, int filterId, String error)
void assertFilterErrors(String user, int filterId, List errors)
void assertMaxErrors(String jqlString, int maxErrors)
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(String jqlString, String warning)
void assertSearchWithWarning(Long filterId, String jql, String warning)
void assertSearchWithWarningForUser(String username, String jqlString, String warning)
void assertSearchWithWarnings(String jql, List<String> warnings)
void assertSearchersNotPresent(String... searchers)
void assertSearchersPresent(String... searchers)
void assertSimpleSearch(String user, long filter, NavigatorSearch expectedSearch)
void assertSimpleSearch(long filter, NavigatorSearch expectedSearch)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String ORDER_BY_CLAUSE

Constant Value: " ORDER BY key DESC"

Public Constructors

public IssueTableAssertions (Backdoor backdoor)

Public Methods

public void assertFilterError (String user, int filterId, String error)

public void assertFilterErrors (String user, int filterId, List errors)

public void assertMaxErrors (String jqlString, int maxErrors)

public void assertSearchInfo (long filter, SharedEntityInfo info)

public void assertSearchIsValid (Long filterId)

public void assertSearchTooComplex (String jqlString)

public void assertSearchTooComplex (String user, String jqlString)

public void assertSearchWithError (Long filter, String error)

public void assertSearchWithError (Long filterId, String jqlString, String error)

public void assertSearchWithError (String jqlString, String error)

public void assertSearchWithErrorForUser (String username, String jqlString, String error)

public void assertSearchWithErrors (String jqlString, List<String> errors)

public void assertSearchWithResults (String jqlString, String... expectedIssueKeys)

Runs the specified search WITH AN APPENDED ORDER BY CLAUSE.

Parameters
jqlString the jql to search
expectedIssueKeys the issue keys to assert in the result

public void assertSearchWithResultsForUser (String username, String jqlString, String... issueKeys)

Runs the specified search WITH AN APPENDED ORDER BY CLAUSE.

Parameters
username user to search
jqlString the jql to search
issueKeys the issue keys to assert in the result

public void assertSearchWithWarning (Long filterId, String warning)

public void assertSearchWithWarning (String jqlString, String warning)

public void assertSearchWithWarning (Long filterId, String jql, String warning)

public void assertSearchWithWarningForUser (String username, String jqlString, String warning)

public void assertSearchWithWarnings (String jql, List<String> warnings)

public void assertSearchersNotPresent (String... searchers)

public void assertSearchersPresent (String... searchers)

public void assertSimpleSearch (String user, long filter, NavigatorSearch expectedSearch)

public void assertSimpleSearch (long filter, NavigatorSearch expectedSearch)