public class ArtifactDumper extends Object
Constructor and Description |
---|
ArtifactDumper(DumpDataProvider dataProvider,
Throwable failureCause,
Date date,
com.atlassian.jira.testkit.client.log.FuncTestLogger logger)
This will dump artifact files out to a well know location
|
ArtifactDumper(junit.framework.TestCase testCase,
Throwable failureCause,
Date date,
com.atlassian.jira.testkit.client.log.FuncTestLogger logger)
This will dump artifact files out to a well know location
|
Modifier and Type | Method and Description |
---|---|
static JIRAEnvironmentData |
getEnviromentData(junit.framework.TestCase testCase) |
static FuncTestWebClientListener |
getFuncTestWebClientListener(junit.framework.TestCase testCase) |
static net.sourceforge.jwebunit.WebTester |
getTester(junit.framework.TestCase testCase) |
static void |
openBrowser(String command,
File captureFile,
com.atlassian.jira.testkit.client.log.FuncTestLogger logger) |
public ArtifactDumper(junit.framework.TestCase testCase, Throwable failureCause, Date date, com.atlassian.jira.testkit.client.log.FuncTestLogger logger)
testCase
- the test case in playfailureCause
- the Throwable that caused the test to faildate
- the date the event happenedlogger
- the FuncTestLogger to usepublic ArtifactDumper(DumpDataProvider dataProvider, Throwable failureCause, Date date, com.atlassian.jira.testkit.client.log.FuncTestLogger logger)
dataProvider
- access object for all the required data objects.failureCause
- the Throwable that caused the test to faildate
- the date the event happenedlogger
- the FuncTestLogger to usepublic static net.sourceforge.jwebunit.WebTester getTester(junit.framework.TestCase testCase)
public static JIRAEnvironmentData getEnviromentData(junit.framework.TestCase testCase)
public static FuncTestWebClientListener getFuncTestWebClientListener(junit.framework.TestCase testCase)
Copyright © 2002-2015 Atlassian. All Rights Reserved.