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
IOException
public TestProperties(int defaultPort) throws IOException
IOException
public Properties getProps()
public int getHttpPort()
public String getHttpHost()
public static Properties getTestProperties() throws IOException
IOException
Copyright © 2021. All rights reserved.