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.StringTESTCONFIG_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.StringgetApplicationPath(java.lang.String contextPath)java.lang.StringgetHttpHost()intgetHttpPort()java.util.PropertiesgetProps()java.lang.StringgetStringProperty(java.lang.String propName, java.lang.String defaultValue)static java.util.PropertiesgetTestProperties()
-
-
-
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
-
-