]> source.dussan.org Git - poi.git/commitdiff
enable assertions for unit-tests (currently disabled for ooxml due to failure in...
authorMaxim Valyanskiy <maxcom@apache.org>
Mon, 12 Sep 2011 11:40:54 +0000 (11:40 +0000)
committerMaxim Valyanskiy <maxcom@apache.org>
Mon, 12 Sep 2011 11:40:54 +0000 (11:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1169699 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index b49bb4b75969abf004f3302ea14119325d5a7049..62c208bf1d8b743bc83ce0dd9ecc597fc990f01c 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -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}">