Package org.apache.lucene.mockfile

Support for testing/debugging with virtual filesystems

The primary classes are:

  • LeakFS: Fails tests if they leave open filehandles.
  • VerboseFS: Prints destructive filesystem operations to infostream.
  • WindowsFS: Acts like windows.
  • DisableFsyncFS: Makes actual fsync calls a no-op.
  • ExtrasFS: Adds 'bonus' files to directories.
  • ShuffleFS: Directory listings in an unpredictable but deterministic order.