All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class org.jos.experimental.StefanReich.fs.FATTest

java.lang.Object
    |
    +----org.jos.experimental.StefanReich.fs.FATTest

public class FATTest
extends Object
Usage: see printHelp()

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.

Version:
JOS-FileSystem 4 Preview (25-Mar-98)
Author:
Stefan Reich

Constructor Index

 o FATTest()

Method Index

 o main(String[])
 o mountDisk(String)

Constructors

 o FATTest
public FATTest()

Methods

 o main
public static void main(String[] args)
 o mountDisk
public static void mountDisk(String mountPath) throws IOException, FSException

All Packages  Class Hierarchy  This Package  Previous  Next  Index