Uses of Class
org.apache.lucene.tests.store.BaseDirectoryWrapper
Packages that use BaseDirectoryWrapper
Package
Description
Support for testing store mechanisms.
General test support.
-
Uses of BaseDirectoryWrapper in org.apache.lucene.tests.store
Subclasses of BaseDirectoryWrapper in org.apache.lucene.tests.storeModifier and TypeClassDescriptionclassThis is a Directory Wrapper that adds methods intended to be used only by unit tests.final classDelegates all operations, even optional ones, to the wrapped directory. -
Uses of BaseDirectoryWrapper in org.apache.lucene.tests.util
Methods in org.apache.lucene.tests.util that return BaseDirectoryWrapperModifier and TypeMethodDescriptionstatic BaseDirectoryWrapperLuceneTestCase.newDirectory()Returns a new Directory instance.static BaseDirectoryWrapperLuceneTestCase.newDirectory(Random r) Returns a new Directory instance, using the specified random.static BaseDirectoryWrapperLuceneTestCase.newDirectory(Random r, Directory d) Returns a new Directory instance, using the specified random with contents copied from the provided directory.static BaseDirectoryWrapperLuceneTestCase.newDirectory(Random r, LockFactory lf) Returns a new Directory instance, using the specified random.static BaseDirectoryWrapperLuceneTestCase.newDirectory(Directory d) Returns a new Directory instance, with contents copied from the provided directory.static BaseDirectoryWrapperLuceneTestCase.newFSDirectory(Path f) Returns a new FSDirectory instance over the given file, which must be a folder.static BaseDirectoryWrapperLuceneTestCase.newFSDirectory(Path f, LockFactory lf) Returns a new FSDirectory instance over the given file, which must be a folder.static BaseDirectoryWrapperLuceneTestCase.newMaybeVirusCheckingDirectory()LikeLuceneTestCase.newDirectory()except randomly theVirusCheckingFSmay be installedstatic BaseDirectoryWrapperLuceneTestCase.newMaybeVirusCheckingFSDirectory(Path f) LikeLuceneTestCase.newFSDirectory(Path), but randomly insertVirusCheckingFS