public final class TestUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
deleteDir(File dir) |
static Properties |
getAllPorts() |
static String |
getClassPath(ClassLoader loader) |
static Method |
getMethod(Class<?> clazz,
String methodName) |
static String |
getNewPortNumber(Class<?> cls) |
static String |
getNewPortNumber(Class<?> cls,
int count) |
static String |
getNewPortNumber(String name) |
static String |
getNewPortNumber(String fullName,
String simpleName) |
static String |
getPortNumber(Class<?> cls) |
static String |
getPortNumber(Class<?> cls,
int count) |
static String |
getPortNumber(String name) |
static String |
getPortNumber(String fullName,
String simpleName) |
static void |
setAddress(Object o,
String address) |
static void |
updateAddressPort(Object o,
int port) |
static void |
updateAddressPort(Object o,
String port) |
public static boolean deleteDir(File dir)
public static String getClassPath(ClassLoader loader) throws URISyntaxException
URISyntaxExceptionpublic static Properties getAllPorts()
public static void updateAddressPort(Object o, String port) throws NumberFormatException, MalformedURLException
public static void updateAddressPort(Object o, int port) throws MalformedURLException
MalformedURLExceptionApache CXF