Class BaseIndexFileFormatTestCase
Common tests to all index formats.
Inheritance
BaseIndexFileFormatTestCase
Inherited Members
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.TestFramework.dll
Syntax
public abstract class BaseIndexFileFormatTestCase : LuceneTestCase
Properties
ExcludedExtensionsFromByteCounts
Return the list of extensions that should be excluded from byte counts when comparing indices that store the same content.
Declaration
protected virtual ICollection<string> ExcludedExtensionsFromByteCounts { get; }
Property Value
Type | Description |
---|---|
ICollection<string> |
Methods
AddRandomFields(Document)
Add random fields to the provided document.
Declaration
protected abstract void AddRandomFields(Document doc)
Parameters
Type | Name | Description |
---|---|---|
Document | doc |
GetCodec()
Returns the codec to run tests against
Declaration
protected abstract Codec GetCodec()
Returns
Type | Description |
---|---|
Codec |
SetUp()
For subclasses to override. Overrides must call base.SetUp()
.
Declaration
public override void SetUp()
Overrides
TearDown()
For subclasses to override. Overrides must call base.TearDown()
.
Declaration
public override void TearDown()
Overrides
TestMergeStability()
The purpose of this test is to make sure that bulk merge doesn't accumulate useless data over runs.
Declaration
[Test]
public virtual void TestMergeStability()