lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [12/50] [abbrv] lucenenet git commit: Added parameter to [SuppressCodecs] attribute and added the attribute to all applicable classes in Lucene.Net.Tests
Date Sun, 23 Oct 2016 13:01:58 GMT
Added parameter to [SuppressCodecs] attribute and added the attribute to all applicable classes
in Lucene.Net.Tests


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/4c54ef2a
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/4c54ef2a
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/4c54ef2a

Branch: refs/heads/master
Commit: 4c54ef2a3abf9ffdee6b586f78e4cb3e50720b82
Parents: fc40147
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sun Oct 16 07:55:05 2016 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Thu Oct 20 18:20:53 2016 +0700

----------------------------------------------------------------------
 src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs           | 7 +++----
 src/Lucene.Net.Tests/core/Index/Test2BBinaryDocValues.cs      | 1 +
 src/Lucene.Net.Tests/core/Index/Test2BNumericDocValues.cs     | 1 +
 src/Lucene.Net.Tests/core/Index/Test2BPositions.cs            | 1 +
 src/Lucene.Net.Tests/core/Index/Test2BPostings.cs             | 1 +
 src/Lucene.Net.Tests/core/Index/Test2BPostingsBytes.cs        | 1 +
 src/Lucene.Net.Tests/core/Index/Test2BSortedDocValues.cs      | 1 +
 src/Lucene.Net.Tests/core/Index/Test2BTerms.cs                | 1 +
 src/Lucene.Net.Tests/core/Index/Test4GBStoredFields.cs        | 1 +
 src/Lucene.Net.Tests/core/Index/TestBackwardsCompatibility.cs | 2 +-
 .../core/Index/TestBackwardsCompatibility3x.cs                | 3 +--
 src/Lucene.Net.Tests/core/Index/TestBagOfPositions.cs         | 6 ++++--
 src/Lucene.Net.Tests/core/Index/TestBagOfPostings.cs          | 1 +
 src/Lucene.Net.Tests/core/Index/TestBinaryDocValuesUpdates.cs | 1 +
 src/Lucene.Net.Tests/core/Index/TestBinaryTerms.cs            | 1 +
 src/Lucene.Net.Tests/core/Index/TestCustomNorms.cs            | 1 +
 src/Lucene.Net.Tests/core/Index/TestDocCount.cs               | 1 +
 src/Lucene.Net.Tests/core/Index/TestDocValuesFormat.cs        | 1 +
 src/Lucene.Net.Tests/core/Index/TestDocValuesIndexing.cs      | 1 +
 src/Lucene.Net.Tests/core/Index/TestDocValuesWithThreads.cs   | 1 +
 src/Lucene.Net.Tests/core/Index/TestIndexWriterWithThreads.cs | 1 +
 src/Lucene.Net.Tests/core/Index/TestLongPostings.cs           | 1 +
 src/Lucene.Net.Tests/core/Index/TestMixedCodecs.cs            | 1 +
 src/Lucene.Net.Tests/core/Index/TestMixedDocValuesUpdates.cs  | 1 +
 src/Lucene.Net.Tests/core/Index/TestMultiDocValues.cs         | 1 +
 src/Lucene.Net.Tests/core/Index/TestNRTThreads.cs             | 2 +-
 src/Lucene.Net.Tests/core/Index/TestNorms.cs                  | 1 +
 .../core/Index/TestNumericDocValuesUpdates.cs                 | 2 +-
 src/Lucene.Net.Tests/core/Index/TestPayloadsOnVectors.cs      | 1 +
 src/Lucene.Net.Tests/core/Index/TestPostingsOffsets.cs        | 1 +
 src/Lucene.Net.Tests/core/Index/TestTermsEnum.cs              | 1 +
 .../core/Search/TestControlledRealTimeReopenThread.cs         | 1 +
 src/Lucene.Net.Tests/core/Search/TestDocValuesScoring.cs      | 1 +
 src/Lucene.Net.Tests/core/Search/TestMinShouldMatch2.cs       | 1 +
 src/Lucene.Net.Tests/core/Search/TestQueryRescorer.cs         | 1 +
 src/Lucene.Net.Tests/core/Search/TestSearchWithThreads.cs     | 1 +
 src/Lucene.Net.Tests/core/Search/TestSearcherManager.cs       | 1 +
 src/Lucene.Net.Tests/core/Search/TestShardSearching.cs        | 1 +
 src/Lucene.Net.Tests/core/Search/TestSortDocValues.cs         | 1 +
 src/Lucene.Net.Tests/core/Search/TestSortRescorer.cs          | 1 +
 src/Lucene.Net.Tests/core/Util/Fst/TestFSTs.cs                | 2 +-
 41 files changed, 46 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs b/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs
