public class AbstractFuncTestUtil extends Object implements com.atlassian.jira.testkit.client.log.FuncTestLogger
Provides the abiltiy for the helpers to log and dump.
Modifier and Type | Field and Description |
---|---|
protected JIRAEnvironmentData |
environmentData |
protected static String |
FS |
protected LocatorFactory |
locators |
protected com.atlassian.jira.testkit.client.log.FuncTestLogger |
logger |
protected int |
logIndentLevel |
protected net.sourceforge.jwebunit.WebTester |
tester |
Constructor and Description |
---|
AbstractFuncTestUtil(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
int logIndentLevel) |
Modifier and Type | Method and Description |
---|---|
protected int |
childLogIndentLevel() |
protected Assertions |
getAssertions() |
JIRAEnvironmentData |
getEnvironmentData() |
FuncTestHelperFactory |
getFuncTestHelperFactory() |
com.atlassian.jira.testkit.client.log.FuncTestLogger |
getLogger() |
void |
log(Object logData) |
void |
log(Throwable t) |
protected Navigation |
navigation() |
protected void |
submitAtPage(String url,
String button,
String logOnFail)
Goes to the given URL, submits the given button or logs the given message if the given button doesn't exist.
|
protected static final String FS
protected JIRAEnvironmentData environmentData
protected final net.sourceforge.jwebunit.WebTester tester
protected final com.atlassian.jira.testkit.client.log.FuncTestLogger logger
protected final LocatorFactory locators
protected final int logIndentLevel
public AbstractFuncTestUtil(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData, int logIndentLevel)
protected final int childLogIndentLevel()
protected final Navigation navigation()
protected final Assertions getAssertions()
public JIRAEnvironmentData getEnvironmentData()
public FuncTestHelperFactory getFuncTestHelperFactory()
public com.atlassian.jira.testkit.client.log.FuncTestLogger getLogger()
public void log(Object logData)
log
in interface com.atlassian.jira.testkit.client.log.FuncTestLogger
public void log(Throwable t)
log
in interface com.atlassian.jira.testkit.client.log.FuncTestLogger
protected void submitAtPage(String url, String button, String logOnFail)
url
- url to go to to submit the buttonbutton
- label on the button to submit at urllogOnFail
- null or a message to log if button isn't foundCopyright © 2002-2016 Atlassian. All Rights Reserved.