public interface JIRAEnvironmentData
extends com.atlassian.jira.testkit.client.JIRAEnvironmentData
Modifier and Type | Method and Description |
---|---|
URL |
getBaseUrl() |
String |
getContext() |
File |
getJIRAHomeLocation()
Deprecated.
Please use
getWorkingDirectory() . This was renamed to avoid confusion with the "jira-home" functionality. Deprecated since v4.0 |
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.
|
String getContext()
getContext
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
String getTenant()
getTenant
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
boolean shouldCreateDummyTenant()
shouldCreateDummyTenant
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
URL getBaseUrl()
getBaseUrl
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
File getXMLDataLocation()
getXMLDataLocation
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
File getWorkingDirectory()
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 File getJIRAHomeLocation()
getWorkingDirectory()
. This was renamed to avoid confusion with the "jira-home" functionality. Deprecated since v4.0getJIRAHomeLocation
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
String getReleaseInfo()
getReleaseInfo
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
boolean isBundledPluginsOnly()
isBundledPluginsOnly
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
boolean isAllTests()
isAllTests
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
boolean isSingleNamedTest()
isSingleNamedTest
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
Class<? extends junit.framework.TestCase> getSingleTestClass()
getSingleTestClass
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
boolean isTpmLdapTests()
isTpmLdapTests
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
boolean isBlame()
isBlame
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
String getProperty(String key)
getProperty
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
key
- the property keyCopyright © 2002-2022 Atlassian. All Rights Reserved.