public class

ArtifactDumper

extends Object
java.lang.Object
   ↳ com.atlassian.jira.functest.framework.dump.ArtifactDumper

Class Overview

The ArtifactDumper is used to generate "artifact" HTML files which show the state of a web page at the time a test fails. If the browser is known to the

Summary

Public Constructors
ArtifactDumper(TestCase testCase, Throwable failureCause, Date date, FuncTestLogger logger)
This will dump artifact files out to a well know location
Public Methods
static JIRAEnvironmentData getEnviromentData(TestCase testCase)
static FuncTestWebClientListener getFuncTestWebClientListener(TestCase testCase)
static WebTester getTester(TestCase testCase)
static void openBrowser(String command, File captureFile, FuncTestLogger logger)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ArtifactDumper (TestCase testCase, Throwable failureCause, Date date, FuncTestLogger logger)

This will dump artifact files out to a well know location

Parameters
testCase the test case in play
failureCause the Throwable that caused the test to fail
date the date the event happened
logger the FuncTestLogger to use

Public Methods

public static JIRAEnvironmentData getEnviromentData (TestCase testCase)

public static FuncTestWebClientListener getFuncTestWebClientListener (TestCase testCase)

public static WebTester getTester (TestCase testCase)

public static void openBrowser (String command, File captureFile, FuncTestLogger logger)