C# Класс Lucene.Net.Search.TestSort

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
SetUp ( ) : void

LUCENENET specific. Ensure we have an infostream attached to the default FieldCache when running the tests. In Java, this was done in the Core.Search.TestFieldCache.TestInfoStream() method (which polluted the state of these tests), but we need to make the tests self-contained so they can be run correctly regardless of order. Not setting the InfoStream skips an execution path within these tests, so we should do it to make sure we test all of the code.

TearDown ( ) : void

LUCENENET specific. See SetUp(). Dispose our InfoStream and set it to null to avoid polluting the state of other tests.

Приватные методы

Метод Описание
TestByte ( ) : void
TestByteMissing ( ) : void
TestByteMissingLast ( ) : void
TestByteReverse ( ) : void
TestCustomByteParser ( ) : void
TestCustomDoubleParser ( ) : void
TestCustomFloatParser ( ) : void
TestCustomIntParser ( ) : void
TestCustomLongParser ( ) : void
TestCustomShortParser ( ) : void
TestDouble ( ) : void
TestDoubleMissing ( ) : void
TestDoubleMissingLast ( ) : void
TestDoubleReverse ( ) : void
TestDoubleSignedZero ( ) : void
TestEmptyIndex ( ) : void
TestEmptyStringVsNullStringSort ( ) : void
TestFieldDoc ( ) : void
TestFieldDocReverse ( ) : void
TestFieldScore ( ) : void
TestFieldScoreReverse ( ) : void
TestFloat ( ) : void
TestFloatMissing ( ) : void
TestFloatMissingLast ( ) : void
TestFloatReverse ( ) : void
TestInt ( ) : void
TestIntMissing ( ) : void
TestIntMissingLast ( ) : void
TestIntReverse ( ) : void
TestLong ( ) : void
TestLongMissing ( ) : void
TestLongMissingLast ( ) : void
TestLongReverse ( ) : void
TestMaxScore ( ) : void
TestMultiValuedField ( ) : void
TestScore ( ) : void
TestShort ( ) : void
TestShortMissing ( ) : void
TestShortMissingLast ( ) : void
TestShortReverse ( ) : void
TestSortOneDocument ( ) : void
TestSortOneDocumentWithScores ( ) : void
TestSortTwoFields ( ) : void
TestString ( ) : void
TestStringMissing ( ) : void
TestStringMissingSortedFirst ( ) : void
TestStringMissingSortedFirstReverse ( ) : void
TestStringReverse ( ) : void
TestStringVal ( ) : void
TestStringValMissing ( ) : void
TestStringValMissingSortedLast ( ) : void
TestStringValMissingSortedLastReverse ( ) : void
TestStringValReverse ( ) : void

Описание методов

SetUp() публичный метод

LUCENENET specific. Ensure we have an infostream attached to the default FieldCache when running the tests. In Java, this was done in the Core.Search.TestFieldCache.TestInfoStream() method (which polluted the state of these tests), but we need to make the tests self-contained so they can be run correctly regardless of order. Not setting the InfoStream skips an execution path within these tests, so we should do it to make sure we test all of the code.
public SetUp ( ) : void
Результат void

TearDown() публичный метод

LUCENENET specific. See SetUp(). Dispose our InfoStream and set it to null to avoid polluting the state of other tests.
public TearDown ( ) : void
Результат void