Package org.camunda.bpm
Class TestProperties
- java.lang.Object
-
- org.camunda.bpm.TestProperties
-
public class TestProperties extends java.lang.Object
- Author:
- drobisch
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TESTCONFIG_PROPERTIES_FILE
-
Constructor Summary
Constructors Constructor Description TestProperties()
TestProperties(int defaultPort)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getApplicationPath(java.lang.String contextPath)
java.lang.String
getHttpHost()
int
getHttpPort()
java.util.Properties
getProps()
java.lang.String
getStringProperty(java.lang.String propName, java.lang.String defaultValue)
static java.util.Properties
getTestProperties()
-
-
-
Field Detail
-
TESTCONFIG_PROPERTIES_FILE
public static final java.lang.String TESTCONFIG_PROPERTIES_FILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getProps
public java.util.Properties getProps()
-
getApplicationPath
public java.lang.String getApplicationPath(java.lang.String contextPath)
-
getHttpPort
public int getHttpPort()
-
getStringProperty
public java.lang.String getStringProperty(java.lang.String propName, java.lang.String defaultValue)
-
getHttpHost
public java.lang.String getHttpHost()
-
getTestProperties
public static java.util.Properties getTestProperties() throws java.io.IOException
- Throws:
java.io.IOException
-
-