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
  • Field Details

  • Constructor Details

    • IssueTableAssertions

      @Inject public IssueTableAssertions(Backdoor backdoor)
  • Method Details

    • assertSearchWithResultsForUser

      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
    • assertSearchWithResults

      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
    • assertOrderedSearchWithResultsForUser

      public void assertOrderedSearchWithResultsForUser(String username, String jqlString, String[] expectedIssueKeys)
      Runs the specified search. The jqlString should include an Order By clause if required.
      Parameters:
      jqlString - the jql to search
      expectedIssueKeys - the issue keys to assert in the result
    • assertOrderedSearchWithResults

      public void assertOrderedSearchWithResults(String jqlString, String... expectedIssueKeys)
      Runs the specified search. The jqlString should include an Order By clause if required.
      Parameters:
      jqlString - the jql to search
      expectedIssueKeys - 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)