public abstract class AbstractEnvironmentData extends Object implements JIRAEnvironmentData
Modifier | Constructor and Description |
---|---|
protected |
AbstractEnvironmentData(Properties properties) |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getEdition() |
protected String |
getEnvironmentProperty(String key,
String defaultValue) |
protected String |
getEnvironmentProperty(String key,
String defaultValue,
boolean allowEmpty) |
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.
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBaseUrl, getContext, getJIRAHomeLocation, getWorkingDirectory, getXMLDataLocation
protected AbstractEnvironmentData(Properties properties)
public boolean isBundledPluginsOnly()
isBundledPluginsOnly
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 boolean isAllTests()
isAllTests
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
protected abstract String getEdition()
public String getReleaseInfo()
JIRAEnvironmentData
getReleaseInfo
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 keyprotected String getEnvironmentProperty(String key, String defaultValue, boolean allowEmpty)
public boolean isSingleNamedTest()
isSingleNamedTest
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
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 Class<? extends junit.framework.TestCase> getSingleTestClass()
JIRAEnvironmentData
getSingleTestClass
in interface com.atlassian.jira.testkit.client.JIRAEnvironmentData
Copyright © 2002-2024 Atlassian. All Rights Reserved.