You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ma...@apache.org on 2011/09/12 13:40:54 UTC

svn commit: r1169699 - /poi/trunk/build.xml

Author: maxcom
Date: Mon Sep 12 11:40:54 2011
New Revision: 1169699

URL: http://svn.apache.org/viewvc?rev=1169699&view=rev
Log:
enable assertions for unit-tests (currently disabled for ooxml due to failure in TestSXSSFRow)

Modified:
    poi/trunk/build.xml

Modified: poi/trunk/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1169699&r1=1169698&r2=1169699&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Mon Sep 12 11:40:54 2011
@@ -627,6 +627,7 @@ under the License.
             <classpath refid="test.classpath"/>
             <syspropertyset refid="junit.properties"/>
             <jvmarg value="${poi.test.locale}"/>
+            <jvmarg value="-ea"/>
             <formatter type="plain"/>
             <batchtest todir="${main.reports.test}">
                 <fileset dir="${main.src.test}">
@@ -664,6 +665,7 @@ under the License.
             <classpath refid="test.scratchpad.classpath"/>
             <syspropertyset refid="junit.properties"/>
             <jvmarg value="${poi.test.locale}"/>
+            <jvmarg value="-ea"/>
             <!-- 
               YK: ensure that JUnit has enough memory to run tests. 
               Without the line below tests fail on Mac OS X with jdk-1.6.26 
@@ -701,6 +703,7 @@ under the License.
               <classpath refid="@{classpath}"/>
               <syspropertyset refid="junit.properties"/>
               <jvmarg value="${poi.test.locale}"/>
+<!--              <jvmarg value="-ea"/> -->
               <formatter type="plain"/>
               <batchtest todir="${ooxml.reports.test}">
                   <fileset dir="${ooxml.src.test}">
@@ -755,6 +758,7 @@ under the License.
             <classpath refid="test.excelant.classpath"/>
             <syspropertyset refid="junit.properties"/>
             <jvmarg value="${poi.test.locale}"/>
+            <jvmarg value="-ea"/>
             <formatter type="plain"/>
             <batchtest todir="${excelant.reports.test}">
                 <fileset dir="${excelant.src.test}">



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org