You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2014/04/24 18:33:46 UTC

svn commit: r1589788 - /lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestTerms.java

Author: mikemccand
Date: Thu Apr 24 16:33:46 2014
New Revision: 1589788

URL: http://svn.apache.org/r1589788
Log:
add comment

Modified:
    lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestTerms.java

Modified: lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestTerms.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestTerms.java?rev=1589788&r1=1589787&r2=1589788&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestTerms.java (original)
+++ lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestTerms.java Thu Apr 24 16:33:46 2014
@@ -53,6 +53,10 @@ public class TestTerms extends LuceneTes
   }
 
   public void testTermMinMaxRandom() throws Exception {
+    // NOTE: don't use @SuppressCodecs("Lucene3x") on the entire test
+    // class, so that we still run the other test methods
+    // with Lucene3x.  This is important, to have some
+    // testing of Terms.getMin/Max on older indices.
     assumeFalse("test writes binary terms", Codec.getDefault() instanceof Lucene3xCodec);
     Directory dir = newDirectory();
     RandomIndexWriter w = new RandomIndexWriter(random(), dir);