C# Class Lucene.Net.Index.BaseIndexFileFormatTestCase

Common tests to all index formats.
Inheritance: LuceneTestCase
Afficher le fichier Open project: apache/lucenenet

Méthodes publiques

Méthode Description
TestMergeStability ( ) : void

The purpose of this test is to make sure that bulk merge doesn't accumulate useless data over runs.

Méthodes protégées

Méthode Description
AddRandomFields ( Document doc ) : void

Add random fields to the provided document.

ExcludedExtensionsFromByteCounts ( ) : ICollection

Return the list of extensions that should be excluded from byte counts when comparing indices that store the same content.

Private Methods

Méthode Description
BytesUsedByExtension ( Directory d ) : long>.IDictionary
SetUp ( ) : void
TearDown ( ) : void

Method Details

AddRandomFields() protected abstract méthode

Add random fields to the provided document.
protected abstract AddRandomFields ( Document doc ) : void
doc Document
Résultat void

ExcludedExtensionsFromByteCounts() protected méthode

Return the list of extensions that should be excluded from byte counts when comparing indices that store the same content.
protected ExcludedExtensionsFromByteCounts ( ) : ICollection
Résultat ICollection

TestMergeStability() public méthode

The purpose of this test is to make sure that bulk merge doesn't accumulate useless data over runs.
public TestMergeStability ( ) : void
Résultat void