public class FuncTestCaseJiraSetup extends AbstractFuncTestUtil
FuncTestCase uses this class in its setUp() and tearDown() method. if
you dont want to derive from FuncTestCase, you can call this class
directly.environmentData, FS, locators, logger, logIndentLevel, tester| Constructor and Description |
|---|
FuncTestCaseJiraSetup(junit.framework.TestCase testCase,
net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
Navigation navigation,
FuncTestWebClientListener webClientListener,
boolean skipSetup)
Call this in your TestCase setUp() method to setup JIRA from the WebTester point of view.
|
FuncTestCaseJiraSetup(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
Navigation navigation,
FuncTestWebClientListener webClientListener,
boolean skipSetup)
Call this in your TestCase setUp() method to setup JIRA from the WebTester point of view.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getRuntimeMillis()
Returns how long the test has been running for since setUp()
|
static long |
getRuntimeMillis(long startTime)
Returns how long the test has been running for since startTime
|
static long |
getSuiteRuntimeMillis() |
void |
tearDown(junit.framework.TestCase testCase)
Called during test tearDown() to logout and cleanup any resources
|
childLogIndentLevel, getAssertions, getEnvironmentData, getFuncTestHelperFactory, getLogger, log, log, navigation, submitAtPagepublic FuncTestCaseJiraSetup(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
Navigation navigation,
FuncTestWebClientListener webClientListener,
boolean skipSetup)
tester - the WebTesterenvironmentData - the JIRAEnvironmentData in playnavigation - a NavigationwebClientListener - the web client listener to record traffic withskipSetup - public FuncTestCaseJiraSetup(junit.framework.TestCase testCase,
net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
Navigation navigation,
FuncTestWebClientListener webClientListener,
boolean skipSetup)
testCase - the JUnit TestCase in playtester - the WebTesterenvironmentData - the JIRAEnvironmentData in playnavigation - a NavigationwebClientListener - the web client listener to record traffic withskipSetup - public void tearDown(junit.framework.TestCase testCase)
testCase - the Junit TestCasepublic long getRuntimeMillis()
public static long getRuntimeMillis(long startTime)
startTime - the time that test startedpublic static long getSuiteRuntimeMillis()
Copyright © 2002-2015 Atlassian. All Rights Reserved.