Base class for per-Directory tests.
Calls check index on close.
Base class for per-LockFactory tests.
Corrupts on bit of a file after close
This is a Directory Wrapper that adds methods intended to be used only by unit tests.
Objects that represent fail-able conditions.
Used by MockDirectoryWrapper to create an input stream that keeps track of when it's been closed.
Used by MockRAMDirectory to create an output stream that will throw an IOException on fake disk full, track max disk space actually used, and maybe throw random IOExceptions.
Delegates all operations, even optional ones, to the wrapped directory.
Enum for controlling hard disk throttling.
Use this when throwing fake
The primary class is
wraps any Directory implementation and provides additional checks.
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.