com.atlassian.jira.webtests.cargo
Class CargoTestHarness

java.lang.Object
  extended by junit.framework.TestSuite
      extended by com.atlassian.jira.webtests.cargo.CargoTestHarness
All Implemented Interfaces:
junit.framework.Test

public class CargoTestHarness
extends junit.framework.TestSuite


Field Summary
static String CONTAINER_LOCATION_PROPERTY
           
static String CONTAINERS_PROPERTY
           
static String DEFAULT_CONTAINERS_LOCATION
           
static String DEFAULT_JIRA_HOME
           
static String DEFAULT_WAR_LOCATION
           
static String DELETE_TEMP_DIR_PROPERTY
           
static String JIRA_HOME_PROPERTY
           
static String URL_PREFIX
           
static String WAR_LOCATION_PROPERTY
           
 
Constructor Summary
CargoTestHarness()
           
 
Method Summary
static org.junit.runner.Runner cargoRunner(org.junit.runner.Runner testRunner)
           
protected static Properties getProperties()
           
protected static File initWarFile()
           
static junit.framework.Test suite()
           
static junit.framework.Test suite(Class<? extends junit.framework.Test> suiteClass)
           
static junit.framework.Test suite(Class<? extends junit.framework.Test> suiteClass, File warLocation, Properties properties)
           
 
Methods inherited from class junit.framework.TestSuite
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

URL_PREFIX

public static final String URL_PREFIX
See Also:
Constant Field Values

DEFAULT_CONTAINERS_LOCATION

public static final String DEFAULT_CONTAINERS_LOCATION
See Also:
Constant Field Values

DEFAULT_WAR_LOCATION

public static final String DEFAULT_WAR_LOCATION
See Also:
Constant Field Values

CONTAINER_LOCATION_PROPERTY

public static final String CONTAINER_LOCATION_PROPERTY
See Also:
Constant Field Values

WAR_LOCATION_PROPERTY

public static final String WAR_LOCATION_PROPERTY
See Also:
Constant Field Values

CONTAINERS_PROPERTY

public static final String CONTAINERS_PROPERTY
See Also:
Constant Field Values

DELETE_TEMP_DIR_PROPERTY

public static final String DELETE_TEMP_DIR_PROPERTY
See Also:
Constant Field Values

JIRA_HOME_PROPERTY

public static final String JIRA_HOME_PROPERTY
See Also:
Constant Field Values

DEFAULT_JIRA_HOME

public static final String DEFAULT_JIRA_HOME
See Also:
Constant Field Values
Constructor Detail

CargoTestHarness

public CargoTestHarness()
Method Detail

suite

public static junit.framework.Test suite()
                                  throws IOException
Throws:
IOException

suite

public static junit.framework.Test suite(Class<? extends junit.framework.Test> suiteClass)
                                  throws IOException
Throws:
IOException

cargoRunner

public static org.junit.runner.Runner cargoRunner(org.junit.runner.Runner testRunner)
                                           throws IOException,
                                                  org.junit.runners.model.InitializationError
Throws:
IOException
org.junit.runners.model.InitializationError

initWarFile

protected static File initWarFile()
                           throws IOException
Throws:
IOException

suite

public static junit.framework.Test suite(Class<? extends junit.framework.Test> suiteClass,
                                         File warLocation,
                                         Properties properties)
                                  throws IOException
Throws:
IOException

getProperties

protected static Properties getProperties()
                                   throws IOException
Throws:
IOException


Copyright © 2002-2012 Atlassian. All Rights Reserved.