com.atlassian.jira.functest.framework
Class AbstractFuncTestUtil
java.lang.Object
com.atlassian.jira.functest.framework.AbstractFuncTestUtil
- All Implemented Interfaces:
- com.atlassian.jira.testkit.client.log.FuncTestLogger
- Direct Known Subclasses:
- AbstractNavigationUtil, AdministrationImpl, AdminTabsImpl, AdvancedApplicationPropertiesImpl, AssertionsImpl, AsynchronousTasks, AttachmentsImpl, CustomFieldsImpl, EditNotificationsImpl, EnvironmentUtils, FieldConfigurationSchemesImpl, FieldConfigurationsImpl, FieldScreenAssociationsImpl, FilterParserImpl, FuncTestCaseJiraSetup, GeneralConfigurationImpl, HeaderImpl, 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, ViewWorkflowPage, ViewWorkflowsImpl, WorkflowDesignerPage, WorkflowsImpl, WorkflowStepsImpl, WorkflowTransitionImpl
public class AbstractFuncTestUtil
- extends Object
- implements com.atlassian.jira.testkit.client.log.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
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 JIRAEnvironmentData environmentData
tester
protected final net.sourceforge.jwebunit.WebTester tester
logger
protected final com.atlassian.jira.testkit.client.log.FuncTestLogger logger
locators
protected final LocatorFactory locators
logIndentLevel
protected final int logIndentLevel
AbstractFuncTestUtil
public AbstractFuncTestUtil(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
int logIndentLevel)
childLogIndentLevel
protected final int childLogIndentLevel()
navigation
protected final Navigation navigation()
getAssertions
protected final Assertions getAssertions()
getEnvironmentData
public JIRAEnvironmentData getEnvironmentData()
getFuncTestHelperFactory
public FuncTestHelperFactory getFuncTestHelperFactory()
getLogger
public com.atlassian.jira.testkit.client.log.FuncTestLogger getLogger()
log
public void log(Object logData)
- Specified by:
log
in interface com.atlassian.jira.testkit.client.log.FuncTestLogger
log
public void log(Throwable t)
- Specified by:
log
in interface com.atlassian.jira.testkit.client.log.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-2013 Atlassian. All Rights Reserved.