BaseTokenStreamTestCase
Base class for all Lucene unit tests that use TokenStreams.
When writing unit tests for analysis components, it's highly recommended to use the helper methods here (especially in conjunction with MockAnalyzer or MockTokenizer), as they contain many assertions and checks to catch bugs.
See also
Inheritors
Types
Link copied to clipboard
Attribute that records if it was cleared or not. This is used for testing that clearAttributes() was called correctly.
Link copied to clipboard
class CheckClearAttributesAttributeImpl : AttributeImpl, BaseTokenStreamTestCase.CheckClearAttributesAttribute
Attribute that records if it was cleared or not. This is used for testing that clearAttributes() was called correctly.