com.atlassian.jira.functest.framework.admin
Class AdminTabsImpl

java.lang.Object
  extended by com.atlassian.jira.functest.framework.AbstractFuncTestUtil
      extended by com.atlassian.jira.functest.framework.admin.AdminTabsImpl
All Implemented Interfaces:
AdminTabs, FuncTestLogger

public class AdminTabsImpl
extends AbstractFuncTestUtil
implements AdminTabs

Since:
v4.4

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.functest.framework.admin.AdminTabs
AdminTabs.Tab, AdminTabs.TabGroup
 
Field Summary
 
Fields inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
environmentData, FS, locators, logger, logIndentLevel, tester
 
Constructor Summary
AdminTabsImpl(net.sourceforge.jwebunit.WebTester tester, com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
           
 
Method Summary
 List<AdminTabs.TabGroup> getCurrentTabs()
          Returns a list of tabgroups that are currently shown on the page
 int getNumberOfTabs()
          Fetches the total cound of tabs shown
 String getPageHeading()
          Returns the current page heading for the admin section.
 
Methods inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
childLogIndentLevel, getAssertions, getEnvironmentData, getFuncTestHelperFactory, getLogger, log, log, navigation, submitAtPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminTabsImpl

public AdminTabsImpl(net.sourceforge.jwebunit.WebTester tester,
                     com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
Method Detail

getPageHeading

public String getPageHeading()
Description copied from interface: AdminTabs
Returns the current page heading for the admin section.

Specified by:
getPageHeading in interface AdminTabs
Returns:
the current page heading for the admin section.

getCurrentTabs

public List<AdminTabs.TabGroup> getCurrentTabs()
Description copied from interface: AdminTabs
Returns a list of tabgroups that are currently shown on the page

Specified by:
getCurrentTabs in interface AdminTabs
Returns:
a list of tabgroups that are currently shown on the page

getNumberOfTabs

public int getNumberOfTabs()
Description copied from interface: AdminTabs
Fetches the total cound of tabs shown

Specified by:
getNumberOfTabs in interface AdminTabs
Returns:
the total cound of tabs shown


Copyright © 2002-2011 Atlassian. All Rights Reserved.