lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dor...@apache.org
Subject svn commit: r543551 - in /lucene/java/trunk: CHANGES.txt common-build.xml
Date Fri, 01 Jun 2007 17:44:49 GMT
Author: doronc
Date: Fri Jun  1 10:44:49 2007
New Revision: 543551

URL: http://svn.apache.org/viewvc?view=rev&rev=543551
Log:
LUCENE-900: enable Java assertions in "ant test".

Modified:
    lucene/java/trunk/CHANGES.txt
    lucene/java/trunk/common-build.xml

Modified: lucene/java/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/java/trunk/CHANGES.txt?view=diff&rev=543551&r1=543550&r2=543551
==============================================================================
--- lucene/java/trunk/CHANGES.txt (original)
+++ lucene/java/trunk/CHANGES.txt Fri Jun  1 10:44:49 2007
@@ -245,6 +245,9 @@
     "ant test-core" target can be used to run only the Core (non
     contrib) tests. 
     (Chris Hostetter)
+    
+ 3. LUCENE-900: "ant test" now enables Java assertions (in Luecene packages).
+    (Doron Cohen)
 
 ======================= Release 2.1.0 2007-02-14 =======================
 

Modified: lucene/java/trunk/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/common-build.xml?view=diff&rev=543551&r1=543550&r2=543551
==============================================================================
--- lucene/java/trunk/common-build.xml (original)
+++ lucene/java/trunk/common-build.xml Fri Jun  1 10:44:49 2007
@@ -192,6 +192,9 @@
     <junit printsummary="off" haltonfailure="no"
       errorProperty="tests.failed" failureProperty="tests.failed">
       <classpath refid="junit.classpath"/>
+      <assertions>
+        <enable package="org.apache.lucene"/>
+      </assertions>
       <!-- TODO: create propertyset for test properties, so each project can have its
own set -->
       <sysproperty key="dataDir" file="src/test"/>
       <sysproperty key="tempDir" file="${build.dir}/test"/>



Mime
View raw message