public class TestProperties extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
TESTCONFIG_PROPERTIES_FILE |
| Constructor and Description |
|---|
TestProperties() |
TestProperties(int defaultPort) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationPath(String contextPath) |
String |
getHttpHost() |
int |
getHttpPort() |
Properties |
getProps() |
String |
getStringProperty(String propName,
String defaultValue) |
static Properties |
getTestProperties() |
public static final String TESTCONFIG_PROPERTIES_FILE
public TestProperties()
throws IOException
IOExceptionpublic TestProperties(int defaultPort)
throws IOException
IOExceptionpublic Properties getProps()
public int getHttpPort()
public String getHttpHost()
public static Properties getTestProperties() throws IOException
IOExceptionCopyright © 2022. All rights reserved.