index cb6ee60..87f0edb 100644
--- a/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs
+++ b/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs
@@ -254,12 +254,11 @@ namespace Lucene.Net.Util
         [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
         public class SuppressCodecs : System.Attribute
         {
-            private string[] value;
-
-            public string[] Value()
+            public SuppressCodecs(params string[] value)
             {
-                return value;
+                this.Value = value;
             }
+            public string[] Value { get; private set; }
         }
 
         /// <summary>

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/Test2BBinaryDocValues.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/Test2BBinaryDocValues.cs b/src/Lucene.Net.Tests/core/Index/Test2BBinaryDocValues.cs
index 4e137b3..00d9972 100644
--- a/src/Lucene.Net.Tests/core/Index/Test2BBinaryDocValues.cs
+++ b/src/Lucene.Net.Tests/core/Index/Test2BBinaryDocValues.cs
@@ -31,6 +31,7 @@ namespace Lucene.Net.Index
     using MockAnalyzer = Lucene.Net.Analysis.MockAnalyzer;
     using MockDirectoryWrapper = Lucene.Net.Store.MockDirectoryWrapper;
 
+    [SuppressCodecs("Lucene3x")]
     [Ignore("takes ~ 45 minutes")]
     [TestFixture]
     public class Test2BBinaryDocValues : LuceneTestCase

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/Test2BNumericDocValues.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/Test2BNumericDocValues.cs b/src/Lucene.Net.Tests/core/Index/Test2BNumericDocValues.cs
index 57db3d0..1bebce0 100644
--- a/src/Lucene.Net.Tests/core/Index/Test2BNumericDocValues.cs
+++ b/src/Lucene.Net.Tests/core/Index/Test2BNumericDocValues.cs
@@ -30,6 +30,7 @@ namespace Lucene.Net.Index
     using NumericDocValuesField = NumericDocValuesField;
 
     //@TimeoutSuite(millis = 80 * TimeUnits.HOUR) @Ignore("takes ~ 30 minutes") @SuppressCodecs("Lucene3x")
public class Test2BNumericDocValues extends Lucene.Net.Util.LuceneTestCase
+    [SuppressCodecs("Lucene3x")]
     [Ignore("takes ~ 30 minutes")]
     [TestFixture]
     public class Test2BNumericDocValues : LuceneTestCase

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/Test2BPositions.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/Test2BPositions.cs b/src/Lucene.Net.Tests/core/Index/Test2BPositions.cs
index 3c98214..8ac6822 100644
--- a/src/Lucene.Net.Tests/core/Index/Test2BPositions.cs
+++ b/src/Lucene.Net.Tests/core/Index/Test2BPositions.cs
@@ -43,6 +43,7 @@ namespace Lucene.Net.Index
     /// Test indexes ~82M docs with 52 positions each, so you get > Integer.MAX_VALUE
positions
     /// @lucene.experimental
     /// </summary>
+    [SuppressCodecs("SimpleText", "Memory", "Direct")]
     [TestFixture]
     public class Test2BPositions : LuceneTestCase
     // uses lots of space and takes a few minutes

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/Test2BPostings.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/Test2BPostings.cs b/src/Lucene.Net.Tests/core/Index/Test2BPostings.cs
index c431f62..b505cfb 100644
--- a/src/Lucene.Net.Tests/core/Index/Test2BPostings.cs
+++ b/src/Lucene.Net.Tests/core/Index/Test2BPostings.cs
@@ -39,6 +39,7 @@ namespace Lucene.Net.Index
     /// Test indexes ~82M docs with 26 terms each, so you get > Integer.MAX_VALUE terms/docs
pairs
     /// @lucene.experimental
     /// </summary>
+    [SuppressCodecs("SimpleText", "Memory", "Direct", "Compressing")]
     [TestFixture]
     public class Test2BPostings : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/Test2BPostingsBytes.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/Test2BPostingsBytes.cs b/src/Lucene.Net.Tests/core/Index/Test2BPostingsBytes.cs
index a402dc9..910263d 100644
--- a/src/Lucene.Net.Tests/core/Index/Test2BPostingsBytes.cs
+++ b/src/Lucene.Net.Tests/core/Index/Test2BPostingsBytes.cs
@@ -43,6 +43,7 @@ namespace Lucene.Net.Index
     /// so you get > Integer.MAX_VALUE postings data for the term
     /// @lucene.experimental
     /// </summary>
+    [SuppressCodecs("SimpleText", "Memory", "Direct", "Lucene3x")]
     [TestFixture]
     public class Test2BPostingsBytes : LuceneTestCase
     // disable Lucene3x: older lucene formats always had this issue.

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/Test2BSortedDocValues.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/Test2BSortedDocValues.cs b/src/Lucene.Net.Tests/core/Index/Test2BSortedDocValues.cs
index 55e0218..75b6805 100644
--- a/src/Lucene.Net.Tests/core/Index/Test2BSortedDocValues.cs
+++ b/src/Lucene.Net.Tests/core/Index/Test2BSortedDocValues.cs
@@ -29,6 +29,7 @@ namespace Lucene.Net.Index
     using MockDirectoryWrapper = Lucene.Net.Store.MockDirectoryWrapper;
     using SortedDocValuesField = SortedDocValuesField;
 
+    [SuppressCodecs("Lucene3x")]
     [Ignore("very slow")]
     [TestFixture]
     public class Test2BSortedDocValues : LuceneTestCase

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/Test2BTerms.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/Test2BTerms.cs b/src/Lucene.Net.Tests/core/Index/Test2BTerms.cs
index 9c7870d..f896a57 100644
--- a/src/Lucene.Net.Tests/core/Index/Test2BTerms.cs
+++ b/src/Lucene.Net.Tests/core/Index/Test2BTerms.cs
@@ -45,6 +45,7 @@ namespace Lucene.Net.Index
     //
     //   java -server -Xmx8g -d64 -cp .:lib/junit-4.10.jar:./build/classes/test:./build/classes/test-framework:./build/classes/java
-Dlucene.version=4.0-dev -Dtests.directory=MMapDirectory -DtempDir=build -ea org.junit.runner.JUnitCore
Lucene.Net.Index.Test2BTerms
     //
+    [SuppressCodecs("SimpleText", "Memory", "Direct")]
     [Ignore]
     [TestFixture]
     public class Test2BTerms : LuceneTestCase

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/Test4GBStoredFields.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/Test4GBStoredFields.cs b/src/Lucene.Net.Tests/core/Index/Test4GBStoredFields.cs
index ee20446..5748354 100644
--- a/src/Lucene.Net.Tests/core/Index/Test4GBStoredFields.cs
+++ b/src/Lucene.Net.Tests/core/Index/Test4GBStoredFields.cs
@@ -35,6 +35,7 @@ namespace Lucene.Net.Index
     /// <summary>
     /// this test creates an index with one segment that is a little larger than 4GB.
     /// </summary>
+    [SuppressCodecs("SimpleText")]
     [TestFixture]
     public class Test4GBStoredFields : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestBackwardsCompatibility.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestBackwardsCompatibility.cs b/src/Lucene.Net.Tests/core/Index/TestBackwardsCompatibility.cs
index 28ea3e7..1dd70ce 100644
--- a/src/Lucene.Net.Tests/core/Index/TestBackwardsCompatibility.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestBackwardsCompatibility.cs
@@ -74,7 +74,7 @@ namespace Lucene.Net.Index
     // we won't even be running the actual code, only the impostor
     // @SuppressCodecs("Lucene4x")
     // Sep codec cannot yet handle the offsets in our 4.x index!
-    //[SuppressCodecs("Lucene4x")] // LUCENENET TODO: SuppressCodecs doesn't accept a parameter
+    [SuppressCodecs("Lucene3x", "MockFixedIntBlock", "MockVariableIntBlock", "MockSep", "MockRandom",
"Lucene40", "Lucene41", "Appending", "Lucene42", "Lucene45")]
     [TestFixture]
     public class TestBackwardsCompatibility : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestBackwardsCompatibility3x.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestBackwardsCompatibility3x.cs b/src/Lucene.Net.Tests/core/Index/TestBackwardsCompatibility3x.cs
index 99b9afd..af1790f 100644
--- a/src/Lucene.Net.Tests/core/Index/TestBackwardsCompatibility3x.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestBackwardsCompatibility3x.cs
@@ -69,8 +69,7 @@ namespace Lucene.Net.Index
     // don't use 3.x codec, its unrealistic since it means
     // we won't even be running the actual code, only the impostor
     // Sep codec cannot yet handle the offsets we add when changing indexes!
-    // LUCENENET TODO: SuppressCodecs doesn't have a parameter
-    //[SuppressCodecs(new string[] {"Lucene3x", "MockFixedIntBlock", "MockVariableIntBlock",
"MockSep", "MockRandom", "Lucene40", "Lucene41", "Appending", "Lucene42", "Lucene45"})]
+    [SuppressCodecs("Lucene3x", "MockFixedIntBlock", "MockVariableIntBlock", "MockSep", "MockRandom",
"Lucene40", "Lucene41", "Appending", "Lucene42", "Lucene45")]
     [TestFixture]
     public class TestBackwardsCompatibility3x : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestBagOfPositions.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestBagOfPositions.cs b/src/Lucene.Net.Tests/core/Index/TestBagOfPositions.cs
