EnsureJiraSetupRule instead.@Deprecated public class FuncTestCaseJiraSetup extends Object
FuncTestCase uses this class in its setUp() and tearDown() method. if
you dont want to derive from FuncTestCase, you can call this class
directly.| Constructor and Description |
|---|
FuncTestCaseJiraSetup(junit.framework.TestCase testCase,
net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
Navigation navigation,
FuncTestWebClientListener webClientListener,
boolean skipSetup)
Deprecated.
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)
Deprecated.
Call this in your TestCase setUp() method to setup JIRA from the WebTester point of view.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getRuntimeMillis()
Deprecated.
Returns how long the test has been running for since setUp()
|
static long |
getRuntimeMillis(long startTime)
Deprecated.
Returns how long the test has been running for since startTime
|
static long |
getSuiteRuntimeMillis()
Deprecated.
|
void |
tearDown(junit.framework.TestCase testCase)
Deprecated.
Called during test tearDown() to logout and cleanup any resources
|
public 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-2017 Atlassian. All Rights Reserved.