@Deprecated public class TestProperties extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
CHECK_TEST_TEARDOWN
Deprecated.
|
static boolean |
CROWD_MODE
Deprecated.
|
static int |
DB_AND_PLUGINS_SETUP_TIMEOUT
Deprecated.
|
static String |
DEFAULT_USERS_GROUP
Deprecated.
|
static int |
HTTP_REQUEST_TIMEOUT
Deprecated.
|
static String |
INDRA_BASEURL_PROPERTY_KEY
Deprecated.
|
static String |
JIRA_BASEURL_PROPERTY_KEY
Deprecated.
|
static String |
LOCAL_HOSTNAME
Deprecated.
|
static TimePeriod |
PAUSE_ATTACHMENT_NAMING
Deprecated.
|
static boolean |
PAUSE_BACKGROUND_JOBS
Deprecated.
|
static TimePeriod |
PAUSE_LONGTASK
Deprecated.
|
static int |
PAUSE_MILLIS
Deprecated.
The length of time to pause between actions must be longer for some databases than others.
|
static org.joda.time.Duration |
PAUSE_PLUGIN_INSTALLATION
Deprecated.
DatabasePluginScanner does not support installing the same plugin twice inside the same second
|
static TimePeriod |
PAUSE_REINDEX
Deprecated.
|
static org.joda.time.Period |
PAUSE_RENDER_CONTENT
Deprecated.
|
static PropertiesManager |
propertiesManager
Deprecated.
|
static int |
TCP_PORT_RANGE_END
Deprecated.
|
static int |
TCP_PORT_RANGE_START
Deprecated.
|
Constructor and Description |
---|
TestProperties()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
getAllPropertiesWithPrefix(String prefix)
Deprecated.
|
static String |
getApplicationAuthenticationCredentials()
Deprecated.
|
static String |
getBaseUrl(int index)
Deprecated.
Our tests support running against multiple Confluence nodes, each with their own base URL.
|
static String |
getCrowdBasicAuthenticationCredentials()
Deprecated.
|
static Map<String,String> |
getCrowdProperties()
Deprecated.
|
static Map<String,String> |
getDelegatedLdapAuthProperties()
Deprecated.
|
static Map<String,String> |
getDelegatedLdapGroupSyncProperties()
Deprecated.
|
static String |
getJiraBaseurl()
Deprecated.
|
static Map<String,String> |
getLdapProperties()
Deprecated.
|
static Map<String,String> |
getPrefixedPropertiesFromFile(String file,
String prefix)
Deprecated.
|
static String |
getTestProperty(String propName)
Deprecated.
|
static String |
getTestProperty(String propName,
String defaultPropValue)
Deprecated.
|
static boolean |
getTestPropertyAsBoolean(String propName)
Deprecated.
Returns the test property as a boolean value.
|
static int |
getTestPropertyAsInt(String propName)
Deprecated.
|
static int |
getTestPropertyAsInt(String propName,
int defaultPropValue)
Deprecated.
|
static boolean |
isClustered()
Deprecated.
|
static boolean |
isIndraEnabled()
Deprecated.
|
static boolean |
isJiraEnabled()
Deprecated.
|
static boolean |
isOnDemandAlaCarte()
Deprecated.
|
static boolean |
isOnDemandMode()
Deprecated.
|
static boolean |
isOnDemandStandalone()
Deprecated.
|
static boolean |
isRemoteInstance()
Deprecated.
|
static boolean |
isRemoteODInstance()
Deprecated.
|
static boolean |
isSsoAuthenticator()
Deprecated.
|
public static final PropertiesManager propertiesManager
public static final int PAUSE_MILLIS
public static final TimePeriod PAUSE_ATTACHMENT_NAMING
public static final TimePeriod PAUSE_LONGTASK
public static final TimePeriod PAUSE_REINDEX
public static final org.joda.time.Duration PAUSE_PLUGIN_INSTALLATION
public static final boolean PAUSE_BACKGROUND_JOBS
public static final boolean CROWD_MODE
public static final org.joda.time.Period PAUSE_RENDER_CONTENT
public static final int HTTP_REQUEST_TIMEOUT
public static final int DB_AND_PLUGINS_SETUP_TIMEOUT
public static final int TCP_PORT_RANGE_START
public static final int TCP_PORT_RANGE_END
public static final boolean CHECK_TEST_TEARDOWN
public static final String DEFAULT_USERS_GROUP
public static final String INDRA_BASEURL_PROPERTY_KEY
public static final String JIRA_BASEURL_PROPERTY_KEY
public static final String LOCAL_HOSTNAME
public static String getTestProperty(String propName)
propName
- the property nameNullPointerException
- if propertiesManager
has not been initialisedpublic static String getTestProperty(String propName, String defaultPropValue)
public static int getTestPropertyAsInt(String propName, int defaultPropValue)
public static int getTestPropertyAsInt(String propName)
public static boolean getTestPropertyAsBoolean(String propName)
public static Map<String,String> getAllPropertiesWithPrefix(String prefix)
public static Map<String,String> getDelegatedLdapAuthProperties()
public static Map<String,String> getDelegatedLdapGroupSyncProperties()
public static Map<String,String> getPrefixedPropertiesFromFile(String file, String prefix)
public static String getBaseUrl(int index)
index
- the number of the node to get the base URL of. Starts from 1!public static boolean isClustered()
public static boolean isOnDemandMode()
public static boolean isOnDemandStandalone()
public static boolean isOnDemandAlaCarte()
public static boolean isIndraEnabled()
public static String getJiraBaseurl()
public static boolean isRemoteInstance()
public static boolean isJiraEnabled()
public static boolean isRemoteODInstance()
public static String getCrowdBasicAuthenticationCredentials()
public static String getApplicationAuthenticationCredentials()
public static boolean isSsoAuthenticator()
Copyright © 2003–2015 Atlassian. All rights reserved.