com.atlassian.jira.functest.framework
Class FuncTestHelperFactory

java.lang.Object
  extended by 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, JIRAEnvironmentData environmentData)
          Create func test helper objects to be used when running the passed tests.
FuncTestHelperFactory(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData)
          Create func test helper objects for an already running test.
 
Method Summary
 Administration getAdministration()
           
 Assertions getAssertions()
           
 Backdoor getBackdoor()
           
 JIRAEnvironmentData getEnvironmentData()
           
 Form getForm()
           
 FuncTestCaseJiraSetup getFuncTestCaseJiraSetup()
           
 IssueTableAssertions getIssueTableAssertions()
           
 LocatorFactory getLocator()
           
 Navigation getNavigation()
           
 Parser getParser()
           
 net.sourceforge.jwebunit.WebTester getTester()
           
 TextAssertions getTextAssertions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FuncTestHelperFactory

public FuncTestHelperFactory(junit.framework.TestCase funcTest,
                             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,
                             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.
Method Detail

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()

getIssueTableAssertions

public IssueTableAssertions getIssueTableAssertions()

getFuncTestCaseJiraSetup

public FuncTestCaseJiraSetup getFuncTestCaseJiraSetup()

getParser

public Parser getParser()

getBackdoor

public Backdoor getBackdoor()

getEnvironmentData

public JIRAEnvironmentData getEnvironmentData()


Copyright © 2002-2014 Atlassian. All Rights Reserved.