|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.it.TestProperties
public class TestProperties
Contains common properties used for testing Confluence's functionality. It includes a properties about the platform being tested.
Field Summary | |
---|---|
static boolean |
CHECK_TEST_TEARDOWN
|
static boolean |
CLUSTER_MODE
|
static boolean |
CROWD_MODE
|
static int |
DB_AND_PLUGINS_SETUP_TIMEOUT
|
static int |
DEFAULT_MAX_ATTACHMENT_SIZE
|
static int |
DEFAULT_MAX_ATTACHMENTS_PER_UPLOAD
|
static java.lang.String |
DEFAULT_USERS_GROUP
|
static int |
HTTP_REQUEST_TIMEOUT
Standard time in milliseconds before an http request times out. |
static java.lang.String |
INDRA_BASEURL_PROPERTY_KEY
|
static java.lang.String |
JIRA_BASEURL_PROPERTY_KEY
|
static TimePeriod |
PAUSE_ATTACHMENT_NAMING
|
static boolean |
PAUSE_BACKGROUND_JOBS
|
static TimePeriod |
PAUSE_LONGTASK
|
static TimePeriod |
PAUSE_MAIL
|
static int |
PAUSE_MILLIS
The length of time to pause between actions must be longer for some databases than others. |
static TimePeriod |
PAUSE_REINDEX
|
static PropertiesManager |
propertiesManager
|
static int |
TCP_PORT_RANGE_END
|
static int |
TCP_PORT_RANGE_START
|
static boolean |
WATCHDOG_RESIN_MODE
|
static boolean |
WEBSPHERE_MODE
|
Constructor Summary | |
---|---|
TestProperties()
|
Method Summary | |
---|---|
static java.util.Map<java.lang.String,java.lang.String> |
getAllPropertiesWithPrefix(java.lang.String prefix)
|
static java.lang.String |
getBaseUrl(int index)
Our tests support running against multiple Confluence nodes, each with their own base URL. |
static java.util.Map<java.lang.String,java.lang.String> |
getCrowdProperties()
|
static java.util.Map<java.lang.String,java.lang.String> |
getDelegatedLdapAuthProperties()
|
static java.util.Map<java.lang.String,java.lang.String> |
getDelegatedLdapGroupSyncProperties()
|
static java.lang.String |
getJiraBaseurl()
|
static java.util.Map<java.lang.String,java.lang.String> |
getLdapProperties()
|
static java.util.Map<java.lang.String,java.lang.String> |
getPrefixedPropertiesFromFile(java.lang.String file,
java.lang.String prefix)
|
static java.lang.String |
getTestProperty(java.lang.String propName)
|
static java.lang.String |
getTestProperty(java.lang.String propName,
java.lang.String defaultPropValue)
|
static boolean |
getTestPropertyAsBoolean(java.lang.String propName)
Returns the test property as a boolean value. |
static int |
getTestPropertyAsInt(java.lang.String propName)
|
static boolean |
isClustered()
|
static boolean |
isIndraEnabled()
|
static boolean |
isJiraEnabled()
|
static boolean |
isOnDemandAlaCarte()
|
static boolean |
isOnDemandMode()
|
static boolean |
isOnDemandStandalone()
|
static boolean |
isSsoAuthenticator()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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_MAIL
public static final TimePeriod PAUSE_REINDEX
public static final boolean PAUSE_BACKGROUND_JOBS
public static final boolean CROWD_MODE
public static final boolean WEBSPHERE_MODE
public static final boolean WATCHDOG_RESIN_MODE
public static final boolean CLUSTER_MODE
public static final int DEFAULT_MAX_ATTACHMENT_SIZE
public static final int DEFAULT_MAX_ATTACHMENTS_PER_UPLOAD
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 java.lang.String DEFAULT_USERS_GROUP
public static final java.lang.String INDRA_BASEURL_PROPERTY_KEY
public static final java.lang.String JIRA_BASEURL_PROPERTY_KEY
Constructor Detail |
---|
public TestProperties()
Method Detail |
---|
public static java.lang.String getTestProperty(java.lang.String propName)
propName
- the property name
java.lang.NullPointerException
- if propertiesManager
has not been initialisedpublic static java.lang.String getTestProperty(java.lang.String propName, java.lang.String defaultPropValue)
public static int getTestPropertyAsInt(java.lang.String propName)
public static boolean getTestPropertyAsBoolean(java.lang.String propName)
public static java.util.Map<java.lang.String,java.lang.String> getAllPropertiesWithPrefix(java.lang.String prefix)
public static java.util.Map<java.lang.String,java.lang.String> getLdapProperties()
public static java.util.Map<java.lang.String,java.lang.String> getDelegatedLdapAuthProperties()
public static java.util.Map<java.lang.String,java.lang.String> getDelegatedLdapGroupSyncProperties()
public static java.util.Map<java.lang.String,java.lang.String> getCrowdProperties()
public static java.util.Map<java.lang.String,java.lang.String> getPrefixedPropertiesFromFile(java.lang.String file, java.lang.String prefix)
public static java.lang.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 java.lang.String getJiraBaseurl()
public static boolean isJiraEnabled()
public static boolean isSsoAuthenticator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |