Uses of Class
org.apache.lucene.tests.store.BaseDirectoryWrapper
Package
Description
Support for testing store mechanisms.
General test support.
-
Uses of BaseDirectoryWrapper in org.apache.lucene.tests.store
Modifier and TypeClassDescriptionclass
This is a Directory Wrapper that adds methods intended to be used only by unit tests.final class
Delegates all operations, even optional ones, to the wrapped directory. -
Uses of BaseDirectoryWrapper in org.apache.lucene.tests.util
Modifier and TypeMethodDescriptionstatic BaseDirectoryWrapper
LuceneTestCase.newDirectory()
Returns a new Directory instance.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.newDirectory
(Directory d) Returns a new Directory instance, with contents copied from the provided directory.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()
LikeLuceneTestCase.newDirectory()
except randomly theVirusCheckingFS
may be installedstatic BaseDirectoryWrapper
LuceneTestCase.newMaybeVirusCheckingFSDirectory
(Path f) LikeLuceneTestCase.newFSDirectory(Path)
, but randomly insertVirusCheckingFS