@PrepareForTest(value=FileUtils.class) public class FileUtilsTest extends java.lang.Object
Constructor and Description |
---|
FileUtilsTest() |
Modifier and Type | Method and Description |
---|---|
void |
after() |
void |
before() |
void |
testCopyFile()
Method: copyFile(String source, String target)
|
void |
testCreateDirectory()
Method: createDirectory(String directory)
|
void |
testDeleteFile()
Method: deleteFile(String filename)
|
void |
testGetBaseName()
Method: getBaseName(String file)
|
void |
testIsDirectoryExists()
Method: isDirectoryExists(String directory)
|
void |
testIsOriginalPackageJar()
Method: isOriginalPackageJar(String packageFilename)
|
void |
testReadFromFile()
Method: readFromFile(String filename)
|
void |
testWriteToFile()
Method: writeToFile(String filename, byte[] contents)
|
public void before() throws java.lang.Exception
java.lang.Exception
public void after() throws java.lang.Exception
java.lang.Exception
public void testDeleteFile() throws java.lang.Exception
java.lang.Exception
public void testCopyFile() throws java.lang.Exception
java.lang.Exception
public void testWriteToFile() throws java.lang.Exception
java.lang.Exception
public void testReadFromFile() throws java.lang.Exception
java.lang.Exception
public void testCreateDirectory() throws java.lang.Exception
java.lang.Exception
public void testIsDirectoryExists() throws java.lang.Exception
java.lang.Exception
public void testIsOriginalPackageJar() throws java.lang.Exception
java.lang.Exception
public void testGetBaseName() throws java.lang.Exception
java.lang.Exception