public class FileBasedTestCase
extends TestCase
Constructor and Description |
---|
FileBasedTestCase() |
Modifier and Type | Method and Description |
---|---|
static void |
assertEqualPaths(java.lang.String path1,
java.lang.String path2)
Will check if two paths are the same.
|
static java.io.File |
createTempDir(java.lang.String prefix)
Creates a temp directory in the System temp directory.
|
static java.io.File |
createTempDir(java.lang.String prefix,
java.io.File directory)
Creates a temp directory in a given directory.
|
static void |
deleteRecursive(java.io.File file)
Deletes a directory or file
Taken from
http://forum.java.sun.com/thread.jspa?threadID=470197&messageID=2169110
Author: jfbriere
|
static BibtexEntry |
getBibtexEntry() |
void |
setUp() |
void |
tearDown() |
void |
testVoid() |
public static void assertEqualPaths(java.lang.String path1, java.lang.String path2)
public static java.io.File createTempDir(java.lang.String prefix)
public static java.io.File createTempDir(java.lang.String prefix, java.io.File directory)
directory
- MayBeNull - null indicates that the system tmp directory
should be used.public static void deleteRecursive(java.io.File file)
file
- public static BibtexEntry getBibtexEntry()
public void setUp() throws java.lang.Exception
java.lang.Exception
public void tearDown()
public void testVoid()