Class BaseIndexFileFormatTestCase
Common tests to all index formats.
Inheritance
System.Object
BaseIndexFileFormatTestCase
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 BaseIndexFileFormatTestCase : LuceneTestCase
Properties
| Improve this Doc View SourceExcludedExtensionsFromByteCounts
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 |
---|---|
System.Collections.Generic.ICollection<System.String> |
Methods
| Improve this Doc View SourceAddRandomFields(Document)
Add random fields to the provided document.
Declaration
protected abstract void AddRandomFields(Document doc)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Documents.Document | doc |
GetCodec()
Returns the codec to run tests against
Declaration
protected abstract Codec GetCodec()
Returns
Type | Description |
---|---|
Lucene.Net.Codecs.Codec |
SetUp()
Declaration
public override void SetUp()
Overrides
| Improve this Doc View SourceTearDown()
Declaration
public override void TearDown()
Overrides
| Improve this Doc View SourceTestMergeStability()
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()