lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bmes...@apache.org
Subject svn commit: r326610 - /lucene/java/trunk/src/test/org/apache/lucene/index/TestFieldsReader.java
Date Wed, 19 Oct 2005 16:56:15 GMT
Author: bmesser
Date: Wed Oct 19 09:56:11 2005
New Revision: 326610

URL: http://svn.apache.org/viewcvs?rev=326610&view=rev
Log:
extend test to show FieldsReader Bug#LUCENE-455

Modified:
    lucene/java/trunk/src/test/org/apache/lucene/index/TestFieldsReader.java

Modified: lucene/java/trunk/src/test/org/apache/lucene/index/TestFieldsReader.java
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/test/org/apache/lucene/index/TestFieldsReader.java?rev=326610&r1=326609&r2=326610&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/index/TestFieldsReader.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/index/TestFieldsReader.java Wed Oct 19 09:56:11
2005
@@ -53,9 +53,15 @@
     Document doc = reader.doc(0);
     assertTrue(doc != null);
     assertTrue(doc.getField("textField1") != null);
+    
+    
     Field field = doc.getField("textField2");
     assertTrue(field != null);
     assertTrue(field.isTermVectorStored() == true);
+    
+    assertTrue(field.isStoreOffsetWithTermVector() == true);
+    assertTrue(field.isStorePositionWithTermVector() == true);
+    
     reader.close();
   }
 }



Mime
View raw message