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 2010/12/20 23:52:34 UTC

svn commit: r1051310 - in /lucene/dev/branches/bulkpostings/lucene/src/test/org/apache/lucene/index/codecs: pfordelta/TestPForDelta.java pfordelta2/TestPForDelta2.java

Author: mikemccand
Date: Mon Dec 20 22:52:33 2010
New Revision: 1051310

URL: http://svn.apache.org/viewvc?rev=1051310&view=rev
Log:
add nocommits

Modified:
    lucene/dev/branches/bulkpostings/lucene/src/test/org/apache/lucene/index/codecs/pfordelta/TestPForDelta.java
    lucene/dev/branches/bulkpostings/lucene/src/test/org/apache/lucene/index/codecs/pfordelta2/TestPForDelta2.java

Modified: lucene/dev/branches/bulkpostings/lucene/src/test/org/apache/lucene/index/codecs/pfordelta/TestPForDelta.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/bulkpostings/lucene/src/test/org/apache/lucene/index/codecs/pfordelta/TestPForDelta.java?rev=1051310&r1=1051309&r2=1051310&view=diff
==============================================================================
--- lucene/dev/branches/bulkpostings/lucene/src/test/org/apache/lucene/index/codecs/pfordelta/TestPForDelta.java (original)
+++ lucene/dev/branches/bulkpostings/lucene/src/test/org/apache/lucene/index/codecs/pfordelta/TestPForDelta.java Mon Dec 20 22:52:33 2010
@@ -39,7 +39,11 @@ public class TestPForDelta extends Lucen
       Directory dir = newDirectory();
       int testDataSize = _TestUtil.nextInt(random, 10000, 100000);
       int[] testData = new int[testDataSize];
+
       for(int i=0; i<testDataSize; ++i) {
+        // nocommit -- do a better job here -- pick
+        // numFrameBits, numExceptions, hten gen according
+        // to that
         testData[i] = random.nextInt() & Integer.MAX_VALUE;
       }
     

Modified: lucene/dev/branches/bulkpostings/lucene/src/test/org/apache/lucene/index/codecs/pfordelta2/TestPForDelta2.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/bulkpostings/lucene/src/test/org/apache/lucene/index/codecs/pfordelta2/TestPForDelta2.java?rev=1051310&r1=1051309&r2=1051310&view=diff
==============================================================================
--- lucene/dev/branches/bulkpostings/lucene/src/test/org/apache/lucene/index/codecs/pfordelta2/TestPForDelta2.java (original)
+++ lucene/dev/branches/bulkpostings/lucene/src/test/org/apache/lucene/index/codecs/pfordelta2/TestPForDelta2.java Mon Dec 20 22:52:33 2010
@@ -43,6 +43,9 @@ public class TestPForDelta2 extends Luce
       int testDataSize = _TestUtil.nextInt(random, 10000, 100000);
       int[] testData = new int[testDataSize];
       for(int i=0; i<testDataSize; ++i) {
+        // nocommit -- do a better job here -- pick
+        // numFrameBits, numExceptions, hten gen according
+        // to that
         testData[i] = random.nextInt() & Integer.MAX_VALUE;
       }