You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/09/30 00:11:40 UTC

svn commit: r1391903 - in /lucene/dev/branches/branch_4x: ./ lucene/ lucene/test-framework/ lucene/test-framework/src/java/org/apache/lucene/index/BasePostingsFormatTestCase.java

Author: rmuir
Date: Sat Sep 29 22:11:39 2012
New Revision: 1391903

URL: http://svn.apache.org/viewvc?rev=1391903&view=rev
Log:
reinit these in beforeClass

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/lucene/   (props changed)
    lucene/dev/branches/branch_4x/lucene/test-framework/   (props changed)
    lucene/dev/branches/branch_4x/lucene/test-framework/src/java/org/apache/lucene/index/BasePostingsFormatTestCase.java

Modified: lucene/dev/branches/branch_4x/lucene/test-framework/src/java/org/apache/lucene/index/BasePostingsFormatTestCase.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/test-framework/src/java/org/apache/lucene/index/BasePostingsFormatTestCase.java?rev=1391903&r1=1391902&r2=1391903&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/test-framework/src/java/org/apache/lucene/index/BasePostingsFormatTestCase.java (original)
+++ lucene/dev/branches/branch_4x/lucene/test-framework/src/java/org/apache/lucene/index/BasePostingsFormatTestCase.java Sat Sep 29 22:11:39 2012
@@ -154,6 +154,9 @@ public abstract class BasePostingsFormat
 
   @BeforeClass
   public static void createPostings() throws IOException {
+    maxDocID = 0;
+    totalPostings = 0;
+    totalPayloadBytes = 0;
     fields = new TreeMap<String,Map<BytesRef,List<Posting>>>();
     fieldsLive = new TreeMap<String,Map<BytesRef,List<Posting>>>();