Package | Description |
---|---|
org.apache.lucene.store |
Support for testing store mechanisms.
|
org.apache.lucene.util |
General test support.
|
Modifier and Type | Method and Description |
---|---|
void |
MockDirectoryWrapper.Failure.eval(MockDirectoryWrapper dir)
eval is called on the first write of every new file.
|
Constructor and Description |
---|
MockIndexInputWrapper(MockDirectoryWrapper dir,
String name,
IndexInput delegate,
MockIndexInputWrapper parent)
Sole constructor
|
MockIndexOutputWrapper(MockDirectoryWrapper dir,
IndexOutput delegate,
String name)
Construct an empty output buffer.
|
Modifier and Type | Method and Description |
---|---|
static MockDirectoryWrapper |
LuceneTestCase.newMockDirectory() |
static MockDirectoryWrapper |
LuceneTestCase.newMockDirectory(Random r) |
static MockDirectoryWrapper |
LuceneTestCase.newMockDirectory(Random r,
LockFactory lf) |
static MockDirectoryWrapper |
LuceneTestCase.newMockFSDirectory(Path f) |
static MockDirectoryWrapper |
LuceneTestCase.newMockFSDirectory(Path f,
LockFactory lf) |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.