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()
JIRAEnvironmentData
getTenant
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
public boolean shouldCreateDummyTenant()
JIRAEnvironmentData
shouldCreateDummyTenant
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
public URL getBaseUrl()
getBaseUrl
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
public File getXMLDataLocation()
getXMLDataLocation
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
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).
getWorkingDirectory
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
File.getCanonicalFile()
@Deprecated public File getJIRAHomeLocation()
getJIRAHomeLocation
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
public String getReleaseInfo()
JIRAEnvironmentData
getReleaseInfo
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
public boolean isBundledPluginsOnly()
isBundledPluginsOnly
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
public boolean isAllTests()
isAllTests
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
public boolean isSingleNamedTest()
isSingleNamedTest
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
public Class<? extends junit.framework.TestCase> getSingleTestClass()
JIRAEnvironmentData
getSingleTestClass
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
public boolean isTpmLdapTests()
JIRAEnvironmentData
isTpmLdapTests
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
public boolean isBlame()
JIRAEnvironmentData
isBlame
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
public String getProperty(String key)
JIRAEnvironmentData
getProperty
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
key
- the property keypublic String getContext()
getContext
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
Copyright © 2002-2019 Atlassian. All Rights Reserved.