## Uses of Class
org.apache.lucene.store.BaseDirectoryWrapper

Packages that use BaseDirectoryWrapper
org.apache.lucene.store: Support for testing store mechanisms.
org.apache.lucene.util: General test support.

### Uses of BaseDirectoryWrapper in org.apache.lucene.store

Subclasses of BaseDirectoryWrapper in org.apache.lucene.store
`class` `MockDirectoryWrapper` This is a Directory Wrapper that adds methods intended to be used only by unit tests.
`class` `RawDirectoryWrapper` Delegates all operations, even optional ones, to the wrapped directory.

### Uses of BaseDirectoryWrapper in org.apache.lucene.util

Methods in org.apache.lucene.util that return BaseDirectoryWrapper
`static BaseDirectoryWrapper` LuceneTestCase.`newDirectory()` Returns a new Directory instance.
`static BaseDirectoryWrapper` LuceneTestCase.`newDirectory(Directory d)` Returns a new Directory instance, with contents copied from the provided directory.
`static BaseDirectoryWrapper` LuceneTestCase.`newDirectory(Random r)` Returns a new Directory instance, using the specified random.
`static BaseDirectoryWrapper` LuceneTestCase.`newDirectory(Random r, Directory d)` Returns a new Directory instance, using the specified random with contents copied from the provided directory.
`static BaseDirectoryWrapper` LuceneTestCase.`newDirectory(Random r, LockFactory lf)` Returns a new Directory instance, using the specified random.
`static BaseDirectoryWrapper` LuceneTestCase.`newFSDirectory(Path f)` Returns a new FSDirectory instance over the given file, which must be a folder.
`static BaseDirectoryWrapper` LuceneTestCase.`newFSDirectory(Path f, LockFactory lf)` Returns a new FSDirectory instance over the given file, which must be a folder.
`static BaseDirectoryWrapper` LuceneTestCase.`newMaybeVirusCheckingDirectory()` Like `LuceneTestCase.newDirectory()` except randomly the `VirusCheckingFS` may be installed
`static BaseDirectoryWrapper` LuceneTestCase.`newMaybeVirusCheckingFSDirectory(Path f)` Like `LuceneTestCase.newFSDirectory(Path)`, but randomly insert `VirusCheckingFS`