index a82e3a6..aee679a 100644
--- a/src/Lucene.Net.Tests/core/Index/TestBagOfPositions.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestBagOfPositions.cs
@@ -42,9 +42,11 @@ namespace Lucene.Net.Index
     /// totalTermFreq of its integer value, and checks that the totalTermFreq is correct.
     /// </summary>
     // TODO: somehow factor this with BagOfPostings? its almost the same
+    [SuppressCodecs("Direct", "Memory", "Lucene3x")] // at night this makes like 200k/300k
docs and will make Direct's heart beat!
+                                                     // Lucene3x doesnt have totalTermFreq,
so the test isn't interesting there.
     [TestFixture]
-    public class TestBagOfPositions : LuceneTestCase // at night this makes like 200k/300k
docs and will make Direct's heart beat!
-    // Lucene3x doesnt have totalTermFreq, so the test isn't interesting there.
+    public class TestBagOfPositions : LuceneTestCase
+    
     {
         [Test]
         public virtual void Test()

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestBagOfPostings.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestBagOfPostings.cs b/src/Lucene.Net.Tests/core/Index/TestBagOfPostings.cs
index 6f4741e..a1b461b 100644
--- a/src/Lucene.Net.Tests/core/Index/TestBagOfPostings.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestBagOfPostings.cs
@@ -40,6 +40,7 @@ namespace Lucene.Net.Index
     /// Simple test that adds numeric terms, where each term has the
     /// docFreq of its integer value, and checks that the docFreq is correct.
     /// </summary>
+    [SuppressCodecs("Direct", "Memory")]
     [TestFixture]
     public class TestBagOfPostings : LuceneTestCase // at night this makes like 200k/300k
docs and will make Direct's heart beat!
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestBinaryDocValuesUpdates.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestBinaryDocValuesUpdates.cs b/src/Lucene.Net.Tests/core/Index/TestBinaryDocValuesUpdates.cs
index 835f7e2..cebc398 100644
--- a/src/Lucene.Net.Tests/core/Index/TestBinaryDocValuesUpdates.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestBinaryDocValuesUpdates.cs
@@ -52,6 +52,7 @@ namespace Lucene.Net.Index
      * limitations under the License.
      */
 
+    [SuppressCodecs("Appending", "Lucene3x", "Lucene40", "Lucene41", "Lucene42", "Lucene45")]
     [TestFixture]
     public class TestBinaryDocValuesUpdates : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestBinaryTerms.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestBinaryTerms.cs b/src/Lucene.Net.Tests/core/Index/TestBinaryTerms.cs
index 2ae675c..f536ae8 100644
--- a/src/Lucene.Net.Tests/core/Index/TestBinaryTerms.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestBinaryTerms.cs
@@ -34,6 +34,7 @@ namespace Lucene.Net.Index
     /// <summary>
     /// Test indexing and searching some byte[] terms
     /// </summary>
+    [SuppressCodecs("Lucene3x")]
     [TestFixture]
     public class TestBinaryTerms : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestCustomNorms.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestCustomNorms.cs b/src/Lucene.Net.Tests/core/Index/TestCustomNorms.cs
index b197cb5..aeca36d 100644
--- a/src/Lucene.Net.Tests/core/Index/TestCustomNorms.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestCustomNorms.cs
@@ -37,6 +37,7 @@ namespace Lucene.Net.Index
     using TestUtil = Lucene.Net.Util.TestUtil;
     using TextField = TextField;
 
+    [SuppressCodecs("Lucene3x")]
     [TestFixture]
     public class TestCustomNorms : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestDocCount.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestDocCount.cs b/src/Lucene.Net.Tests/core/Index/TestDocCount.cs
index 01ef636..72fe0bd 100644
--- a/src/Lucene.Net.Tests/core/Index/TestDocCount.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestDocCount.cs
@@ -33,6 +33,7 @@ namespace Lucene.Net.Index
     /// <summary>
     /// Tests the Terms.DocCount statistic
     /// </summary>
+    [SuppressCodecs("Lucene3x")]
     [TestFixture]
     public class TestDocCount : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestDocValuesFormat.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestDocValuesFormat.cs b/src/Lucene.Net.Tests/core/Index/TestDocValuesFormat.cs
index 3e92567..628ddc0 100644
--- a/src/Lucene.Net.Tests/core/Index/TestDocValuesFormat.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestDocValuesFormat.cs
@@ -26,6 +26,7 @@ namespace Lucene.Net.Index
     /// Tests the codec configuration defined by LuceneTestCase randomly
     ///  (typically a mix across different fields).
     /// </summary>
+    [SuppressCodecs("Lucene3x")]
     public class TestDocValuesFormat : BaseDocValuesFormatTestCase
     {
         protected override Codec Codec

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestDocValuesIndexing.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestDocValuesIndexing.cs b/src/Lucene.Net.Tests/core/Index/TestDocValuesIndexing.cs
index 8aeddf0..d146736 100644
--- a/src/Lucene.Net.Tests/core/Index/TestDocValuesIndexing.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestDocValuesIndexing.cs
@@ -45,6 +45,7 @@ namespace Lucene.Net.Index
     /// Tests DocValues integration into IndexWriter
     ///
     /// </summary>
+    [SuppressCodecs("Lucene3x")]
     [TestFixture]
     public class TestDocValuesIndexing : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestDocValuesWithThreads.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestDocValuesWithThreads.cs b/src/Lucene.Net.Tests/core/Index/TestDocValuesWithThreads.cs
index 3ba618a..3300160 100644
--- a/src/Lucene.Net.Tests/core/Index/TestDocValuesWithThreads.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestDocValuesWithThreads.cs
@@ -38,6 +38,7 @@ namespace Lucene.Net.Index
     using SortedDocValuesField = SortedDocValuesField;
     using TestUtil = Lucene.Net.Util.TestUtil;
 
+    [SuppressCodecs("Lucene3x")]
     [TestFixture]
     public class TestDocValuesWithThreads : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestIndexWriterWithThreads.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestIndexWriterWithThreads.cs b/src/Lucene.Net.Tests/core/Index/TestIndexWriterWithThreads.cs
index 103248f..7fb109c 100644
--- a/src/Lucene.Net.Tests/core/Index/TestIndexWriterWithThreads.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestIndexWriterWithThreads.cs
@@ -50,6 +50,7 @@ namespace Lucene.Net.Index
     /// <summary>
     /// MultiThreaded IndexWriter tests
     /// </summary>
+    [SuppressCodecs("Lucene3x")]
     [TestFixture]
     public class TestIndexWriterWithThreads : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestLongPostings.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestLongPostings.cs b/src/Lucene.Net.Tests/core/Index/TestLongPostings.cs
index 8afe0dc..b789db5 100644
--- a/src/Lucene.Net.Tests/core/Index/TestLongPostings.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestLongPostings.cs
@@ -41,6 +41,7 @@ namespace Lucene.Net.Index
     using TextField = TextField;
     using TokenStream = Lucene.Net.Analysis.TokenStream;
 
+    [SuppressCodecs("SimpleText", "Memory", "Direct")]
     [TestFixture]
     public class TestLongPostings : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestMixedCodecs.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestMixedCodecs.cs b/src/Lucene.Net.Tests/core/Index/TestMixedCodecs.cs
index 723bf74..56ba215 100644
--- a/src/Lucene.Net.Tests/core/Index/TestMixedCodecs.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestMixedCodecs.cs
@@ -32,6 +32,7 @@ namespace Lucene.Net.Index
     using MockAnalyzer = Lucene.Net.Analysis.MockAnalyzer;
     using TestUtil = Lucene.Net.Util.TestUtil;
 
+    [SuppressCodecs("Lucene3x")]
     [TestFixture]
     public class TestMixedCodecs : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestMixedDocValuesUpdates.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestMixedDocValuesUpdates.cs b/src/Lucene.Net.Tests/core/Index/TestMixedDocValuesUpdates.cs
index eb666e8..18c3210 100644
--- a/src/Lucene.Net.Tests/core/Index/TestMixedDocValuesUpdates.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestMixedDocValuesUpdates.cs
@@ -39,6 +39,7 @@ namespace Lucene.Net.Index
      * limitations under the License.
      */
 
+    [SuppressCodecs("Appending", "Lucene3x", "Lucene40", "Lucene41", "Lucene42", "Lucene45")]
     [TestFixture]
     public class TestMixedDocValuesUpdates : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestMultiDocValues.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestMultiDocValues.cs b/src/Lucene.Net.Tests/core/Index/TestMultiDocValues.cs
index b67ea7e..8be7ac0 100644
--- a/src/Lucene.Net.Tests/core/Index/TestMultiDocValues.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestMultiDocValues.cs
@@ -37,6 +37,7 @@ namespace Lucene.Net.Index
 
     /// <summary>
     /// Tests MultiDocValues versus ordinary segment merging </summary>
+    [SuppressCodecs("Lucene3x")]
     [TestFixture]
     public class TestMultiDocValues : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestNRTThreads.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestNRTThreads.cs b/src/Lucene.Net.Tests/core/Index/TestNRTThreads.cs
index e248d2e..acb603d 100644
--- a/src/Lucene.Net.Tests/core/Index/TestNRTThreads.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestNRTThreads.cs
@@ -32,7 +32,7 @@ namespace Lucene.Net.Index
     // TODO
     //   - mix in forceMerge, addIndexes
     //   - randomoly mix in non-congruent docs
-
+    [SuppressCodecs("SimpleText", "Memory", "Direct")]
     [TestFixture]
     public class TestNRTThreads : ThreadedIndexingAndSearchingTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestNorms.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestNorms.cs b/src/Lucene.Net.Tests/core/Index/TestNorms.cs
index 124d688..2facf44 100644
--- a/src/Lucene.Net.Tests/core/Index/TestNorms.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestNorms.cs
@@ -44,6 +44,7 @@ namespace Lucene.Net.Index
     /// Test that norms info is preserved during index life - including
     /// separate norms, addDocument, addIndexes, forceMerge.
     /// </summary>
+    [SuppressCodecs("Memory", "Direct", "SimpleText")]
     [TestFixture]
     public class TestNorms : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestNumericDocValuesUpdates.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestNumericDocValuesUpdates.cs b/src/Lucene.Net.Tests/core/Index/TestNumericDocValuesUpdates.cs
index 5661c05..c48b98f 100644
--- a/src/Lucene.Net.Tests/core/Index/TestNumericDocValuesUpdates.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestNumericDocValuesUpdates.cs
@@ -50,7 +50,7 @@ namespace Lucene.Net.Index
      * See the License for the specific language governing permissions and
      * limitations under the License.
      */
-
+    [SuppressCodecs("Appending", "Lucene3x", "Lucene40", "Lucene41", "Lucene42", "Lucene45")]
     [TestFixture]
     public class TestNumericDocValuesUpdates : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestPayloadsOnVectors.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestPayloadsOnVectors.cs b/src/Lucene.Net.Tests/core/Index/TestPayloadsOnVectors.cs
index b785164..daa8e2c 100644
--- a/src/Lucene.Net.Tests/core/Index/TestPayloadsOnVectors.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestPayloadsOnVectors.cs
@@ -38,6 +38,7 @@ namespace Lucene.Net.Index
     using Token = Lucene.Net.Analysis.Token;
     using TokenStream = Lucene.Net.Analysis.TokenStream;
 
+    [SuppressCodecs("Lucene3x")]
     [TestFixture]
     public class TestPayloadsOnVectors : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestPostingsOffsets.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestPostingsOffsets.cs b/src/Lucene.Net.Tests/core/Index/TestPostingsOffsets.cs
index 8b0e0ba..168c540 100644
--- a/src/Lucene.Net.Tests/core/Index/TestPostingsOffsets.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestPostingsOffsets.cs
@@ -50,6 +50,7 @@ namespace Lucene.Net.Index
     // TODO: we really need to test indexingoffsets, but then getting only docs / docs +
freqs.
     // not all codecs store prx separate...
     // TODO: fix sep codec to index offsets so we can greatly reduce this list!
+    [SuppressCodecs("Lucene3x", "MockFixedIntBlock", "MockVariableIntBlock", "MockSep", "MockRandom")]
     [TestFixture]
     public class TestPostingsOffsets : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Index/TestTermsEnum.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestTermsEnum.cs b/src/Lucene.Net.Tests/core/Index/TestTermsEnum.cs
index 39c404c..5895c23 100644
--- a/src/Lucene.Net.Tests/core/Index/TestTermsEnum.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestTermsEnum.cs
@@ -42,6 +42,7 @@ namespace Lucene.Net.Index
     using RegExp = Lucene.Net.Util.Automaton.RegExp;
     using TestUtil = Lucene.Net.Util.TestUtil;
 
+    [SuppressCodecs("SimpleText", "Memory", "Direct")]
     [TestFixture]
     public class TestTermsEnum : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Search/TestControlledRealTimeReopenThread.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Search/TestControlledRealTimeReopenThread.cs b/src/Lucene.Net.Tests/core/Search/TestControlledRealTimeReopenThread.cs
index 50c067d..5787ec8 100644
--- a/src/Lucene.Net.Tests/core/Search/TestControlledRealTimeReopenThread.cs
+++ b/src/Lucene.Net.Tests/core/Search/TestControlledRealTimeReopenThread.cs
@@ -54,6 +54,7 @@ namespace Lucene.Net.Search
     //using ThreadInterruptedException = Lucene.Net.Util.ThreadInterruptedException;
     using Version = Lucene.Net.Util.LuceneVersion;
 
+    [SuppressCodecs("SimpleText", "Memory", "Direct")]
     [TestFixture]
     public class TestControlledRealTimeReopenThread : ThreadedIndexingAndSearchingTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Search/TestDocValuesScoring.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Search/TestDocValuesScoring.cs b/src/Lucene.Net.Tests/core/Search/TestDocValuesScoring.cs
index ba42db2..1fda883 100644
--- a/src/Lucene.Net.Tests/core/Search/TestDocValuesScoring.cs
+++ b/src/Lucene.Net.Tests/core/Search/TestDocValuesScoring.cs
@@ -42,6 +42,7 @@ namespace Lucene.Net.Search
     /// In the example, a docvalues field is used as a per-document boost (separate from
the norm)
     /// @lucene.experimental
     /// </summary>
+    [SuppressCodecs("Lucene3x")]
     [TestFixture]
     public class TestDocValuesScoring : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Search/TestMinShouldMatch2.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Search/TestMinShouldMatch2.cs b/src/Lucene.Net.Tests/core/Search/TestMinShouldMatch2.cs
index eab721a..c452619 100644
--- a/src/Lucene.Net.Tests/core/Search/TestMinShouldMatch2.cs
+++ b/src/Lucene.Net.Tests/core/Search/TestMinShouldMatch2.cs
@@ -47,6 +47,7 @@ namespace Lucene.Net.Search
 
     /// <summary>
     /// tests BooleanScorer2's minShouldMatch </summary>
+    [SuppressCodecs("Appending", "Lucene3x", "Lucene40", "Lucene41")]
     [TestFixture]
     public class TestMinShouldMatch2 : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Search/TestQueryRescorer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Search/TestQueryRescorer.cs b/src/Lucene.Net.Tests/core/Search/TestQueryRescorer.cs
index ac811ca..c308e08 100644
--- a/src/Lucene.Net.Tests/core/Search/TestQueryRescorer.cs
+++ b/src/Lucene.Net.Tests/core/Search/TestQueryRescorer.cs
@@ -44,6 +44,7 @@ namespace Lucene.Net.Search
     using Term = Lucene.Net.Index.Term;
     using TestUtil = Lucene.Net.Util.TestUtil;
 
+    [SuppressCodecs("Lucene3x")]
     [TestFixture]
     public class TestQueryRescorer : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Search/TestSearchWithThreads.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Search/TestSearchWithThreads.cs b/src/Lucene.Net.Tests/core/Search/TestSearchWithThreads.cs
index 6557fc7..da828ab 100644
--- a/src/Lucene.Net.Tests/core/Search/TestSearchWithThreads.cs
+++ b/src/Lucene.Net.Tests/core/Search/TestSearchWithThreads.cs
@@ -33,6 +33,7 @@ namespace Lucene.Net.Search
     using RandomIndexWriter = Lucene.Net.Index.RandomIndexWriter;
     using Term = Lucene.Net.Index.Term;
 
+    [SuppressCodecs("SimpleText", "Memory", "Direct")]
     [TestFixture]
     public class TestSearchWithThreads : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Search/TestSearcherManager.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Search/TestSearcherManager.cs b/src/Lucene.Net.Tests/core/Search/TestSearcherManager.cs
index 5d8d0ab..0a44a30 100644
--- a/src/Lucene.Net.Tests/core/Search/TestSearcherManager.cs
+++ b/src/Lucene.Net.Tests/core/Search/TestSearcherManager.cs
@@ -42,6 +42,7 @@ namespace Lucene.Net.Search
     using TestUtil = Lucene.Net.Util.TestUtil;
     using ThreadedIndexingAndSearchingTestCase = Lucene.Net.Index.ThreadedIndexingAndSearchingTestCase;
 
+    [SuppressCodecs("SimpleText", "Memory", "Direct")]
     [TestFixture]
     public class TestSearcherManager : ThreadedIndexingAndSearchingTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Search/TestShardSearching.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Search/TestShardSearching.cs b/src/Lucene.Net.Tests/core/Search/TestShardSearching.cs
index ba4b406..1e7b48a 100644
--- a/src/Lucene.Net.Tests/core/Search/TestShardSearching.cs
+++ b/src/Lucene.Net.Tests/core/Search/TestShardSearching.cs
@@ -42,6 +42,7 @@ namespace Lucene.Net.Search
     //   - test pulling docs in 2nd round trip...
     //   - filter too
 
+    [SuppressCodecs("SimpleText", "Memory", "Direct")]
     [TestFixture]
     public class TestShardSearching : ShardSearchingTestBase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Search/TestSortDocValues.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Search/TestSortDocValues.cs b/src/Lucene.Net.Tests/core/Search/TestSortDocValues.cs
index a780c85..6cbb6e0 100644
--- a/src/Lucene.Net.Tests/core/Search/TestSortDocValues.cs
+++ b/src/Lucene.Net.Tests/core/Search/TestSortDocValues.cs
@@ -39,6 +39,7 @@ namespace Lucene.Net.Search
     /// These are mostly like TestSort's tests, except each test
     /// indexes the field up-front as docvalues, and checks no fieldcaches were made
     /// </summary>
+    [SuppressCodecs("Lucene3x", "Appending", "Lucene40", "Lucene41", "Lucene42")] // avoid
codecs that don't support "missing"
     [TestFixture]
     public class TestSortDocValues : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Search/TestSortRescorer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Search/TestSortRescorer.cs b/src/Lucene.Net.Tests/core/Search/TestSortRescorer.cs
index 8bc3712..d834327 100644
--- a/src/Lucene.Net.Tests/core/Search/TestSortRescorer.cs
+++ b/src/Lucene.Net.Tests/core/Search/TestSortRescorer.cs
@@ -37,6 +37,7 @@ namespace Lucene.Net.Search
     using Term = Lucene.Net.Index.Term;
     using TestUtil = Lucene.Net.Util.TestUtil;
 
+    [SuppressCodecs("Lucene3x")]
     [TestFixture]
     public class TestSortRescorer : LuceneTestCase
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4c54ef2a/src/Lucene.Net.Tests/core/Util/Fst/TestFSTs.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Util/Fst/TestFSTs.cs b/src/Lucene.Net.Tests/core/Util/Fst/TestFSTs.cs
index 8dde689..5386544 100644
--- a/src/Lucene.Net.Tests/core/Util/Fst/TestFSTs.cs
+++ b/src/Lucene.Net.Tests/core/Util/Fst/TestFSTs.cs
@@ -61,7 +61,7 @@ namespace Lucene.Net.Util.Fst
     using Terms = Lucene.Net.Index.Terms;
     using TermsEnum = Lucene.Net.Index.TermsEnum;
 
-
+    [SuppressCodecs("SimpleText", "Memory", "Direct")]
     [TestFixture]
     public class TestFSTs : LuceneTestCase
     {


Mime
View raw message