public class TenantOverridingEnvironmentData extends Object implements JIRAEnvironmentData
| Constructor and Description |
|---|
TenantOverridingEnvironmentData(String tenant,
JIRAEnvironmentData environmentData) |
| Modifier and Type | Method and Description |
|---|---|
URL |
getBaseUrl() |
String |
getContext() |
File |
getJIRAHomeLocation()
Deprecated.
|
String |
getProperty(String key)
Returns a property from the test environment.
|
String |
getReleaseInfo()
This is the expected release information shown under "Installation Type" on the sysinfo page.
|
Class<? extends junit.framework.TestCase> |
getSingleTestClass()
Run a specifically named test instead of the normal suite
|
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() |
boolean |
isAllTests() |
boolean |
isBlame()
Experimental Judge Judy build.
|
boolean |
isBundledPluginsOnly() |
boolean |
isSingleNamedTest() |
boolean |
isTpmLdapTests()
A special suite of tests that connect to an LDAP server on LabManager (TPM).
|
boolean |
shouldCreateDummyTenant()
Whether a dummy tenant should be created after the tenant is created.
|
public TenantOverridingEnvironmentData(String tenant, JIRAEnvironmentData environmentData)
public String getTenant()
JIRAEnvironmentDatagetTenant in interface com.atlassian.jira.testkit.client.JIRAEnvironmentDatapublic boolean shouldCreateDummyTenant()
JIRAEnvironmentDatashouldCreateDummyTenant in interface com.atlassian.jira.testkit.client.JIRAEnvironmentDatapublic URL getBaseUrl()
getBaseUrl in interface com.atlassian.jira.testkit.client.JIRAEnvironmentDatapublic File getXMLDataLocation()
getXMLDataLocation in interface com.atlassian.jira.testkit.client.JIRAEnvironmentDatapublic File getWorkingDirectory()
JIRAEnvironmentDataThis 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).
getWorkingDirectory in interface com.atlassian.jira.testkit.client.JIRAEnvironmentDataFile.getCanonicalFile()@Deprecated public File getJIRAHomeLocation()
getJIRAHomeLocation in interface com.atlassian.jira.testkit.client.JIRAEnvironmentDatapublic String getReleaseInfo()
JIRAEnvironmentDatagetReleaseInfo in interface com.atlassian.jira.testkit.client.JIRAEnvironmentDatapublic boolean isBundledPluginsOnly()
isBundledPluginsOnly in interface com.atlassian.jira.testkit.client.JIRAEnvironmentDatapublic boolean isAllTests()
isAllTests in interface com.atlassian.jira.testkit.client.JIRAEnvironmentDatapublic boolean isSingleNamedTest()
isSingleNamedTest in interface com.atlassian.jira.testkit.client.JIRAEnvironmentDatapublic Class<? extends junit.framework.TestCase> getSingleTestClass()
JIRAEnvironmentDatagetSingleTestClass in interface com.atlassian.jira.testkit.client.JIRAEnvironmentDatapublic boolean isTpmLdapTests()
JIRAEnvironmentDataisTpmLdapTests in interface com.atlassian.jira.testkit.client.JIRAEnvironmentDatapublic boolean isBlame()
JIRAEnvironmentDataisBlame in interface com.atlassian.jira.testkit.client.JIRAEnvironmentDatapublic String getProperty(String key)
JIRAEnvironmentDatagetProperty in interface com.atlassian.jira.testkit.client.JIRAEnvironmentDatakey - the property keypublic String getContext()
getContext in interface com.atlassian.jira.testkit.client.JIRAEnvironmentDataCopyright © 2002-2017 Atlassian. All Rights Reserved.