]> source.dussan.org Git - poi.git/commitdiff
remove test-hssf ant target
authorJaven O'Neal <onealj@apache.org>
Wed, 25 Oct 2017 20:19:23 +0000 (20:19 +0000)
committerJaven O'Neal <onealj@apache.org>
Wed, 25 Oct 2017 20:19:23 +0000 (20:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1813351 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index 97c1735d8d1d7de11420bf80eaa4afe900ced284..956122b79dca0a0bc3711211f5217bdac7fa6f1f 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -103,9 +103,6 @@ under the License.
     <property name="main.reports.test" location="build/test-results"/>
     <property name="main.testokfile" location="build/main-testokfile.txt"/>
 
-    <!-- HSSF subset of Main: -->
-    <property name="main.hssf.testokfile" location="build/main-hssf-testokfile.txt"/>
-
     <!-- Scratchpad: -->
     <property name="scratchpad.resource1.dir" value="src/resources/scratchpad"/>
     <property name="scratchpad.src" location="src/scratchpad/src"/>
@@ -1310,60 +1307,6 @@ under the License.
         <echo file="${main.testokfile}" append="false" message="testok"/>
     </target>
 
-    <!-- Section: test-hssf -->
-    <target name="-test-main-hssf-check">
-        <uptodate property="main.hssf.test.notRequired" targetfile="${main.hssf.testokfile}">
-            <srcfiles dir="${main.src}"/>
-            <srcfiles dir="${main.src.test}"/>
-        </uptodate>
-    </target>
-
-    <!-- HSSF subset of test-main
-    Purpose: quicker HSSF testing cycles. Skips some tests for speed reasons. This target is not sufficient for committing changes. -->
-    <target name="test-hssf" unless="main.hssf.test.notRequired"
-            depends="compile-main, -test-main-hssf-check,jacocotask" xmlns:jacoco="antlib:org.jacoco.ant"
-            description="test HSSF classes only">
-        <jacoco:coverage enabled="${coverage.enabled}" excludes="${coverage.excludes}" destfile="build/jacoco-hssf.exec">
-            <junit fork="yes" forkmode="once" printsummary="yes" haltonfailure="${halt.on.test.failure}"
-                   failureproperty="main.hssf.test.failed" showoutput="true">
-                <classpath refid="test.classpath"/>
-                <classpath refid="test.jar.classpath"/>
-                <syspropertyset refid="junit.properties"/>
-                <jvmarg value="-ea"/>
-                <jvmarg value="-Xmx256m"/>
-                <!-- jvmarg value="-Duser.timezone=UTC"/ -->
-                <jvmarg value="${java9addmods}" />
-                <jvmarg value="${java9addmodsvalue}" />
-                <jvmarg value="${java9addopens1}" />
-                <jvmarg value="${java9addopens2}" />
-                <jvmarg value="${java9addopens3}" />
-                <jvmarg value="${java9addopens4}" />
-                <jvmarg value="${java9addopens5}" />
-                <formatter type="plain"/>
-                <formatter type="xml"/>
-                <batchtest todir="${main.reports.test}">
-                    <fileset dir="${main.src.test}">
-                        <include name="org/apache/poi/ss/**/${testpattern}.java"/>
-                        <include name="org/apache/poi/hssf/**/${testpattern}.java"/>
-                        <!-- skip slow dev tests, especially TestBiffViewer and TestReSave -->
-                        <exclude name="org/apache/poi/hssf/dev/**/${testpattern}.java"/>
-                        <exclude name="**/All*Tests.java"/>
-                        <exclude name="**/TestUnfixedBugs.java"/>
-                        <exclude name="**/TestcaseRecordInputStream.java"/>
-                        <exclude name="**/${testexcludepattern}.java"/>
-                        <patternset refid="exclude-scratchpad-test" if:true="${scratchpad.ignore}"/>
-                    </fileset>
-                </batchtest>
-            </junit>
-        </jacoco:coverage>
-        <delete file="${main.hssf.testokfile}"/>
-        <antcall target="-test-main-hssf-write-testfile"/>
-    </target>
-
-    <target name="-test-main-hssf-write-testfile" unless="main.hssf.test.failed">
-        <echo file="${main.hssf.testokfile}" append="false" message="testok"/>
-    </target>
-
     <!-- Section: test-scratchpad -->
     <target name="-test-scratchpad-check">
         <uptodate property="scratchpad.test.notRequired" targetfile="${scratchpad.testokfile}">