|
||||||||||
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 boolean |
DB2_MODE
|
static int |
DEFAULT_MAX_ATTACHMENT_SIZE
|
static int |
DEFAULT_MAX_ATTACHMENTS_PER_UPLOAD
|
static int |
HTTP_REQUEST_TIMEOUT
Standard time in milliseconds before an http request times out. |
static boolean |
LDAP_MODE
|
static boolean |
ORACLE_MODE
|
static int |
PAUSE_MILLIS
The length of time to pause between actions must be longer for some databases than others. |
static PropertiesManager |
propertiesManager
|
static boolean |
SQL_SERVER_MODE
True when testing MS SQL Server. |
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 String |
getConfiguredBaseUrl()
Returns the configured base URL in the Confluence app. |
static int |
getDidYouMeanIndexTimeout()
Timeout for building the "DidYouMean" index. |
static String |
getTestProperty(String propName)
|
static boolean |
getTestPropertyAsBoolean(String propName)
Returns the test property as a boolean value. |
static int |
getTestPropertyAsInt(String propName)
|
static boolean |
isClustered()
|
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 boolean LDAP_MODE
public static final boolean CROWD_MODE
public static final boolean DB2_MODE
public static final boolean SQL_SERVER_MODE
public static final boolean ORACLE_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 TCP_PORT_RANGE_START
public static final int TCP_PORT_RANGE_END
public static final boolean CHECK_TEST_TEARDOWN
Constructor Detail |
---|
public TestProperties()
Method Detail |
---|
public static String getTestProperty(String propName)
propName
- the property name
NullPointerException
- if propertiesManager
has not been initialisedpublic static int getTestPropertyAsInt(String propName)
public static boolean getTestPropertyAsBoolean(String propName)
public static int getDidYouMeanIndexTimeout()
"didyoumean.index.timeout"
.
public static String getConfiguredBaseUrl()
public static boolean isClustered()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |