public class LocalTestEnvironmentData extends AbstractEnvironmentData
Modifier and Type | Field and Description |
---|---|
static LocalTestEnvironmentData |
DEFAULT |
Constructor and Description |
---|
LocalTestEnvironmentData() |
LocalTestEnvironmentData(Properties properties,
String xmlDataLocation) |
LocalTestEnvironmentData(String xmlDataLocation) |
Modifier and Type | Method and Description |
---|---|
URL |
getBaseUrl() |
String |
getContext() |
String |
getEdition() |
File |
getJIRAHomeLocation() |
String |
getTenant()
Returns the tenant to run requests on.
|
File |
getWorkingDirectory()
Returns a directory that can be used by the func tests whenever file operations need to be done.
|
File |
getXMLDataLocation() |
static Properties |
loadProperties(String key,
String def) |
boolean |
shouldCreateDummyTenant()
Whether a dummy tenant should be created after the tenant is created.
|
getEnvironmentProperty, getEnvironmentProperty, getProperty, getReleaseInfo, getSingleTestClass, isAllTests, isBlame, isBundledPluginsOnly, isSingleNamedTest, isTpmLdapTests
public static final LocalTestEnvironmentData DEFAULT
public LocalTestEnvironmentData()
public LocalTestEnvironmentData(String xmlDataLocation)
public LocalTestEnvironmentData(Properties properties, @Nullable String xmlDataLocation)
public static Properties loadProperties(String key, String def)
public String getContext()
public String getTenant()
JIRAEnvironmentData
getTenant
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
getTenant
in class AbstractEnvironmentData
public boolean shouldCreateDummyTenant()
JIRAEnvironmentData
shouldCreateDummyTenant
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
shouldCreateDummyTenant
in class AbstractEnvironmentData
public URL getBaseUrl()
public File getXMLDataLocation()
public File getWorkingDirectory()
JIRAEnvironmentData
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).
File.getCanonicalFile()
public File getJIRAHomeLocation()
public String getEdition()
getEdition
in class AbstractEnvironmentData
Copyright © 2002-2015 Atlassian. All Rights Reserved.