You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2016/10/23 13:02:18 UTC
[32/50] [abbrv] lucenenet git commit: Revert "HACK: Added stubs for
all tests subclasses of abstract test classes (with [Test] attributes) and
commented the [Test] attributes in the abstract classes to keep the tests
from running in the wrong context."
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92de8d7e/src/Lucene.Net.Tests.Codecs/Memory/TestDirectDocValuesFormat.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Codecs/Memory/TestDirectDocValuesFormat.cs b/src/Lucene.Net.Tests.Codecs/Memory/TestDirectDocValuesFormat.cs
index 889f963..ace0574 100644
--- a/src/Lucene.Net.Tests.Codecs/Memory/TestDirectDocValuesFormat.cs
+++ b/src/Lucene.Net.Tests.Codecs/Memory/TestDirectDocValuesFormat.cs
@@ -35,506 +35,5 @@ namespace Lucene.Net.Codecs.Memory
return codec;
}
}
-
-
- #region BaseDocValuesFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestOneNumber()
- {
- base.TestOneNumber();
- }
-
- [Test]
- public override void TestOneFloat()
- {
- base.TestOneFloat();
- }
-
- [Test]
- public override void TestTwoNumbers()
- {
- base.TestTwoNumbers();
- }
-
- [Test]
- public override void TestTwoBinaryValues()
- {
- base.TestTwoBinaryValues();
- }
-
- [Test]
- public override void TestTwoFieldsMixed()
- {
- base.TestTwoFieldsMixed();
- }
-
- [Test]
- public override void TestThreeFieldsMixed()
- {
- base.TestThreeFieldsMixed();
- }
-
- [Test]
- public override void TestThreeFieldsMixed2()
- {
- base.TestThreeFieldsMixed2();
- }
-
- [Test]
- public override void TestTwoDocumentsNumeric()
- {
- base.TestTwoDocumentsNumeric();
- }
-
- [Test]
- public override void TestTwoDocumentsMerged()
- {
- base.TestTwoDocumentsMerged();
- }
-
- [Test]
- public override void TestBigNumericRange()
- {
- base.TestBigNumericRange();
- }
-
- [Test]
- public override void TestBigNumericRange2()
- {
- base.TestBigNumericRange2();
- }
-
- [Test]
- public override void TestBytes()
- {
- base.TestBytes();
- }
-
- [Test]
- public override void TestBytesTwoDocumentsMerged()
- {
- base.TestBytesTwoDocumentsMerged();
- }
-
- [Test]
- public override void TestSortedBytes()
- {
- base.TestSortedBytes();
- }
-
- [Test]
- public override void TestSortedBytesTwoDocuments()
- {
- base.TestSortedBytesTwoDocuments();
- }
-
- [Test]
- public override void TestSortedBytesThreeDocuments()
- {
- base.TestSortedBytesThreeDocuments();
- }
-
- [Test]
- public override void TestSortedBytesTwoDocumentsMerged()
- {
- base.TestSortedBytesTwoDocumentsMerged();
- }
-
- [Test]
- public override void TestSortedMergeAwayAllValues()
- {
- base.TestSortedMergeAwayAllValues();
- }
-
- [Test]
- public override void TestBytesWithNewline()
- {
- base.TestBytesWithNewline();
- }
-
- [Test]
- public override void TestMissingSortedBytes()
- {
- base.TestMissingSortedBytes();
- }
-
- [Test]
- public override void TestSortedTermsEnum()
- {
- base.TestSortedTermsEnum();
- }
-
- [Test]
- public override void TestEmptySortedBytes()
- {
- base.TestEmptySortedBytes();
- }
-
- [Test]
- public override void TestEmptyBytes()
- {
- base.TestEmptyBytes();
- }
-
- [Test]
- public override void TestVeryLargeButLegalBytes()
- {
- base.TestVeryLargeButLegalBytes();
- }
-
- [Test]
- public override void TestVeryLargeButLegalSortedBytes()
- {
- base.TestVeryLargeButLegalSortedBytes();
- }
-
- [Test]
- public override void TestCodecUsesOwnBytes()
- {
- base.TestCodecUsesOwnBytes();
- }
-
- [Test]
- public override void TestCodecUsesOwnSortedBytes()
- {
- base.TestCodecUsesOwnSortedBytes();
- }
-
- [Test]
- public override void TestCodecUsesOwnBytesEachTime()
- {
- base.TestCodecUsesOwnBytesEachTime();
- }
-
- [Test]
- public override void TestCodecUsesOwnSortedBytesEachTime()
- {
- base.TestCodecUsesOwnSortedBytesEachTime();
- }
-
- /*
- * Simple test case to show how to use the API
- */
- [Test]
- public override void TestDocValuesSimple()
- {
- base.TestDocValuesSimple();
- }
-
- [Test]
- public override void TestRandomSortedBytes()
- {
- base.TestRandomSortedBytes();
- }
-
- [Test]
- public override void TestBooleanNumericsVsStoredFields()
- {
- base.TestBooleanNumericsVsStoredFields();
- }
-
- [Test]
- public override void TestByteNumericsVsStoredFields()
- {
- base.TestByteNumericsVsStoredFields();
- }
-
- [Test]
- public override void TestByteMissingVsFieldCache()
- {
- base.TestByteMissingVsFieldCache();
- }
-
- [Test]
- public override void TestShortNumericsVsStoredFields()
- {
- base.TestShortNumericsVsStoredFields();
- }
-
- [Test]
- public override void TestShortMissingVsFieldCache()
- {
- base.TestShortMissingVsFieldCache();
- }
-
- [Test]
- public override void TestIntNumericsVsStoredFields()
- {
- base.TestIntNumericsVsStoredFields();
- }
-
- [Test]
- public override void TestIntMissingVsFieldCache()
- {
- base.TestIntMissingVsFieldCache();
- }
-
- [Test]
- public override void TestLongNumericsVsStoredFields()
- {
- base.TestLongNumericsVsStoredFields();
- }
-
- [Test]
- public override void TestLongMissingVsFieldCache()
- {
- base.TestLongMissingVsFieldCache();
- }
-
- [Test]
- public override void TestBinaryFixedLengthVsStoredFields()
- {
- base.TestBinaryFixedLengthVsStoredFields();
- }
-
- [Test]
- public override void TestBinaryVariableLengthVsStoredFields()
- {
- base.TestBinaryVariableLengthVsStoredFields();
- }
-
- [Test]
- public override void TestSortedFixedLengthVsStoredFields()
- {
- base.TestSortedFixedLengthVsStoredFields();
- }
-
- [Test]
- public override void TestSortedFixedLengthVsFieldCache()
- {
- base.TestSortedFixedLengthVsFieldCache();
- }
-
- [Test]
- public override void TestSortedVariableLengthVsFieldCache()
- {
- base.TestSortedVariableLengthVsFieldCache();
- }
-
- [Test]
- public override void TestSortedVariableLengthVsStoredFields()
- {
- base.TestSortedVariableLengthVsStoredFields();
- }
-
- [Test]
- public override void TestSortedSetOneValue()
- {
- base.TestSortedSetOneValue();
- }
-
- [Test]
- public override void TestSortedSetTwoFields()
- {
- base.TestSortedSetTwoFields();
- }
-
- [Test]
- public override void TestSortedSetTwoDocumentsMerged()
- {
- base.TestSortedSetTwoDocumentsMerged();
- }
-
- [Test]
- public override void TestSortedSetTwoValues()
- {
- base.TestSortedSetTwoValues();
- }
-
- [Test]
- public override void TestSortedSetTwoValuesUnordered()
- {
- base.TestSortedSetTwoValuesUnordered();
- }
-
- [Test]
- public override void TestSortedSetThreeValuesTwoDocs()
- {
- base.TestSortedSetThreeValuesTwoDocs();
- }
-
- [Test]
- public override void TestSortedSetTwoDocumentsLastMissing()
- {
- base.TestSortedSetTwoDocumentsLastMissing();
- }
-
- [Test]
- public override void TestSortedSetTwoDocumentsLastMissingMerge()
- {
- base.TestSortedSetTwoDocumentsLastMissingMerge();
- }
-
- [Test]
- public override void TestSortedSetTwoDocumentsFirstMissing()
- {
- base.TestSortedSetTwoDocumentsFirstMissing();
- }
-
- [Test]
- public override void TestSortedSetTwoDocumentsFirstMissingMerge()
- {
- base.TestSortedSetTwoDocumentsFirstMissingMerge();
- }
-
- [Test]
- public override void TestSortedSetMergeAwayAllValues()
- {
- base.TestSortedSetMergeAwayAllValues();
- }
-
- [Test]
- public override void TestSortedSetTermsEnum()
- {
- base.TestSortedSetTermsEnum();
- }
-
- [Test]
- public override void TestSortedSetFixedLengthVsStoredFields()
- {
- base.TestSortedSetFixedLengthVsStoredFields();
- }
-
- [Test]
- public override void TestSortedSetVariableLengthVsStoredFields()
- {
- base.TestSortedSetVariableLengthVsStoredFields();
- }
-
- [Test]
- public override void TestSortedSetFixedLengthSingleValuedVsStoredFields()
- {
- base.TestSortedSetFixedLengthSingleValuedVsStoredFields();
- }
-
- [Test]
- public override void TestSortedSetVariableLengthSingleValuedVsStoredFields()
- {
- base.TestSortedSetVariableLengthSingleValuedVsStoredFields();
- }
-
- [Test]
- public override void TestSortedSetFixedLengthVsUninvertedField()
- {
- base.TestSortedSetFixedLengthVsUninvertedField();
- }
-
- [Test]
- public override void TestSortedSetVariableLengthVsUninvertedField()
- {
- base.TestSortedSetVariableLengthVsUninvertedField();
- }
-
- [Test]
- public override void TestGCDCompression()
- {
- base.TestGCDCompression();
- }
-
- [Test]
- public override void TestZeros()
- {
- base.TestZeros();
- }
-
- [Test]
- public override void TestZeroOrMin()
- {
- base.TestZeroOrMin();
- }
-
- [Test]
- public override void TestTwoNumbersOneMissing()
- {
- base.TestTwoNumbersOneMissing();
- }
-
- [Test]
- public override void TestTwoNumbersOneMissingWithMerging()
- {
- base.TestTwoNumbersOneMissingWithMerging();
- }
-
- [Test]
- public override void TestThreeNumbersOneMissingWithMerging()
- {
- base.TestThreeNumbersOneMissingWithMerging();
- }
-
- [Test]
- public override void TestTwoBytesOneMissing()
- {
- base.TestTwoBytesOneMissing();
- }
-
- [Test]
- public override void TestTwoBytesOneMissingWithMerging()
- {
- base.TestTwoBytesOneMissingWithMerging();
- }
-
- [Test]
- public override void TestThreeBytesOneMissingWithMerging()
- {
- base.TestThreeBytesOneMissingWithMerging();
- }
-
- // LUCENE-4853
- [Test]
- public override void TestHugeBinaryValues()
- {
- base.TestHugeBinaryValues();
- }
-
- // TODO: get this out of here and into the deprecated codecs (4.0, 4.2)
- [Test]
- public override void TestHugeBinaryValueLimit()
- {
- base.TestHugeBinaryValueLimit();
- }
-
- /// <summary>
- /// Tests dv against stored fields with threads (binary/numeric/sorted, no missing)
- /// </summary>
- [Test]
- public override void TestThreads()
- {
- base.TestThreads();
- }
-
- /// <summary>
- /// Tests dv against stored fields with threads (all types + missing)
- /// </summary>
- [Test]
- public override void TestThreads2()
- {
- base.TestThreads2();
- }
-
- // LUCENE-5218
- [Test]
- public override void TestEmptyBinaryValueOnPageSizes()
- {
- base.TestEmptyBinaryValueOnPageSizes();
- }
-
- #endregion
-
- #region BaseIndexFileFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestMergeStability()
- {
- base.TestMergeStability();
- }
-
- #endregion
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92de8d7e/src/Lucene.Net.Tests.Codecs/Memory/TestDirectPostingsFormat.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Codecs/Memory/TestDirectPostingsFormat.cs b/src/Lucene.Net.Tests.Codecs/Memory/TestDirectPostingsFormat.cs
index 0bfd3d7..990e29c 100644
--- a/src/Lucene.Net.Tests.Codecs/Memory/TestDirectPostingsFormat.cs
+++ b/src/Lucene.Net.Tests.Codecs/Memory/TestDirectPostingsFormat.cs
@@ -36,68 +36,5 @@ namespace Lucene.Net.Codecs.Memory
return codec;
}
}
-
-
- #region BasePostingsFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestDocsOnly()
- {
- base.TestDocsOnly();
- }
-
- [Test]
- public override void TestDocsAndFreqs()
- {
- base.TestDocsAndFreqs();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositions()
- {
- base.TestDocsAndFreqsAndPositions();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndPayloads()
- {
- base.TestDocsAndFreqsAndPositionsAndPayloads();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndOffsets()
- {
- base.TestDocsAndFreqsAndPositionsAndOffsets();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads()
- {
- base.TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads();
- }
-
- [Test]
- public override void TestRandom()
- {
- base.TestRandom();
- }
-
- #endregion
-
- #region BaseIndexFileFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestMergeStability()
- {
- base.TestMergeStability();
- }
-
- #endregion
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92de8d7e/src/Lucene.Net.Tests.Codecs/Memory/TestFSTOrdPostingsFormat.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Codecs/Memory/TestFSTOrdPostingsFormat.cs b/src/Lucene.Net.Tests.Codecs/Memory/TestFSTOrdPostingsFormat.cs
index 910584c..6f30a01 100644
--- a/src/Lucene.Net.Tests.Codecs/Memory/TestFSTOrdPostingsFormat.cs
+++ b/src/Lucene.Net.Tests.Codecs/Memory/TestFSTOrdPostingsFormat.cs
@@ -35,68 +35,5 @@ namespace Lucene.Net.Codecs.Memory
return codec;
}
}
-
-
- #region BasePostingsFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestDocsOnly()
- {
- base.TestDocsOnly();
- }
-
- [Test]
- public override void TestDocsAndFreqs()
- {
- base.TestDocsAndFreqs();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositions()
- {
- base.TestDocsAndFreqsAndPositions();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndPayloads()
- {
- base.TestDocsAndFreqsAndPositionsAndPayloads();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndOffsets()
- {
- base.TestDocsAndFreqsAndPositionsAndOffsets();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads()
- {
- base.TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads();
- }
-
- [Test]
- public override void TestRandom()
- {
- base.TestRandom();
- }
-
- #endregion
-
- #region BaseIndexFileFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestMergeStability()
- {
- base.TestMergeStability();
- }
-
- #endregion
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92de8d7e/src/Lucene.Net.Tests.Codecs/Memory/TestFSTOrdPulsing41PostingsFormat.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Codecs/Memory/TestFSTOrdPulsing41PostingsFormat.cs b/src/Lucene.Net.Tests.Codecs/Memory/TestFSTOrdPulsing41PostingsFormat.cs
index eb47d6c..ddb99c6 100644
--- a/src/Lucene.Net.Tests.Codecs/Memory/TestFSTOrdPulsing41PostingsFormat.cs
+++ b/src/Lucene.Net.Tests.Codecs/Memory/TestFSTOrdPulsing41PostingsFormat.cs
@@ -35,68 +35,5 @@ namespace Lucene.Net.Codecs.Memory
return codec;
}
}
-
-
- #region BasePostingsFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestDocsOnly()
- {
- base.TestDocsOnly();
- }
-
- [Test]
- public override void TestDocsAndFreqs()
- {
- base.TestDocsAndFreqs();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositions()
- {
- base.TestDocsAndFreqsAndPositions();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndPayloads()
- {
- base.TestDocsAndFreqsAndPositionsAndPayloads();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndOffsets()
- {
- base.TestDocsAndFreqsAndPositionsAndOffsets();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads()
- {
- base.TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads();
- }
-
- [Test]
- public override void TestRandom()
- {
- base.TestRandom();
- }
-
- #endregion
-
- #region BaseIndexFileFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestMergeStability()
- {
- base.TestMergeStability();
- }
-
- #endregion
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92de8d7e/src/Lucene.Net.Tests.Codecs/Memory/TestFSTPostingsFormat.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Codecs/Memory/TestFSTPostingsFormat.cs b/src/Lucene.Net.Tests.Codecs/Memory/TestFSTPostingsFormat.cs
index 7e094fd..cac7e77 100644
--- a/src/Lucene.Net.Tests.Codecs/Memory/TestFSTPostingsFormat.cs
+++ b/src/Lucene.Net.Tests.Codecs/Memory/TestFSTPostingsFormat.cs
@@ -35,68 +35,5 @@ namespace Lucene.Net.Codecs.Memory
return codec;
}
}
-
-
- #region BasePostingsFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestDocsOnly()
- {
- base.TestDocsOnly();
- }
-
- [Test]
- public override void TestDocsAndFreqs()
- {
- base.TestDocsAndFreqs();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositions()
- {
- base.TestDocsAndFreqsAndPositions();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndPayloads()
- {
- base.TestDocsAndFreqsAndPositionsAndPayloads();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndOffsets()
- {
- base.TestDocsAndFreqsAndPositionsAndOffsets();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads()
- {
- base.TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads();
- }
-
- [Test]
- public override void TestRandom()
- {
- base.TestRandom();
- }
-
- #endregion
-
- #region BaseIndexFileFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestMergeStability()
- {
- base.TestMergeStability();
- }
-
- #endregion
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92de8d7e/src/Lucene.Net.Tests.Codecs/Memory/TestFSTPulsing41PostingsFormat.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Codecs/Memory/TestFSTPulsing41PostingsFormat.cs b/src/Lucene.Net.Tests.Codecs/Memory/TestFSTPulsing41PostingsFormat.cs
index 13afde6..e9beed4 100644
--- a/src/Lucene.Net.Tests.Codecs/Memory/TestFSTPulsing41PostingsFormat.cs
+++ b/src/Lucene.Net.Tests.Codecs/Memory/TestFSTPulsing41PostingsFormat.cs
@@ -35,68 +35,5 @@ namespace Lucene.Net.Codecs.Memory
return codec;
}
}
-
-
- #region BasePostingsFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestDocsOnly()
- {
- base.TestDocsOnly();
- }
-
- [Test]
- public override void TestDocsAndFreqs()
- {
- base.TestDocsAndFreqs();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositions()
- {
- base.TestDocsAndFreqsAndPositions();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndPayloads()
- {
- base.TestDocsAndFreqsAndPositionsAndPayloads();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndOffsets()
- {
- base.TestDocsAndFreqsAndPositionsAndOffsets();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads()
- {
- base.TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads();
- }
-
- [Test]
- public override void TestRandom()
- {
- base.TestRandom();
- }
-
- #endregion
-
- #region BaseIndexFileFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestMergeStability()
- {
- base.TestMergeStability();
- }
-
- #endregion
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92de8d7e/src/Lucene.Net.Tests.Codecs/Memory/TestMemoryDocValuesFormat.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Codecs/Memory/TestMemoryDocValuesFormat.cs b/src/Lucene.Net.Tests.Codecs/Memory/TestMemoryDocValuesFormat.cs
index 33895b1..4f65807 100644
--- a/src/Lucene.Net.Tests.Codecs/Memory/TestMemoryDocValuesFormat.cs
+++ b/src/Lucene.Net.Tests.Codecs/Memory/TestMemoryDocValuesFormat.cs
@@ -40,531 +40,5 @@ namespace Lucene.Net.Codecs.Memory
{
return false;
}
-
-
- #region BaseCompressingDocValuesFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestUniqueValuesCompression()
- {
- base.TestUniqueValuesCompression();
- }
-
- [Test]
- public override void TestDateCompression()
- {
- base.TestDateCompression();
- }
-
- [Test]
- public override void TestSingleBigValueCompression()
- {
- base.TestSingleBigValueCompression();
- }
-
- #endregion
-
- #region BaseDocValuesFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestOneNumber()
- {
- base.TestOneNumber();
- }
-
- [Test]
- public override void TestOneFloat()
- {
- base.TestOneFloat();
- }
-
- [Test]
- public override void TestTwoNumbers()
- {
- base.TestTwoNumbers();
- }
-
- [Test]
- public override void TestTwoBinaryValues()
- {
- base.TestTwoBinaryValues();
- }
-
- [Test]
- public override void TestTwoFieldsMixed()
- {
- base.TestTwoFieldsMixed();
- }
-
- [Test]
- public override void TestThreeFieldsMixed()
- {
- base.TestThreeFieldsMixed();
- }
-
- [Test]
- public override void TestThreeFieldsMixed2()
- {
- base.TestThreeFieldsMixed2();
- }
-
- [Test]
- public override void TestTwoDocumentsNumeric()
- {
- base.TestTwoDocumentsNumeric();
- }
-
- [Test]
- public override void TestTwoDocumentsMerged()
- {
- base.TestTwoDocumentsMerged();
- }
-
- [Test]
- public override void TestBigNumericRange()
- {
- base.TestBigNumericRange();
- }
-
- [Test]
- public override void TestBigNumericRange2()
- {
- base.TestBigNumericRange2();
- }
-
- [Test]
- public override void TestBytes()
- {
- base.TestBytes();
- }
-
- [Test]
- public override void TestBytesTwoDocumentsMerged()
- {
- base.TestBytesTwoDocumentsMerged();
- }
-
- [Test]
- public override void TestSortedBytes()
- {
- base.TestSortedBytes();
- }
-
- [Test]
- public override void TestSortedBytesTwoDocuments()
- {
- base.TestSortedBytesTwoDocuments();
- }
-
- [Test]
- public override void TestSortedBytesThreeDocuments()
- {
- base.TestSortedBytesThreeDocuments();
- }
-
- [Test]
- public override void TestSortedBytesTwoDocumentsMerged()
- {
- base.TestSortedBytesTwoDocumentsMerged();
- }
-
- [Test]
- public override void TestSortedMergeAwayAllValues()
- {
- base.TestSortedMergeAwayAllValues();
- }
-
- [Test]
- public override void TestBytesWithNewline()
- {
- base.TestBytesWithNewline();
- }
-
- [Test]
- public override void TestMissingSortedBytes()
- {
- base.TestMissingSortedBytes();
- }
-
- [Test]
- public override void TestSortedTermsEnum()
- {
- base.TestSortedTermsEnum();
- }
-
- [Test]
- public override void TestEmptySortedBytes()
- {
- base.TestEmptySortedBytes();
- }
-
- [Test]
- public override void TestEmptyBytes()
- {
- base.TestEmptyBytes();
- }
-
- [Test]
- public override void TestVeryLargeButLegalBytes()
- {
- base.TestVeryLargeButLegalBytes();
- }
-
- [Test]
- public override void TestVeryLargeButLegalSortedBytes()
- {
- base.TestVeryLargeButLegalSortedBytes();
- }
-
- [Test]
- public override void TestCodecUsesOwnBytes()
- {
- base.TestCodecUsesOwnBytes();
- }
-
- [Test]
- public override void TestCodecUsesOwnSortedBytes()
- {
- base.TestCodecUsesOwnSortedBytes();
- }
-
- [Test]
- public override void TestCodecUsesOwnBytesEachTime()
- {
- base.TestCodecUsesOwnBytesEachTime();
- }
-
- [Test]
- public override void TestCodecUsesOwnSortedBytesEachTime()
- {
- base.TestCodecUsesOwnSortedBytesEachTime();
- }
-
- /*
- * Simple test case to show how to use the API
- */
- [Test]
- public override void TestDocValuesSimple()
- {
- base.TestDocValuesSimple();
- }
-
- [Test]
- public override void TestRandomSortedBytes()
- {
- base.TestRandomSortedBytes();
- }
-
- [Test]
- public override void TestBooleanNumericsVsStoredFields()
- {
- base.TestBooleanNumericsVsStoredFields();
- }
-
- [Test]
- public override void TestByteNumericsVsStoredFields()
- {
- base.TestByteNumericsVsStoredFields();
- }
-
- [Test]
- public override void TestByteMissingVsFieldCache()
- {
- base.TestByteMissingVsFieldCache();
- }
-
- [Test]
- public override void TestShortNumericsVsStoredFields()
- {
- base.TestShortNumericsVsStoredFields();
- }
-
- [Test]
- public override void TestShortMissingVsFieldCache()
- {
- base.TestShortMissingVsFieldCache();
- }
-
- [Test]
- public override void TestIntNumericsVsStoredFields()
- {
- base.TestIntNumericsVsStoredFields();
- }
-
- [Test]
- public override void TestIntMissingVsFieldCache()
- {
- base.TestIntMissingVsFieldCache();
- }
-
- [Test]
- public override void TestLongNumericsVsStoredFields()
- {
- base.TestLongNumericsVsStoredFields();
- }
-
- [Test]
- public override void TestLongMissingVsFieldCache()
- {
- base.TestLongMissingVsFieldCache();
- }
-
- [Test]
- public override void TestBinaryFixedLengthVsStoredFields()
- {
- base.TestBinaryFixedLengthVsStoredFields();
- }
-
- [Test]
- public override void TestBinaryVariableLengthVsStoredFields()
- {
- base.TestBinaryVariableLengthVsStoredFields();
- }
-
- [Test]
- public override void TestSortedFixedLengthVsStoredFields()
- {
- base.TestSortedFixedLengthVsStoredFields();
- }
-
- [Test]
- public override void TestSortedFixedLengthVsFieldCache()
- {
- base.TestSortedFixedLengthVsFieldCache();
- }
-
- [Test]
- public override void TestSortedVariableLengthVsFieldCache()
- {
- base.TestSortedVariableLengthVsFieldCache();
- }
-
- [Test]
- public override void TestSortedVariableLengthVsStoredFields()
- {
- base.TestSortedVariableLengthVsStoredFields();
- }
-
- [Test]
- public override void TestSortedSetOneValue()
- {
- base.TestSortedSetOneValue();
- }
-
- [Test]
- public override void TestSortedSetTwoFields()
- {
- base.TestSortedSetTwoFields();
- }
-
- [Test]
- public override void TestSortedSetTwoDocumentsMerged()
- {
- base.TestSortedSetTwoDocumentsMerged();
- }
-
- [Test]
- public override void TestSortedSetTwoValues()
- {
- base.TestSortedSetTwoValues();
- }
-
- [Test]
- public override void TestSortedSetTwoValuesUnordered()
- {
- base.TestSortedSetTwoValuesUnordered();
- }
-
- [Test]
- public override void TestSortedSetThreeValuesTwoDocs()
- {
- base.TestSortedSetThreeValuesTwoDocs();
- }
-
- [Test]
- public override void TestSortedSetTwoDocumentsLastMissing()
- {
- base.TestSortedSetTwoDocumentsLastMissing();
- }
-
- [Test]
- public override void TestSortedSetTwoDocumentsLastMissingMerge()
- {
- base.TestSortedSetTwoDocumentsLastMissingMerge();
- }
-
- [Test]
- public override void TestSortedSetTwoDocumentsFirstMissing()
- {
- base.TestSortedSetTwoDocumentsFirstMissing();
- }
-
- [Test]
- public override void TestSortedSetTwoDocumentsFirstMissingMerge()
- {
- base.TestSortedSetTwoDocumentsFirstMissingMerge();
- }
-
- [Test]
- public override void TestSortedSetMergeAwayAllValues()
- {
- base.TestSortedSetMergeAwayAllValues();
- }
-
- [Test]
- public override void TestSortedSetTermsEnum()
- {
- base.TestSortedSetTermsEnum();
- }
-
- [Test]
- public override void TestSortedSetFixedLengthVsStoredFields()
- {
- base.TestSortedSetFixedLengthVsStoredFields();
- }
-
- [Test]
- public override void TestSortedSetVariableLengthVsStoredFields()
- {
- base.TestSortedSetVariableLengthVsStoredFields();
- }
-
- [Test]
- public override void TestSortedSetFixedLengthSingleValuedVsStoredFields()
- {
- base.TestSortedSetFixedLengthSingleValuedVsStoredFields();
- }
-
- [Test]
- public override void TestSortedSetVariableLengthSingleValuedVsStoredFields()
- {
- base.TestSortedSetVariableLengthSingleValuedVsStoredFields();
- }
-
- [Test]
- public override void TestSortedSetFixedLengthVsUninvertedField()
- {
- base.TestSortedSetFixedLengthVsUninvertedField();
- }
-
- [Test]
- public override void TestSortedSetVariableLengthVsUninvertedField()
- {
- base.TestSortedSetVariableLengthVsUninvertedField();
- }
-
- [Test]
- public override void TestGCDCompression()
- {
- base.TestGCDCompression();
- }
-
- [Test]
- public override void TestZeros()
- {
- base.TestZeros();
- }
-
- [Test]
- public override void TestZeroOrMin()
- {
- base.TestZeroOrMin();
- }
-
- [Test]
- public override void TestTwoNumbersOneMissing()
- {
- base.TestTwoNumbersOneMissing();
- }
-
- [Test]
- public override void TestTwoNumbersOneMissingWithMerging()
- {
- base.TestTwoNumbersOneMissingWithMerging();
- }
-
- [Test]
- public override void TestThreeNumbersOneMissingWithMerging()
- {
- base.TestThreeNumbersOneMissingWithMerging();
- }
-
- [Test]
- public override void TestTwoBytesOneMissing()
- {
- base.TestTwoBytesOneMissing();
- }
-
- [Test]
- public override void TestTwoBytesOneMissingWithMerging()
- {
- base.TestTwoBytesOneMissingWithMerging();
- }
-
- [Test]
- public override void TestThreeBytesOneMissingWithMerging()
- {
- base.TestThreeBytesOneMissingWithMerging();
- }
-
- // LUCENE-4853
- [Test]
- public override void TestHugeBinaryValues()
- {
- base.TestHugeBinaryValues();
- }
-
- // TODO: get this out of here and into the deprecated codecs (4.0, 4.2)
- [Test]
- public override void TestHugeBinaryValueLimit()
- {
- base.TestHugeBinaryValueLimit();
- }
-
- /// <summary>
- /// Tests dv against stored fields with threads (binary/numeric/sorted, no missing)
- /// </summary>
- [Test]
- public override void TestThreads()
- {
- base.TestThreads();
- }
-
- /// <summary>
- /// Tests dv against stored fields with threads (all types + missing)
- /// </summary>
- [Test]
- public override void TestThreads2()
- {
- base.TestThreads2();
- }
-
- // LUCENE-5218
- [Test]
- public override void TestEmptyBinaryValueOnPageSizes()
- {
- base.TestEmptyBinaryValueOnPageSizes();
- }
-
- #endregion
-
- #region BaseIndexFileFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestMergeStability()
- {
- base.TestMergeStability();
- }
-
- #endregion
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92de8d7e/src/Lucene.Net.Tests.Codecs/Memory/TestMemoryPostingsFormat.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Codecs/Memory/TestMemoryPostingsFormat.cs b/src/Lucene.Net.Tests.Codecs/Memory/TestMemoryPostingsFormat.cs
index 0f35370..938ae52 100644
--- a/src/Lucene.Net.Tests.Codecs/Memory/TestMemoryPostingsFormat.cs
+++ b/src/Lucene.Net.Tests.Codecs/Memory/TestMemoryPostingsFormat.cs
@@ -36,67 +36,5 @@ namespace Lucene.Net.Codecs.Memory
return codec;
}
}
-
- #region BasePostingsFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestDocsOnly()
- {
- base.TestDocsOnly();
- }
-
- [Test]
- public override void TestDocsAndFreqs()
- {
- base.TestDocsAndFreqs();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositions()
- {
- base.TestDocsAndFreqsAndPositions();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndPayloads()
- {
- base.TestDocsAndFreqsAndPositionsAndPayloads();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndOffsets()
- {
- base.TestDocsAndFreqsAndPositionsAndOffsets();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads()
- {
- base.TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads();
- }
-
- [Test]
- public override void TestRandom()
- {
- base.TestRandom();
- }
-
- #endregion
-
- #region BaseIndexFileFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestMergeStability()
- {
- base.TestMergeStability();
- }
-
- #endregion
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92de8d7e/src/Lucene.Net.Tests.Codecs/Pulsing/TestPulsingPostingsFormat.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Codecs/Pulsing/TestPulsingPostingsFormat.cs b/src/Lucene.Net.Tests.Codecs/Pulsing/TestPulsingPostingsFormat.cs
index 19cd845..cd6f9f2 100644
--- a/src/Lucene.Net.Tests.Codecs/Pulsing/TestPulsingPostingsFormat.cs
+++ b/src/Lucene.Net.Tests.Codecs/Pulsing/TestPulsingPostingsFormat.cs
@@ -36,68 +36,5 @@ namespace Lucene.Net.Codecs.Pulsing
return codec;
}
}
-
-
- #region BasePostingsFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestDocsOnly()
- {
- base.TestDocsOnly();
- }
-
- [Test]
- public override void TestDocsAndFreqs()
- {
- base.TestDocsAndFreqs();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositions()
- {
- base.TestDocsAndFreqsAndPositions();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndPayloads()
- {
- base.TestDocsAndFreqsAndPositionsAndPayloads();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndOffsets()
- {
- base.TestDocsAndFreqsAndPositionsAndOffsets();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads()
- {
- base.TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads();
- }
-
- [Test]
- public override void TestRandom()
- {
- base.TestRandom();
- }
-
- #endregion
-
- #region BaseIndexFileFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestMergeStability()
- {
- base.TestMergeStability();
- }
-
- #endregion
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92de8d7e/src/Lucene.Net.Tests.Codecs/Sep/TestSepPostingsFormat.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Codecs/Sep/TestSepPostingsFormat.cs b/src/Lucene.Net.Tests.Codecs/Sep/TestSepPostingsFormat.cs
index d1c5f29..c374053 100644
--- a/src/Lucene.Net.Tests.Codecs/Sep/TestSepPostingsFormat.cs
+++ b/src/Lucene.Net.Tests.Codecs/Sep/TestSepPostingsFormat.cs
@@ -37,67 +37,5 @@ namespace Lucene.Net.Codecs.Sep
return codec;
}
}
-
- #region BasePostingsFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestDocsOnly()
- {
- base.TestDocsOnly();
- }
-
- [Test]
- public override void TestDocsAndFreqs()
- {
- base.TestDocsAndFreqs();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositions()
- {
- base.TestDocsAndFreqsAndPositions();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndPayloads()
- {
- base.TestDocsAndFreqsAndPositionsAndPayloads();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndOffsets()
- {
- base.TestDocsAndFreqsAndPositionsAndOffsets();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads()
- {
- base.TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads();
- }
-
- [Test]
- public override void TestRandom()
- {
- base.TestRandom();
- }
-
- #endregion
-
- #region BaseIndexFileFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestMergeStability()
- {
- base.TestMergeStability();
- }
-
- #endregion
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92de8d7e/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextDocValuesFormat.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextDocValuesFormat.cs b/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextDocValuesFormat.cs
index bdd6d82..497e26f 100644
--- a/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextDocValuesFormat.cs
+++ b/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextDocValuesFormat.cs
@@ -42,505 +42,5 @@ namespace Lucene.Net.Codecs.SimpleText
return codec;
}
}
-
- #region BaseDocValuesFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestOneNumber()
- {
- base.TestOneNumber();
- }
-
- [Test]
- public override void TestOneFloat()
- {
- base.TestOneFloat();
- }
-
- [Test]
- public override void TestTwoNumbers()
- {
- base.TestTwoNumbers();
- }
-
- [Test]
- public override void TestTwoBinaryValues()
- {
- base.TestTwoBinaryValues();
- }
-
- [Test]
- public override void TestTwoFieldsMixed()
- {
- base.TestTwoFieldsMixed();
- }
-
- [Test]
- public override void TestThreeFieldsMixed()
- {
- base.TestThreeFieldsMixed();
- }
-
- [Test]
- public override void TestThreeFieldsMixed2()
- {
- base.TestThreeFieldsMixed2();
- }
-
- [Test]
- public override void TestTwoDocumentsNumeric()
- {
- base.TestTwoDocumentsNumeric();
- }
-
- [Test]
- public override void TestTwoDocumentsMerged()
- {
- base.TestTwoDocumentsMerged();
- }
-
- [Test]
- public override void TestBigNumericRange()
- {
- base.TestBigNumericRange();
- }
-
- [Test]
- public override void TestBigNumericRange2()
- {
- base.TestBigNumericRange2();
- }
-
- [Test]
- public override void TestBytes()
- {
- base.TestBytes();
- }
-
- [Test]
- public override void TestBytesTwoDocumentsMerged()
- {
- base.TestBytesTwoDocumentsMerged();
- }
-
- [Test]
- public override void TestSortedBytes()
- {
- base.TestSortedBytes();
- }
-
- [Test]
- public override void TestSortedBytesTwoDocuments()
- {
- base.TestSortedBytesTwoDocuments();
- }
-
- [Test]
- public override void TestSortedBytesThreeDocuments()
- {
- base.TestSortedBytesThreeDocuments();
- }
-
- [Test]
- public override void TestSortedBytesTwoDocumentsMerged()
- {
- base.TestSortedBytesTwoDocumentsMerged();
- }
-
- [Test]
- public override void TestSortedMergeAwayAllValues()
- {
- base.TestSortedMergeAwayAllValues();
- }
-
- [Test]
- public override void TestBytesWithNewline()
- {
- base.TestBytesWithNewline();
- }
-
- [Test]
- public override void TestMissingSortedBytes()
- {
- base.TestMissingSortedBytes();
- }
-
- [Test]
- public override void TestSortedTermsEnum()
- {
- base.TestSortedTermsEnum();
- }
-
- [Test]
- public override void TestEmptySortedBytes()
- {
- base.TestEmptySortedBytes();
- }
-
- [Test]
- public override void TestEmptyBytes()
- {
- base.TestEmptyBytes();
- }
-
- [Test]
- public override void TestVeryLargeButLegalBytes()
- {
- base.TestVeryLargeButLegalBytes();
- }
-
- [Test]
- public override void TestVeryLargeButLegalSortedBytes()
- {
- base.TestVeryLargeButLegalSortedBytes();
- }
-
- [Test]
- public override void TestCodecUsesOwnBytes()
- {
- base.TestCodecUsesOwnBytes();
- }
-
- [Test]
- public override void TestCodecUsesOwnSortedBytes()
- {
- base.TestCodecUsesOwnSortedBytes();
- }
-
- [Test]
- public override void TestCodecUsesOwnBytesEachTime()
- {
- base.TestCodecUsesOwnBytesEachTime();
- }
-
- [Test]
- public override void TestCodecUsesOwnSortedBytesEachTime()
- {
- base.TestCodecUsesOwnSortedBytesEachTime();
- }
-
- /*
- * Simple test case to show how to use the API
- */
- [Test]
- public override void TestDocValuesSimple()
- {
- base.TestDocValuesSimple();
- }
-
- [Test]
- public override void TestRandomSortedBytes()
- {
- base.TestRandomSortedBytes();
- }
-
- [Test]
- public override void TestBooleanNumericsVsStoredFields()
- {
- base.TestBooleanNumericsVsStoredFields();
- }
-
- [Test]
- public override void TestByteNumericsVsStoredFields()
- {
- base.TestByteNumericsVsStoredFields();
- }
-
- [Test]
- public override void TestByteMissingVsFieldCache()
- {
- base.TestByteMissingVsFieldCache();
- }
-
- [Test]
- public override void TestShortNumericsVsStoredFields()
- {
- base.TestShortNumericsVsStoredFields();
- }
-
- [Test]
- public override void TestShortMissingVsFieldCache()
- {
- base.TestShortMissingVsFieldCache();
- }
-
- [Test]
- public override void TestIntNumericsVsStoredFields()
- {
- base.TestIntNumericsVsStoredFields();
- }
-
- [Test]
- public override void TestIntMissingVsFieldCache()
- {
- base.TestIntMissingVsFieldCache();
- }
-
- [Test]
- public override void TestLongNumericsVsStoredFields()
- {
- base.TestLongNumericsVsStoredFields();
- }
-
- [Test]
- public override void TestLongMissingVsFieldCache()
- {
- base.TestLongMissingVsFieldCache();
- }
-
- [Test]
- public override void TestBinaryFixedLengthVsStoredFields()
- {
- base.TestBinaryFixedLengthVsStoredFields();
- }
-
- [Test]
- public override void TestBinaryVariableLengthVsStoredFields()
- {
- base.TestBinaryVariableLengthVsStoredFields();
- }
-
- [Test]
- public override void TestSortedFixedLengthVsStoredFields()
- {
- base.TestSortedFixedLengthVsStoredFields();
- }
-
- [Test]
- public override void TestSortedFixedLengthVsFieldCache()
- {
- base.TestSortedFixedLengthVsFieldCache();
- }
-
- [Test]
- public override void TestSortedVariableLengthVsFieldCache()
- {
- base.TestSortedVariableLengthVsFieldCache();
- }
-
- [Test]
- public override void TestSortedVariableLengthVsStoredFields()
- {
- base.TestSortedVariableLengthVsStoredFields();
- }
-
- [Test]
- public override void TestSortedSetOneValue()
- {
- base.TestSortedSetOneValue();
- }
-
- [Test]
- public override void TestSortedSetTwoFields()
- {
- base.TestSortedSetTwoFields();
- }
-
- [Test]
- public override void TestSortedSetTwoDocumentsMerged()
- {
- base.TestSortedSetTwoDocumentsMerged();
- }
-
- [Test]
- public override void TestSortedSetTwoValues()
- {
- base.TestSortedSetTwoValues();
- }
-
- [Test]
- public override void TestSortedSetTwoValuesUnordered()
- {
- base.TestSortedSetTwoValuesUnordered();
- }
-
- [Test]
- public override void TestSortedSetThreeValuesTwoDocs()
- {
- base.TestSortedSetThreeValuesTwoDocs();
- }
-
- [Test]
- public override void TestSortedSetTwoDocumentsLastMissing()
- {
- base.TestSortedSetTwoDocumentsLastMissing();
- }
-
- [Test]
- public override void TestSortedSetTwoDocumentsLastMissingMerge()
- {
- base.TestSortedSetTwoDocumentsLastMissingMerge();
- }
-
- [Test]
- public override void TestSortedSetTwoDocumentsFirstMissing()
- {
- base.TestSortedSetTwoDocumentsFirstMissing();
- }
-
- [Test]
- public override void TestSortedSetTwoDocumentsFirstMissingMerge()
- {
- base.TestSortedSetTwoDocumentsFirstMissingMerge();
- }
-
- [Test]
- public override void TestSortedSetMergeAwayAllValues()
- {
- base.TestSortedSetMergeAwayAllValues();
- }
-
- [Test]
- public override void TestSortedSetTermsEnum()
- {
- base.TestSortedSetTermsEnum();
- }
-
- [Test]
- public override void TestSortedSetFixedLengthVsStoredFields()
- {
- base.TestSortedSetFixedLengthVsStoredFields();
- }
-
- [Test]
- public override void TestSortedSetVariableLengthVsStoredFields()
- {
- base.TestSortedSetVariableLengthVsStoredFields();
- }
-
- [Test]
- public override void TestSortedSetFixedLengthSingleValuedVsStoredFields()
- {
- base.TestSortedSetFixedLengthSingleValuedVsStoredFields();
- }
-
- [Test]
- public override void TestSortedSetVariableLengthSingleValuedVsStoredFields()
- {
- base.TestSortedSetVariableLengthSingleValuedVsStoredFields();
- }
-
- [Test]
- public override void TestSortedSetFixedLengthVsUninvertedField()
- {
- base.TestSortedSetFixedLengthVsUninvertedField();
- }
-
- [Test]
- public override void TestSortedSetVariableLengthVsUninvertedField()
- {
- base.TestSortedSetVariableLengthVsUninvertedField();
- }
-
- [Test]
- public override void TestGCDCompression()
- {
- base.TestGCDCompression();
- }
-
- [Test]
- public override void TestZeros()
- {
- base.TestZeros();
- }
-
- [Test]
- public override void TestZeroOrMin()
- {
- base.TestZeroOrMin();
- }
-
- [Test]
- public override void TestTwoNumbersOneMissing()
- {
- base.TestTwoNumbersOneMissing();
- }
-
- [Test]
- public override void TestTwoNumbersOneMissingWithMerging()
- {
- base.TestTwoNumbersOneMissingWithMerging();
- }
-
- [Test]
- public override void TestThreeNumbersOneMissingWithMerging()
- {
- base.TestThreeNumbersOneMissingWithMerging();
- }
-
- [Test]
- public override void TestTwoBytesOneMissing()
- {
- base.TestTwoBytesOneMissing();
- }
-
- [Test]
- public override void TestTwoBytesOneMissingWithMerging()
- {
- base.TestTwoBytesOneMissingWithMerging();
- }
-
- [Test]
- public override void TestThreeBytesOneMissingWithMerging()
- {
- base.TestThreeBytesOneMissingWithMerging();
- }
-
- // LUCENE-4853
- [Test]
- public override void TestHugeBinaryValues()
- {
- base.TestHugeBinaryValues();
- }
-
- // TODO: get this out of here and into the deprecated codecs (4.0, 4.2)
- [Test]
- public override void TestHugeBinaryValueLimit()
- {
- base.TestHugeBinaryValueLimit();
- }
-
- /// <summary>
- /// Tests dv against stored fields with threads (binary/numeric/sorted, no missing)
- /// </summary>
- [Test]
- public override void TestThreads()
- {
- base.TestThreads();
- }
-
- /// <summary>
- /// Tests dv against stored fields with threads (all types + missing)
- /// </summary>
- [Test]
- public override void TestThreads2()
- {
- base.TestThreads2();
- }
-
- // LUCENE-5218
- [Test]
- public override void TestEmptyBinaryValueOnPageSizes()
- {
- base.TestEmptyBinaryValueOnPageSizes();
- }
-
- #endregion
-
- #region BaseIndexFileFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestMergeStability()
- {
- base.TestMergeStability();
- }
-
- #endregion
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92de8d7e/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextPostingsFormat.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextPostingsFormat.cs b/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextPostingsFormat.cs
index 96e6cb8..a8cb997 100644
--- a/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextPostingsFormat.cs
+++ b/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextPostingsFormat.cs
@@ -34,68 +34,5 @@ namespace Lucene.Net.Codecs.SimpleText
return codec;
}
}
-
-
- #region BasePostingsFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestDocsOnly()
- {
- base.TestDocsOnly();
- }
-
- [Test]
- public override void TestDocsAndFreqs()
- {
- base.TestDocsAndFreqs();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositions()
- {
- base.TestDocsAndFreqsAndPositions();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndPayloads()
- {
- base.TestDocsAndFreqsAndPositionsAndPayloads();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndOffsets()
- {
- base.TestDocsAndFreqsAndPositionsAndOffsets();
- }
-
- [Test]
- public override void TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads()
- {
- base.TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads();
- }
-
- [Test]
- public override void TestRandom()
- {
- base.TestRandom();
- }
-
- #endregion
-
- #region BaseIndexFileFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestMergeStability()
- {
- base.TestMergeStability();
- }
-
- #endregion
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92de8d7e/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextStoredFieldsFormat.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextStoredFieldsFormat.cs b/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextStoredFieldsFormat.cs
index 1d3ae31..5dab469 100644
--- a/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextStoredFieldsFormat.cs
+++ b/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextStoredFieldsFormat.cs
@@ -31,93 +31,5 @@ namespace Lucene.Net.Codecs.SimpleText
return new SimpleTextCodec();
}
}
-
- #region BaseStoredFieldsFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestRandomStoredFields()
- {
- base.TestRandomStoredFields();
- }
-
- [Test]
- // LUCENE-1727: make sure doc fields are stored in order
- public override void TestStoredFieldsOrder()
- {
- base.TestStoredFieldsOrder();
- }
-
- [Test]
- // LUCENE-1219
- public override void TestBinaryFieldOffsetLength()
- {
- base.TestBinaryFieldOffsetLength();
- }
-
- [Test]
- public override void TestNumericField()
- {
- base.TestNumericField();
- }
-
- [Test]
- public override void TestIndexedBit()
- {
- base.TestIndexedBit();
- }
-
- [Test]
- public override void TestReadSkip()
- {
- base.TestReadSkip();
- }
-
- [Test, Timeout(300000)]
- public override void TestEmptyDocs()
- {
- base.TestEmptyDocs();
- }
-
- [Test, Timeout(300000)]
- public override void TestConcurrentReads()
- {
- base.TestConcurrentReads();
- }
-
- [Test]
- public override void TestWriteReadMerge()
- {
- base.TestWriteReadMerge();
- }
-
- [Test, LongRunningTest]
- public override void TestBigDocuments()
- {
- base.TestBigDocuments();
- }
-
- [Test]
- public override void TestBulkMergeWithDeletes()
- {
- base.TestBulkMergeWithDeletes();
- }
-
- #endregion
-
- #region BaseIndexFileFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestMergeStability()
- {
- base.TestMergeStability();
- }
-
- #endregion
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92de8d7e/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextTermVectorsFormat.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextTermVectorsFormat.cs b/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextTermVectorsFormat.cs
index 527deea..a5fe4c5 100644
--- a/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextTermVectorsFormat.cs
+++ b/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextTermVectorsFormat.cs
@@ -30,71 +30,5 @@ namespace Lucene.Net.Codecs.SimpleText
return new SimpleTextCodec();
}
}
-
- #region BaseTermVectorsFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- // only one doc with vectors
- public override void TestRareVectors()
- {
- base.TestRareVectors();
- }
-
- [Test]
- public override void TestHighFreqs()
- {
- base.TestHighFreqs();
- }
-
- [Test]
- public override void TestLotsOfFields()
- {
- base.TestLotsOfFields();
- }
-
- [Test, Timeout(300000)]
- // different options for the same field
- public override void TestMixedOptions()
- {
- base.TestMixedOptions();
- }
-
- [Test]
- public override void TestRandom()
- {
- base.TestRandom();
- }
-
- [Test]
- public override void TestMerge()
- {
- base.TestMerge();
- }
-
- [Test]
- // run random tests from different threads to make sure the per-thread clones
- // don't share mutable data
- public override void TestClone()
- {
- base.TestClone();
- }
-
- #endregion
-
- #region BaseIndexFileFormatTestCase
- // LUCENENET NOTE: Tests in an abstract base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestMergeStability()
- {
- base.TestMergeStability();
- }
-
- #endregion
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92de8d7e/src/Lucene.Net.Tests.Misc/Index/Sorter/IndexSortingTest.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Misc/Index/Sorter/IndexSortingTest.cs b/src/Lucene.Net.Tests.Misc/Index/Sorter/IndexSortingTest.cs
index fdc0e95..164f275 100644
--- a/src/Lucene.Net.Tests.Misc/Index/Sorter/IndexSortingTest.cs
+++ b/src/Lucene.Net.Tests.Misc/Index/Sorter/IndexSortingTest.cs
@@ -87,61 +87,5 @@ namespace Lucene.Net.Index.Sorter
reader = SlowCompositeReaderWrapper.Wrap(DirectoryReader.Open(dir));
assertFalse("index should not have deletions", reader.HasDeletions);
}
-
-
- #region SorterTestBase
- // LUCENENET NOTE: Tests in a base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestBinaryDocValuesField()
- {
- base.TestBinaryDocValuesField();
- }
-
- [Test]
- public override void TestDocsAndPositionsEnum()
- {
- base.TestDocsAndPositionsEnum();
- }
-
- [Test]
- public override void TestDocsEnum()
- {
- base.TestDocsEnum();
- }
-
- [Test]
- public override void TestNormValues()
- {
- base.TestNormValues();
- }
-
- [Test]
- public override void TestNumericDocValuesField()
- {
- base.TestNumericDocValuesField();
- }
-
- [Test]
- public override void TestSortedDocValuesField()
- {
- base.TestSortedDocValuesField();
- }
-
- [Test]
- public override void TestSortedSetDocValuesField()
- {
- base.TestSortedSetDocValuesField();
- }
-
- [Test]
- public override void TestTermVectors()
- {
- base.TestTermVectors();
- }
-
- #endregion
}
}
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92de8d7e/src/Lucene.Net.Tests.Misc/Index/Sorter/SorterTestBase.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Misc/Index/Sorter/SorterTestBase.cs b/src/Lucene.Net.Tests.Misc/Index/Sorter/SorterTestBase.cs
index 99623ad..2cff135 100644
--- a/src/Lucene.Net.Tests.Misc/Index/Sorter/SorterTestBase.cs
+++ b/src/Lucene.Net.Tests.Misc/Index/Sorter/SorterTestBase.cs
@@ -230,7 +230,7 @@ namespace Lucene.Net.Index.Sorter
dir.Dispose();
}
- // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+ [Test]
public virtual void TestBinaryDocValuesField()
{
BinaryDocValues dv = reader.GetBinaryDocValues(BINARY_DV_FIELD);
@@ -242,7 +242,7 @@ namespace Lucene.Net.Index.Sorter
}
}
- // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+ [Test]
public virtual void TestDocsAndPositionsEnum()
{
TermsEnum termsEnum = reader.Terms(DOC_POSITIONS_FIELD).Iterator(null);
@@ -322,7 +322,7 @@ namespace Lucene.Net.Index.Sorter
return bits;
}
- // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+ [Test]
public virtual void TestDocsEnum()
{
Bits mappedLiveDocs = RandomLiveDocs(reader.MaxDoc);
@@ -369,7 +369,7 @@ namespace Lucene.Net.Index.Sorter
}
}
- // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+ [Test]
public virtual void TestNormValues()
{
NumericDocValues dv = reader.GetNormValues(NORMS_FIELD);
@@ -380,7 +380,7 @@ namespace Lucene.Net.Index.Sorter
}
}
- // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+ [Test]
public virtual void TestNumericDocValuesField()
{
NumericDocValues dv = reader.GetNumericDocValues(NUMERIC_DV_FIELD);
@@ -391,7 +391,7 @@ namespace Lucene.Net.Index.Sorter
}
}
- // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+ [Test]
public virtual void TestSortedDocValuesField()
{
SortedDocValues dv = reader.GetSortedDocValues(SORTED_DV_FIELD);
@@ -404,7 +404,7 @@ namespace Lucene.Net.Index.Sorter
}
}
- // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+ [Test]
public virtual void TestSortedSetDocValuesField()
{
AssumeTrue("default codec does not support SORTED_SET", DefaultCodecSupportsSortedSet());
@@ -423,7 +423,7 @@ namespace Lucene.Net.Index.Sorter
}
}
- // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+ [Test]
public virtual void TestTermVectors()
{
int maxDoc = reader.MaxDoc;
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92de8d7e/src/Lucene.Net.Tests.Misc/Index/Sorter/SortingAtomicReaderTest.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Misc/Index/Sorter/SortingAtomicReaderTest.cs b/src/Lucene.Net.Tests.Misc/Index/Sorter/SortingAtomicReaderTest.cs
index 93b234a..cb2b38e 100644
--- a/src/Lucene.Net.Tests.Misc/Index/Sorter/SortingAtomicReaderTest.cs
+++ b/src/Lucene.Net.Tests.Misc/Index/Sorter/SortingAtomicReaderTest.cs
@@ -79,61 +79,5 @@ namespace Lucene.Net.Index.Sorter
assertEquals("Cannot sort an index with a Sort that refers to the relevance score", e.Message);
}
}
-
-
- #region SorterTestBase
- // LUCENENET NOTE: Tests in a base class are not pulled into the correct
- // context in Visual Studio. This fixes that with the minimum amount of code necessary
- // to run them in the correct context without duplicating all of the tests.
-
- [Test]
- public override void TestBinaryDocValuesField()
- {
- base.TestBinaryDocValuesField();
- }
-
- [Test]
- public override void TestDocsAndPositionsEnum()
- {
- base.TestDocsAndPositionsEnum();
- }
-
- [Test]
- public override void TestDocsEnum()
- {
- base.TestDocsEnum();
- }
-
- [Test]
- public override void TestNormValues()
- {
- base.TestNormValues();
- }
-
- [Test]
- public override void TestNumericDocValuesField()
- {
- base.TestNumericDocValuesField();
- }
-
- [Test]
- public override void TestSortedDocValuesField()
- {
- base.TestSortedDocValuesField();
- }
-
- [Test]
- public override void TestSortedSetDocValuesField()
- {
- base.TestSortedSetDocValuesField();
- }
-
- [Test]
- public override void TestTermVectors()
- {
- base.TestTermVectors();
- }
-
- #endregion
}
}
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92de8d7e/src/Lucene.Net.Tests/core/Codecs/Compressing/AbstractTestCompressionMode.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Codecs/Compressing/AbstractTestCompressionMode.cs b/src/Lucene.Net.Tests/core/Codecs/Compressing/AbstractTestCompressionMode.cs
index 9dcfcde..37f00e2 100644
--- a/src/Lucene.Net.Tests/core/Codecs/Compressing/AbstractTestCompressionMode.cs
+++ b/src/Lucene.Net.Tests/core/Codecs/Compressing/AbstractTestCompressionMode.cs
@@ -88,7 +88,7 @@ namespace Lucene.Net.Codecs.Compressing
return Arrays.CopyOfRange(bytes.Bytes, bytes.Offset, bytes.Offset + bytes.Length);
}
- // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+ [Test]
public virtual void TestDecompress()
{
int iterations = AtLeast(10);
@@ -103,7 +103,7 @@ namespace Lucene.Net.Codecs.Compressing
}
}
- // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+ [Test]
public virtual void TestPartialDecompress()
{
int iterations = AtLeast(10);
@@ -139,19 +139,19 @@ namespace Lucene.Net.Codecs.Compressing
return compressed;
}
- // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+ [Test]
public virtual void TestEmptySequence()
{
Test(new byte[0]);
}
- // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+ [Test]
public virtual void TestShortSequence()
{
Test(new[] { (byte)Random().Next(256) });
}
- // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+ [Test]
public virtual void TestIncompressible()
{
var decompressed = new byte[RandomInts.NextIntBetween(Random(), 20, 256)];
@@ -162,7 +162,7 @@ namespace Lucene.Net.Codecs.Compressing
Test(decompressed);
}
- // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+ [Test]
public virtual void TestConstant()
{
var decompressed = new byte[TestUtil.NextInt(Random(), 1, 10000)];
@@ -170,7 +170,7 @@ namespace Lucene.Net.Codecs.Compressing
Test(decompressed);
}
- // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+ [Test]
public virtual void TestLUCENE5201()
{
sbyte[] data = { 14, 72, 14, 85, 3, 72, 14, 85, 3, 72, 14, 72, 14, 72, 14, 85, 3, 72, 14, 72, 14, 72, 14, 72, 14, 72, 14, 72, 14, 85, 3, 72, 14, 85, 3, 72, 14, 85, 3, 72, 14, 85, 3, 72, 14, 85, 3, 72, 14, 85, 3, 72, 14, 50, 64, 0, 46, -1, 0, 0, 0, 29, 3, 85, 8, -113, 0, 68, -97, 3, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, 85, 8, -113, 0, 68, -97, 3, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 50, 64, 0, 47, -105, 0, 0, 0, 30, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, 85, 8, -113, 0, 68, -97, 3, 0, 2, 3, 85, 8, -113, 0, 68, -97, 3, 0, 2, 3, 85, 8, -113, 0, 68, -97, 3, 0, 2, -97, 6, 0, 2, 3, 85, 8, -113, 0, 68, -97, 3, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68
, -113, 0, 120, 64, 0, 48, 4, 0, 0, 0, 31, 34, 72, 29, 72, 37, 72, 35, 72, 45, 72, 23, 72, 46, 72, 20, 72, 40, 72, 33, 72, 25, 72, 39, 72, 38, 72, 26, 72, 28, 72, 42, 72, 24, 72, 27, 72, 36, 72, 41, 72, 32, 72, 18, 72, 30, 72, 22, 72, 31, 72, 43, 72, 19, 72, 34, 72, 29, 72, 37, 72, 35, 72, 45, 72, 23, 72, 46, 72, 20, 72, 40, 72, 33, 72, 25, 72, 39, 72, 38, 72, 26, 72, 28, 72, 42, 72, 24, 72, 27, 72, 36, 72, 41, 72, 32, 72, 18, 72, 30, 72, 22, 72, 31, 72, 43, 72, 19, 72, 34, 72, 29, 72, 37, 72, 35, 72, 45, 72, 23, 72, 46, 72, 20, 72, 40, 72, 33, 72, 25, 72, 39, 72, 38, 72, 26, 72, 28, 72, 42, 72, 24, 72, 27, 72, 36, 72, 41, 72, 32, 72, 18, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 39, 24, 32, 34, 124, 0, 120, 64, 0, 48, 80, 0, 0, 0, 31, 30, 72, 22, 72, 31, 72, 43, 72, 19, 72, 34, 72, 29, 72, 37, 72, 35, 72, 45, 72, 23, 72, 46, 72, 20, 72, 40, 72, 33, 72, 25, 72, 39, 72, 38, 72, 26, 72, 28, 72, 42, 72, 24, 72, 27, 72, 36, 72, 41, 72, 32, 72,
18, 72, 30, 72, 22, 72, 31, 72, 43, 72, 19, 72, 34, 72, 29, 72, 37, 72, 35, 72, 45, 72, 23, 72, 46, 72, 20, 72, 40, 72, 33, 72, 25, 72, 39, 72, 38, 72, 26, 72, 28, 72, 42, 72, 24, 72, 27, 72, 36, 72, 41, 72, 32, 72, 18, 72, 30, 72, 22, 72, 31, 72, 43, 72, 19, 72, 34, 72, 29, 72, 37, 72, 35, 72, 45, 72, 23, 72, 46, 72, 20, 72, 40, 72, 33, 72, 25, 72, 39, 72, 38, 72, 26, 72, 28, 72, 42, 72, 24, 72, 27, 72, 36, 72, 41, 72, 32, 72, 18, 72, 30, 72, 22, 72, 31, 72, 43, 72, 19, 72, 34, 72, 29, 72, 37, 72, 35, 72, 45, 72, 23, 72, 46, 72, 20, 72, 40, 72, 33, 72, 25, 72, 39, 72, 38, 72, 26, 72, 28, 72, 42, 72, 24, 72, 27, 72, 36, 72, 41, 72, 32, 72, 18, 72, 30, 72, 22, 72, 31, 72, 43, 72, 19, 72, 34, 72, 29, 72, 37, 72, 35, 72, 45, 72, 23, 72, 46, 72, 20, 72, 40, 72, 33, 72, 25, 72, 39, 72, 38, 72, 26, 72, 28, 72, 42, 72, 24, 72, 27, 72, 36, 72, 41, 72, 32, 72, 18, 72, 30, 72, 22, 72, 31, 72, 43, 72, 19, 72, 34, 72, 29, 72, 37, 72, 35, 72, 45, 72, 23, 72, 46, 72, 20, 72, 40, 72, 33, 72, 25, 7
2, 39, 72, 38, 72, 26, 72, 28, 72, 42, 72, 24, 72, 27, 72, 36, 72, 41, 72, 32, 72, 18, 72, 30, 72, 22, 72, 31, 72, 43, 72, 19, 72, 34, 72, 29, 72, 37, 72, 35, 72, 45, 72, 23, 72, 46, 72, 20, 72, 40, 72, 33, 72, 25, 72, 39, 72, 38, 72, 26, 72, 28, 72, 42, 72, 24, 72, 27, 72, 36, 72, 41, 72, 32, 72, 18, 72, 30, 72, 22, 72, 31, 72, 43, 72, 19, 50, 64, 0, 49, 20, 0, 0, 0, 32, 3, -97, 6, 0, 68, -113, 0, 2, 3, 85, 8, -113, 0, 68, -97, 3, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, 85, 8, -113, 0, 68, -97, 3, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 50, 64, 0, 50, 53, 0, 0, 0, 34, 3, -97, 6, 0, 68, -113, 0, 2, 3, 85, 8, -113, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, 85, 8, -113, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0
, 68, -113, 0, 2, 3, 85, 8, -113, 0, 68, -97, 3, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, 85, 8, -113, 0, 68, -97, 3, 0, 2, 3, 85, 8, -113, 0, 68, -97, 3, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, 85, 8, -113, 0, 68, -97, 3, 0, 2, 3, 85, 8, -113, 0, 68, -97, 3, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, 85, 8, -113, 0, 68, -97, 3, 0, 2, 3, 85, 8, -113, 0, 68, -97, 3, 0, 2, 3, 85, 8, -113, 0, 68, -97, 3, 0, 2, 3, -97, 6, 0, 50, 64, 0, 51, 85, 0, 0, 0, 36, 3, 85, 8, -113, 0, 68, -97, 3, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, -97, 5, 0, 2, 3, 85, 8, -113, 0, 68, -97, 3, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 50, -64, 0, 51, -45, 0, 0, 0, 37, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, -9
7, 6, 0, 68, -113, 0, 2, 3, 85, 8, -113, 0, 68, -113, 0, 2, 3, -97, 6, 0, 68, -113, 0, 2, 3, 85, 8, -113, 0, 68, -97, 3, 0, 2, 3, 85, 8, -113, 0, 68, -97, 3, 0, 120, 64, 0, 52, -88, 0, 0, 0, 39, 13, 85, 5, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 72, 13, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 72, 13, 72, 13, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 72, 13, 72, 13, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 85, 5, 72, 13, 72, 13, 85, 5, 72, 13, 72, 13, 85, 5, 72, 13, 72, 13, 85, 5, 72, 13, -19, -24, -101, -35 };
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92de8d7e/src/Lucene.Net.Tests/core/Codecs/Compressing/AbstractTestLZ4CompressionMode.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Codecs/Compressing/AbstractTestLZ4CompressionMode.cs b/src/Lucene.Net.Tests/core/Codecs/Compressing/AbstractTestLZ4CompressionMode.cs
index 334ae8d..feb57d0 100644
--- a/src/Lucene.Net.Tests/core/Codecs/Compressing/AbstractTestLZ4CompressionMode.cs
+++ b/src/Lucene.Net.Tests/core/Codecs/Compressing/AbstractTestLZ4CompressionMode.cs
@@ -88,7 +88,7 @@ namespace Lucene.Net.Codecs.Compressing
return compressed;
}
- // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+ [Test]
public virtual void TestShortLiteralsAndMatchs()
{
// literals and matchs lengths <= 15
@@ -96,7 +96,7 @@ namespace Lucene.Net.Codecs.Compressing
Test(decompressed);
}
- // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+ [Test]
public virtual void TestLongMatchs()
{
// match length >= 20
@@ -108,7 +108,7 @@ namespace Lucene.Net.Codecs.Compressing
Test(decompressed);
}
- // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+ [Test]
public virtual void TestLongLiterals()
{
// long literals (length >= 16) which are not the last literals
@@ -120,7 +120,7 @@ namespace Lucene.Net.Codecs.Compressing
Test(decompressed);
}
- // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+ [Test]
public virtual void TestMatchRightBeforeLastLiterals()
{
Test(new byte[] { 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 5 });