Class CargoTestHarness
java.lang.Object
junit.framework.TestSuite
com.atlassian.jira.webtests.cargo.CargoTestHarness
- All Implemented Interfaces:
junit.framework.Test
public class CargoTestHarness
extends junit.framework.TestSuite
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringIf specified replaces the default test suite.static final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.junit.runner.RunnercargoRunner(org.junit.runner.Runner testRunner) protected static Propertiesprotected static Filestatic junit.framework.Testsuite()static junit.framework.TestMethods inherited from class junit.framework.TestSuite
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString, warning
-
Field Details
-
URL_PREFIX
- See Also:
-
DEFAULT_CONTAINERS_LOCATION
- See Also:
-
DEFAULT_WAR_LOCATION
- See Also:
-
CONTAINER_LOCATION_PROPERTY
- See Also:
-
WAR_LOCATION_PROPERTY
- See Also:
-
CONTAINERS_PROPERTY
- See Also:
-
DELETE_TEMP_DIR_PROPERTY
- See Also:
-
JIRA_HOME_PROPERTY
- See Also:
-
DEFAULT_JIRA_HOME
- See Also:
-
JACOCO_AGENT_PROPERTY
- See Also:
-
TEST_SUITE_CLASS
If specified replaces the default test suite. It is expected the class provides a suite method which has a signature matchingsuite().
-
-
Constructor Details
-
CargoTestHarness
public CargoTestHarness()
-
-
Method Details
-
suite
- Throws:
IOException
-
suite
- Throws:
IOException
-
cargoRunner
public static org.junit.runner.Runner cargoRunner(org.junit.runner.Runner testRunner) throws IOException, org.junit.runners.model.InitializationError - Throws:
IOExceptionorg.junit.runners.model.InitializationError
-
initWarFile
- Throws:
IOException
-
getProperties
- Throws:
IOException
-