org.apache.cxf.testutil.common
Class TestUtil

java.lang.Object
  extended by org.apache.cxf.testutil.common.TestUtil

public final class TestUtil
extends Object


Method Summary
static boolean deleteDir(File dir)
           
static Properties getAllPorts()
           
static String getClassPath(ClassLoader loader)
           
static Method getMethod(Class<?> clazz, String methodName)
           
static String getPortNumber(Class<?> cls)
           
static String getPortNumber(Class<?> cls, int count)
           
static String getPortNumber(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

deleteDir

public static boolean deleteDir(File dir)

getClassPath

public static String getClassPath(ClassLoader loader)
                           throws URISyntaxException
Throws:
URISyntaxException

getMethod

public static Method getMethod(Class<?> clazz,
                               String methodName)

getAllPorts

public static Properties getAllPorts()

getPortNumber

public static String getPortNumber(Class<?> cls)

getPortNumber

public static String getPortNumber(Class<?> cls,
                                   int count)

getPortNumber

public static String getPortNumber(String name)


Apache CXF