com.atlassian.jira.functest.framework.navigator
Class ContainsIssueKeysCondition
java.lang.Object
com.atlassian.jira.functest.framework.navigator.ContainsIssueKeysCondition
- All Implemented Interfaces:
- SearchResultsCondition
public class ContainsIssueKeysCondition
- extends Object
- implements SearchResultsCondition
A condition which asserts that the table containing search results specifies the issue keys in the correct order.
Note: the current implementation is pretty loose - if issue keys appear in other parts of the table besides the
issue key column, this might affect the results.
- Since:
- v4.0
Method Summary |
void |
assertCondition(net.sourceforge.jwebunit.WebTester tester)
Executes assertions for this condition on the search results by inspecting the state of the latest response. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainsIssueKeysCondition
public ContainsIssueKeysCondition(TextAssertions assertions,
String... issueKeys)
- Parameters:
assertions
- text assertionsissueKeys
- the issue keys that should be present, in the specified order. You probably want to specify at
least one issue.
assertCondition
public void assertCondition(net.sourceforge.jwebunit.WebTester tester)
- Description copied from interface:
SearchResultsCondition
- Executes assertions for this condition on the search results by inspecting the state of the latest response. It
is assumed that the search has already been executed, and we are currently on the page which should contain the
search results.
- Specified by:
assertCondition
in interface SearchResultsCondition
- Parameters:
tester
- the web tester
Copyright © 2002-2013 Atlassian. All Rights Reserved.