java.lang.Object | ||
↳ | com.atlassian.jira.functest.framework.AbstractFuncTestUtil | |
↳ | com.atlassian.jira.functest.framework.FuncTestCaseJiraSetup |
This class is responsible for "setting up" and "tearing down" JIRA from a functional test point of view. The
FuncTestCase
uses this class in its setUp() and tearDown() method. if
you dont want to derive from FuncTestCase
, you can call this class
directly.
[Expand]
Inherited Fields | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.jira.functest.framework.AbstractFuncTestUtil
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Call this in your TestCase setUp() method to setup JIRA from the WebTester point of view.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns how long the test has been running for since setUp()
| |||||||||||
Returns how long the test has been running for since startTime
| |||||||||||
Called during test tearDown() to logout and cleanup any resources
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.jira.functest.framework.AbstractFuncTestUtil
| |||||||||||||||||||||||||||||
From class java.lang.Object | |||||||||||||||||||||||||||||
From interface com.atlassian.jira.testkit.client.log.FuncTestLogger |
Call this in your TestCase setUp() method to setup JIRA from the WebTester point of view. This will check if JIRA is "setup" and if not it will setup JIRA in such a way as to be useable.
testCase | the JUnit junit.framework.TestCase in play |
---|---|
tester | the net.sourceforge.jwebunit.WebTester |
environmentData | the com.atlassian.jira.webtests.util.JIRAEnvironmentData in play |
navigation | a Navigation |
webClientListener | the web client listener to record traffic with |
Returns how long the test has been running for since setUp()
Returns how long the test has been running for since startTime
startTime | the time that test started |
---|
Called during test tearDown() to logout and cleanup any resources
testCase | the Junit junit.framework.TestCase |
---|