Class CargoEnvironmentData
java.lang.Object
com.atlassian.jira.webtests.util.AbstractEnvironmentData
com.atlassian.jira.webtests.cargo.CargoEnvironmentData
- All Implemented Interfaces:
com.atlassian.jira.testkit.client.JIRAEnvironmentData
,JIRAEnvironmentData
This guy gets its properties from whatever is specified as the -Djira.functest.containerproperties
For instance, for bamboo builds this is the 'bamboo.containers.properties' file. Gotta love this stuff.
-
Constructor Summary
ConstructorsConstructorDescriptionCargoEnvironmentData
(com.atlassian.cargotestrunner.serverinformation.ServerInformation serverInformation, String context, String containerId, Properties properties) -
Method Summary
Modifier and TypeMethodDescriptionReturns a directory that can be used by the func tests whenever file operations need to be done.Methods inherited from class com.atlassian.jira.webtests.util.AbstractEnvironmentData
getEnvironmentProperty, getEnvironmentProperty, getProperty, getReleaseInfo, getRequiredProperty, getSingleTestClass, getTenant, isAllTests, isBlame, isBundledPluginsOnly, isSingleNamedTest, isTpmLdapTests, shouldCreateDummyTenant
-
Constructor Details
-
CargoEnvironmentData
public CargoEnvironmentData(com.atlassian.cargotestrunner.serverinformation.ServerInformation serverInformation, String context, String containerId, Properties properties)
-
-
Method Details
-
getContext
-
getBaseUrl
-
getXMLDataLocation
-
getWorkingDirectory
Description copied from interface:JIRAEnvironmentData
Returns a directory that can be used by the func tests whenever file operations need to be done.This directory is guaranteed to not be used by other func test instances simultaneously running on the same machine in Bamboo.
This should return a canonical file name (ie an absolute file name, without any '..' parts in it).
- Returns:
- a directory that can be used by the func tests whenever file operations need to be done.
- See Also:
-
getJIRAHomeLocation
- Returns:
- a directory that can be used by the func tests whenever file operations need to be done.
-
getEdition
- Specified by:
getEdition
in classAbstractEnvironmentData
-