Class BasePostingsFormatTestCase
Abstract class to do basic tests for a PostingsFormat. NOTE: this test focuses on the postings (docs/freqs/positions/payloads/offsets) impl, not the terms dict. The [stretch] goal is for this test to be so thorough in testing a new PostingsFormat that if this test passes, then all Lucene/Solr tests should also pass. Ie, if there is some bug in a given PostingsFormat that this test fails to catch then this test needs to be improved!
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.TestFramework.dll
Syntax
public abstract class BasePostingsFormatTestCase : BaseIndexFileFormatTestCase
Methods
| Improve this Doc View SourceAddRandomFields(Document)
Declaration
protected override void AddRandomFields(Document doc)
Parameters
Type | Name | Description |
---|---|---|
Document | doc |
Overrides
| Improve this Doc View SourceAfterClass()
Declaration
[OneTimeTearDown]
public override void AfterClass()
Overrides
| Improve this Doc View SourceBeforeClass()
Declaration
[OneTimeSetUp]
public override void BeforeClass()
Overrides
| Improve this Doc View SourceTestDocsAndFreqs()
Declaration
[Test]
public virtual void TestDocsAndFreqs()
TestDocsAndFreqsAndPositions()
Declaration
[Test]
public virtual void TestDocsAndFreqsAndPositions()
TestDocsAndFreqsAndPositionsAndOffsets()
Declaration
[Test]
public virtual void TestDocsAndFreqsAndPositionsAndOffsets()
TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads()
Declaration
[Test]
public virtual void TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads()
TestDocsAndFreqsAndPositionsAndPayloads()
Declaration
[Test]
public virtual void TestDocsAndFreqsAndPositionsAndPayloads()
TestDocsOnly()
Declaration
[Test]
public virtual void TestDocsOnly()
TestRandom()
Declaration
[Test]
public virtual void TestRandom()