com.atlassian.jira.functest.framework.dump
Class ArtifactDumper

java.lang.Object
  extended by com.atlassian.jira.functest.framework.dump.ArtifactDumper

public class ArtifactDumper
extends Object

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

Since:
v3.13

Constructor Summary
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
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactDumper

public 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

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
Method Detail

getTester

public static net.sourceforge.jwebunit.WebTester getTester(junit.framework.TestCase testCase)

getEnviromentData

public static JIRAEnvironmentData getEnviromentData(junit.framework.TestCase testCase)

getFuncTestWebClientListener

public static FuncTestWebClientListener getFuncTestWebClientListener(junit.framework.TestCase testCase)

openBrowser

public static void openBrowser(String command,
                               File captureFile,
                               com.atlassian.jira.testkit.client.log.FuncTestLogger logger)


Copyright © 2002-2014 Atlassian. All Rights Reserved.