Class TestProperties


  • public class TestProperties
    extends java.lang.Object
    Author:
    drobisch
    • Field Detail

      • TESTCONFIG_PROPERTIES_FILE

        public static final java.lang.String TESTCONFIG_PROPERTIES_FILE
        See Also:
        Constant Field Values
    • Constructor Detail

      • TestProperties

        public TestProperties()
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • TestProperties

        public TestProperties​(int defaultPort)
                       throws java.io.IOException
        Throws:
        java.io.IOException
    • 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