|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.atlassian.jira.functest.framework.FuncTestCase com.atlassian.jira.webtests.ztests.navigator.jql.AbstractJqlFuncTest
public abstract class AbstractJqlFuncTest
Some common methods for the tests which are testing Jql.
Field Summary |
---|
Fields inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
---|
administration, assertions, backdoor, environmentData, form, funcTestHelperFactory, issueTableAssertions, locator, log, navigation, oldway_consider_porting, page, parse, tester, text |
Constructor Summary | |
---|---|
AbstractJqlFuncTest()
|
Method Summary | |
---|---|
protected void |
assertExactSearchWithResults(String jqlString,
String... issueKeys)
Runs the specified search exactly as passed in - it is your responsibility to provide an order by cluase in the query if ordering is important. |
protected void |
assertJqlQueryInTextArea(String expectedJQL)
|
protected void |
assertSearchWithError(String jqlString,
String error)
|
protected void |
assertSearchWithErrorForUser(String username,
String jqlString,
String error)
|
protected void |
assertSearchWithResults(String jqlString,
String... issueKeys)
|
protected void |
assertSearchWithResultsForUser(String username,
String jqlString,
String... issueKeys)
|
protected void |
assertSearchWithWarning(String jqlString,
String warning)
|
protected void |
assertSearchWithWarningForUser(String username,
String jqlString,
String warning)
|
protected static IssueNavigatorAssertions.FilterFormParam |
createFilterFormParam(String name,
String... values)
|
protected String |
encodeQueryString(String... urlParameter)
|
protected void |
executeIssueNavigatorURL(IssueNavigatorNavigation.NavigatorEditMode startEditMode,
IssueNavigatorNavigation.NavigatorEditMode expectedEditMode,
boolean resetQuery,
String... urlParameter)
|
Methods inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
---|
builtInCustomFieldKey, getAssertions, getEnvironmentData, getTester, getWebClientListener, isDumpHTML, log, log, runBare, runTest, setEnvironmentData, setUp, setUpHttpUnitOptions, setUpTest, shouldSkipSetup, tearDown, tearDownTest, xpath |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractJqlFuncTest()
Method Detail |
---|
protected void executeIssueNavigatorURL(IssueNavigatorNavigation.NavigatorEditMode startEditMode, IssueNavigatorNavigation.NavigatorEditMode expectedEditMode, boolean resetQuery, String... urlParameter) throws UnsupportedEncodingException
UnsupportedEncodingException
protected String encodeQueryString(String... urlParameter) throws UnsupportedEncodingException
UnsupportedEncodingException
protected void assertSearchWithResultsForUser(String username, String jqlString, String... issueKeys)
protected void assertSearchWithResults(String jqlString, String... issueKeys)
protected void assertExactSearchWithResults(String jqlString, String... issueKeys)
jqlString
- the jql to searchissueKeys
- the issue keys to assert in the resultprotected void assertSearchWithErrorForUser(String username, String jqlString, String error)
protected void assertSearchWithError(String jqlString, String error)
protected void assertSearchWithWarningForUser(String username, String jqlString, String warning)
protected void assertSearchWithWarning(String jqlString, String warning)
protected static IssueNavigatorAssertions.FilterFormParam createFilterFormParam(String name, String... values)
protected void assertJqlQueryInTextArea(String expectedJQL)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |