bb.io
Class FileRollingWriter.UnitTest
java.lang.Object
bb.io.FileRollingWriter.UnitTest
- Enclosing class:
- FileRollingWriter
public static class FileRollingWriter.UnitTest
- extends Object
See the Overview page of the project's javadocs for a general description of this unit test class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileRollingWriter.UnitTest
public FileRollingWriter.UnitTest()
test_all
public void test_all()
throws Exception
- Throws:
Exception
writeRolling
private void writeRolling(int n,
File dir)
throws Exception
- Constructs a new FileRollingWriter instance with
FileRollingWriter.nCharsTillRollover
equal to n.
Then writes a String of length n to the FileRollingWriter n times.
This should result in n new output fils being produced.
- Throws:
Exception