com.atlassian.jira.functest.framework
Class AbstractFuncTestUtil
java.lang.Object
com.atlassian.jira.functest.framework.AbstractFuncTestUtil
- All Implemented Interfaces:
- FuncTestLogger
- Direct Known Subclasses:
- AbstractNavigationUtil, AdministrationImpl, AdminTabsImpl, AdvancedApplicationPropertiesImpl, AssertionsImpl, AsynchronousTasks, AttachmentsImpl, CustomFieldsImpl, CvsModulesImpl, EditNotificationsImpl, EnvironmentUtils, FieldConfigurationSchemesImpl, FieldConfigurationsImpl, FieldScreenAssociationsImpl, FilterParserImpl, FuncTestCaseJiraSetup, GeneralConfigurationImpl, IssueNavigatorParserImpl, IssueParserImpl, IssueSecurityLevelImpl, IssueSecuritySchemesImpl, JiraFormAssertionsImpl, JiraMessageAssertionsImpl, LabelAssertionsImpl, LinkAssertionsImpl, NavigationImpl, NotificationSchemesImpl, ParserImpl, PermissionSchemesImpl, PluginsImpl, ProjectImpl, ProjectImportImpl, ResolutionsImpl, RolesImpl, SubtasksImpl, SystemInfoParserImpl, TableAssertions, TextAssertionsImpl, TimeTrackingImpl, URLAssertionsImpl, UserAssertions, UserProfileImpl, ViewFieldScreensImpl, ViewIssueAssertions, ViewWorkflowsImpl, WorkflowSchemesImpl, WorkflowsImpl, WorkflowStepsImpl, WorkflowTransitionImpl
public class AbstractFuncTestUtil
- extends Object
- implements FuncTestLogger
A base class for func test utlity classes. Put commmon code in here.
Provides the abiltiy for the helpers to log and dump.
- Since:
- v3.13
Constructor Summary |
AbstractFuncTestUtil(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData,
int logIndentLevel)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FS
protected static final String FS
environmentData
protected com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData
tester
protected final net.sourceforge.jwebunit.WebTester tester
logger
protected final FuncTestLogger logger
locators
protected final LocatorFactory locators
logIndentLevel
protected final int logIndentLevel
AbstractFuncTestUtil
public AbstractFuncTestUtil(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData,
int logIndentLevel)
childLogIndentLevel
protected final int childLogIndentLevel()
navigation
protected final Navigation navigation()
getAssertions
protected final Assertions getAssertions()
getEnvironmentData
public com.atlassian.jira.webtests.util.JIRAEnvironmentData getEnvironmentData()
getFuncTestHelperFactory
public FuncTestHelperFactory getFuncTestHelperFactory()
getLogger
public FuncTestLogger getLogger()
log
public void log(Object logData)
- Description copied from interface:
FuncTestLogger
- This will data via a String.valueOf(logData) in the specified object.
- Specified by:
log
in interface FuncTestLogger
- Parameters:
logData
- the objct to log via String.valueOf().
log
public void log(Throwable t)
- Specified by:
log
in interface FuncTestLogger
submitAtPage
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 buttonbutton
- label on the button to submit at urllogOnFail
- null or a message to log if button isn't found
Copyright © 2002-2012 Atlassian. All Rights Reserved.