org.kite9.framework.common
Class ResourceHelper
java.lang.Object
org.kite9.framework.common.ResourceHelper
public class ResourceHelper
- extends Object
Commonly you will want to keep test data along with the test java classes in the
same directory, since this will make the tests portable accross testing environments.
This class contains some common methods to help with this co-location.
- Author:
- robmoffat
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceHelper
public ResourceHelper()
getHandleToFileInClasspath
public static File getHandleToFileInClasspath(Class<?> testClass,
String name)
getFullFileName
public static String getFullFileName(Class<?> testClass,
String name)
Copyright © 2011. All Rights Reserved.