All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----org.jos.experimental.StefanReich.fs.FATTest
If you specify "tree" and "bigfile", this is a real hard core test for the JOS FAT file system. Two threads access the file system asynchronously: one builds a directory structure (FSTreeTest), the other one reads/writes a huge file (FSBigFileTest).
This test should discover just about any bug that prevents the data you put into the FS from being returned in its original state. If the FS is improperly synchronized, the test should also show this, but it is more likely to go unnoticed since the exact timing that causes the bug may occur very seldomly.
On my system, all tests complete after 10 minutes without any errors, and so I guess they would run infinitely.
public FATTest()
public static void main(String[] args)
public static void mountDisk(String mountPath) throws IOException, FSException
All Packages Class Hierarchy This Package Previous Next Index