Lucene 4.5.0 Test Framework API

The Lucene Test Framework is used by Lucene as the basis for its tests.


org.apache.lucene.analysis Support for testing analysis components.
org.apache.lucene.codecs Codecs for testing (simulate old disk formats, wacky theoretical use cases, etc)
org.apache.lucene.codecs.appending Codec for generating test indexes in the Appending format
org.apache.lucene.codecs.asserting Codec for testing that asserts various contracts of the codec apis.
org.apache.lucene.codecs.bloom Support for generating test indexes using the BloomFilteringPostingsFormat
org.apache.lucene.codecs.cheapbastard Codec that unreasonably tries to use as little RAM as possible.
org.apache.lucene.codecs.compressing Support for testing CompressingStoredFieldsFormat.
org.apache.lucene.codecs.compressing.dummy Dummy CompressingCodec implementation used for testing.
org.apache.lucene.codecs.lucene3x Support for generating test indexes in the Lucene 3.x index format.
org.apache.lucene.codecs.lucene40 Support for testing Lucene40PostingsFormat.
org.apache.lucene.codecs.lucene41 Support for testing Lucene41Codec.
org.apache.lucene.codecs.lucene41ords Codec for testing that supports TermsEnum.ord()
org.apache.lucene.codecs.lucene42 Support for testing Lucene42Codec.
org.apache.lucene.codecs.mockintblock Integer encoder implementations for testing.
org.apache.lucene.codecs.mockrandom Frankenstein codec for testing that pieces together random components.
org.apache.lucene.codecs.mocksep Very simple implementations of org.apache.lucene.codecs.sep for testing.
org.apache.lucene.codecs.nestedpulsing Codec for testing that wraps PulsingPostingsFormat with itself.
org.apache.lucene.codecs.ramonly Codec for testing that never writes to disk.
org.apache.lucene.index Support for testing of indexes. Support for testing search components. Support for testing store mechanisms.
org.apache.lucene.util General test support.
org.apache.lucene.util.automaton Support for testing automata.
org.apache.lucene.util.fst Support for FST testing.


The Lucene Test Framework is used by Lucene as the basis for its tests. The framework can also be used for testing third-party code that uses the Lucene API.

Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.