public class

AbstractFuncTestUtil

extends Object
implements FuncTestLogger
java.lang.Object
   ↳ com.atlassian.jira.functest.framework.AbstractFuncTestUtil
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

A base class for func test utlity classes. Put commmon code in here.

Provides the abiltiy for the helpers to log and dump.

Summary

Fields
protected static final String FS
protected JIRAEnvironmentData environmentData
protected final LocatorFactory locators
protected final int logIndentLevel
protected final FuncTestLogger logger
protected final WebTester tester
Public Constructors
AbstractFuncTestUtil(WebTester tester, JIRAEnvironmentData environmentData, int logIndentLevel)
Public Methods
JIRAEnvironmentData getEnvironmentData()
FuncTestHelperFactory getFuncTestHelperFactory()
FuncTestLogger getLogger()
void log(Object logData)
void log(Throwable t)
Protected Methods
final int childLogIndentLevel()
final Assertions getAssertions()
final Navigation navigation()
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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.testkit.client.log.FuncTestLogger

Fields

protected static final String FS

protected JIRAEnvironmentData environmentData

protected final LocatorFactory locators

protected final int logIndentLevel

protected final FuncTestLogger logger

protected final WebTester tester

Public Constructors

public AbstractFuncTestUtil (WebTester tester, JIRAEnvironmentData environmentData, int logIndentLevel)

Public Methods

public JIRAEnvironmentData getEnvironmentData ()

public FuncTestHelperFactory getFuncTestHelperFactory ()

public FuncTestLogger getLogger ()

public void log (Object logData)

public void log (Throwable t)

Protected Methods

protected final int childLogIndentLevel ()

protected final Assertions getAssertions ()

protected final 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.

Parameters
url url to go to to submit the button
button label on the button to submit at url
logOnFail null or a message to log if button isn't found