|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectTestCase
org.springframework.batch.item.util.FileUtilsTests
public class FileUtilsTests
Tests for FileUtils
| Constructor Summary | |
|---|---|
FileUtilsTests()
|
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testBadFile()
|
void |
testCreateDirectoryStructure()
If the directories on the file path do not exist, they should be created |
void |
testNoRestart()
No restart + file should not be overwritten => file is created if it does not exist, exception is thrown if it already exists |
void |
testRestart()
In case of restart, the file is supposed to exist and exception is thrown if it does not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileUtilsTests()
| Method Detail |
|---|
public void testNoRestart()
throws Exception
Exception
public void testRestart()
throws Exception
Exceptionpublic void testCreateDirectoryStructure()
public void testBadFile()
protected void setUp()
throws Exception
Exception
protected void tearDown()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||