Namespace Lucene.Net.Util
Some utility classes.
Classes
BaseDocIdSetTestCase<T>
Base test class for
English
Converts numbers to english strings for testing.
FailOnNonBulkMergesInfoStream
Hackidy-Häck-Hack to cause a test to fail on non-bulk merges
LineFileDocs
Minimal port of benchmark's LneDocSource + DocMaker, so tests can enum docs from a line file created by benchmark's WriteLineDoc task
LuceneTestCase
LUCENENET specific extensions to LuceneTestCase to make it easier to port tests from Java with fewer changes.
LuceneTestCase.ConcurrentMergeSchedulerFactories
Contains a list of all the Func<IConcurrentMergeSchedulers> to be tested. Delegate method allows them to be created on their target thread instead of the test thread and also ensures a separate instance is created in each case (which can affect the result of the test).
LUCENENET specific for injection into tests (i.e. using NUnit.Framework.ValueSourceAttribute)
LuceneTestCase.SuppressCodecsAttribute
Annotation for test classes that should avoid certain codec types (because they are expensive, for example).
LuceneTestCase.SuppressTempFileChecksAttribute
Marks any suites which are known not to close all the temporary files. This may prevent temp files and folders from being cleaned up after the suite is completed.
NullInfoStream
Prints nothing. Just to make sure tests pass w/ and without enabled
StackTraceHelper
LUCENENET specific class to normalize stack trace behavior between different .NET Framework and .NET Standard 1.x, which did not support the StackTrace class.
TestUtil
General utility methods for Lucene unit tests.
ThrottledIndexOutput
Intentionally slow
TimeUnits
Time unit constants for use in annotations.