com.atlassian.jira.functest.framework
Class FuncTestHelperFactory
java.lang.Object
com.atlassian.jira.functest.framework.FuncTestHelperFactory
public class FuncTestHelperFactory
- extends Object
This class is responsible for correctly instantiating the various
helper frameworks such as Assertions
etc
Constructor Summary |
FuncTestHelperFactory(junit.framework.TestCase funcTest,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
Create func test helper objects to be used when running the passed tests. |
FuncTestHelperFactory(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
Create func test helper objects for an already running test. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FuncTestHelperFactory
public FuncTestHelperFactory(junit.framework.TestCase funcTest,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
- Create func test helper objects to be used when running the passed tests.
- Parameters:
funcTest
- the test to be run.environmentData
- the JIRA environment for the test.
FuncTestHelperFactory
public FuncTestHelperFactory(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
- Create func test helper objects for an already running test. This should only be used from old tests that
want access to the new helper objects.
- Parameters:
tester
- current state of the func test.environmentData
- the JIRA environment under test.
getTester
public net.sourceforge.jwebunit.WebTester getTester()
getNavigation
public Navigation getNavigation()
getForm
public Form getForm()
getAdministration
public Administration getAdministration()
getAssertions
public Assertions getAssertions()
getLocator
public LocatorFactory getLocator()
getTextAssertions
public TextAssertions getTextAssertions()
getFuncTestCaseJiraSetup
public FuncTestCaseJiraSetup getFuncTestCaseJiraSetup()
getParser
public Parser getParser()
getBackdoor
public Backdoor getBackdoor()
getEnvironmentData
public com.atlassian.jira.webtests.util.JIRAEnvironmentData getEnvironmentData()
Copyright © 2002-2011 Atlassian. All Rights Reserved.