All Classes Interface Summary Class Summary Enum Summary Annotation Types Summary
Class |
Description |
AssertingIndexSearcher |
Helper class that adds some extra checks to ensure correct
usage of IndexSearcher and Weight .
|
BaseTokenStreamTestCase |
Base class for all Lucene unit tests that use TokenStreams.
|
BaseTokenStreamTestCase.CheckClearAttributesAttribute |
Attribute that records if it was cleared or not.
|
BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl |
Attribute that records if it was cleared or not.
|
CachingWrapperFilterHelper |
A unit test helper class to test when the filter is getting cached and when it is not.
|
CannedTokenStream |
TokenStream from a canned list of Tokens.
|
CheckHits |
Utility class for asserting expected hits in tests.
|
CheckHits.ExplanationAsserter |
Asserts that the score explanation for every document matching a
query corresponds with the true score.
|
CheckHits.ExplanationAssertingSearcher |
an IndexSearcher that implicitly checks hte explanation of every match
whenever it executes a search.
|
CheckHits.SetCollector |
Just collects document ids into a set.
|
CollationTestBase |
Base test class for testing Unicode collation.
|
EmptyTokenizer |
Emits no tokens
|
English |
|
LineFileDocs |
Minimal port of contrib/benchmark's LneDocSource +
DocMaker, so tests can enum docs from a line file created
by contrib/benchmark's WriteLineDoc task
|
LookaheadTokenFilter<T extends LookaheadTokenFilter.Position> |
An abstract TokenFilter to make it easier to build graph
token filters requiring some lookahead.
|
LookaheadTokenFilter.Position |
Holds all state for a single position; subclass this
to record other state at each position.
|
LuceneJUnitDividingSelector |
Divides filesets into equal groups
|
LuceneJUnitResultFormatter |
Just like BriefJUnitResultFormatter "brief" bundled with ant,
except all formatted text is buffered until the test suite is finished.
|
LuceneTestCase |
Base class for all Lucene unit tests, Junit3 or Junit4 variant.
|
LuceneTestCase.Nightly |
Annotation for tests that should only be run during nightly builds.
|
LuceneTestCaseRunner |
optionally filters the tests to be run by TEST_METHOD
|
MockAnalyzer |
Analyzer for testing
|
MockCharFilter |
the purpose of this charfilter is to send offsets out of bounds
if the analyzer doesn't use correctOffset or does incorrect offset math.
|
MockDirectoryWrapper |
This is a Directory Wrapper that adds methods
intended to be used only by unit tests.
|
MockDirectoryWrapper.Failure |
Objects that represent fail-able conditions.
|
MockDirectoryWrapper.Throttling |
|
MockFixedLengthPayloadFilter |
TokenFilter that adds random fixed-length payloads.
|
MockGraphTokenFilter |
Randomly inserts overlapped (posInc=0) tokens with
posLength sometimes > 1.
|
MockHoleInjectingTokenFilter |
|
MockIndexInput |
IndexInput backed by a byte[] for testing.
|
MockIndexInputWrapper |
Used by MockDirectoryWrapper to create an input stream that
keeps track of when it's been closed.
|
MockIndexOutputWrapper |
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.
|
MockLockFactoryWrapper |
Used by MockDirectoryWrapper to wrap another factory
and track open locks.
|
MockRandomLookaheadTokenFilter |
|
MockRandomMergePolicy |
MergePolicy that makes random decisions for testing.
|
MockReaderWrapper |
Wraps a Reader, and can throw random or fixed
exceptions, and spoon feed read chars.
|
MockTokenizer |
Tokenizer for testing.
|
MockVariableLengthPayloadFilter |
TokenFilter that adds random variable-length payloads.
|
QueryParserTestBase |
Base Test class for QueryParser subclasses
|
QueryParserTestBase.QPTestAnalyzer |
Filters LowerCaseTokenizer with QPTestFilter.
|
QueryParserTestBase.QPTestFilter |
Filter which discards the token 'stop' and which expands the
token 'phrase' into 'phrase1 phrase2'
|
QueryParserTestBase.QPTestParser |
Test QueryParser that does not allow fuzzy or wildcard queries.
|
QueryUtils |
Utility class for sanity-checking queries.
|
RandomIndexWriter |
Silly class that randomizes the indexing experience.
|
Rethrow |
Sneaky: rethrowing checked exceptions as unchecked
ones.
|
RollingBuffer<T extends RollingBuffer.Resettable> |
Acts like forever growing T[], but internally uses a
circular buffer to reuse instances of T.
|
RollingBuffer.Resettable |
|
SearchEquivalenceTestBase |
Simple base class for checking search equivalence.
|
SlowMultiReaderWrapper |
Acts like Lucene 4.x's SlowMultiReaderWrapper for testing
of top-level MultiTermEnum, MultiTermDocs, ...
|
SmartRandom |
A random that tracks if its been initialized properly,
and throws an exception if it hasn't.
|
StoreClassNameRule |
|
SystemPropertiesInvariantRule |
|
SystemPropertiesRestoreRule |
Restore system properties from before the nested Statement .
|
ThreadedIndexingAndSearchingTestCase |
Utility class that spawns multiple indexing and
searching threads.
|
ThrottledIndexOutput |
Intentionally slow IndexOutput for testing.
|
TokenStreamToDot |
Consumes a TokenStream and outputs the dot (graphviz) string (graph).
|
UncaughtExceptionsRule |
|
UncaughtExceptionsRule.UncaughtExceptionEntry |
|
ValidatingTokenFilter |
A TokenFilter that checks consistency of the tokens (eg
offsets are consistent with one another).
|
VocabularyAssert |
Utility class for doing vocabulary-based stemming tests
|
_TestHelper |
This class provides access to package-level features defined in the
store package.
|
_TestUtil |
General utility methods for Lucene unit tests.
|