org.utgenome.util
Class TestHelper
java.lang.Object
org.utgenome.util.TestHelper
public class TestHelper
- extends Object
Utilities for writing JUnit code
- Author:
- leo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestHelper
public TestHelper()
createTempFileFrom
public static <T> File createTempFileFrom(Class<T> referenceClass,
String srcFileName)
throws IOException
- Create a temporary file
- Type Parameters:
T
- - Parameters:
referenceClass
- srcFileName
-
- Returns:
-
- Throws:
IOException
createTempFileFrom
public static <T> File createTempFileFrom(Class<T> referenceClass,
String srcFileName,
File output)
throws IOException
- Throws:
IOException
createTempDir
public static <T> File createTempDir()
throws IOException
- Throws:
IOException
Copyright © 2007-2012 utgenome.org. All Rights Reserved.