Sfoglia il codice sorgente

Add a way to exclude tests via Ant-properties, needed to check if ooxml-tests run without scratchpad (except TestExtractorFactory)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768591 13f79535-47bb-0310-9956-ffa450edef68
pull/43/head
Dominik Stadler 7 anni fa
parent
commit
cc38d66a3e
1 ha cambiato i file con 8 aggiunte e 1 eliminazioni
  1. 8
    1
      build.xml

+ 8
- 1
build.xml Vedi File

@@ -1263,6 +1263,7 @@ under the License.
<exclude name="**/All*Tests.java"/>
<exclude name="**/TestUnfixedBugs.java"/>
<exclude name="**/TestcaseRecordInputStream.java"/>
<exclude name="**/${testexcludepattern}.java"/>
</fileset>
</batchtest>
</junit>
@@ -1324,6 +1325,7 @@ under the License.
<exclude name="**/All*Tests.java"/>
<exclude name="**/TestUnfixedBugs.java"/>
<exclude name="**/TestcaseRecordInputStream.java"/>
<exclude name="**/${testexcludepattern}.java"/>
</fileset>
</batchtest>
</junit>
@@ -1368,6 +1370,7 @@ under the License.
<fileset dir="${scratchpad.src.test}">
<include name="**/${testpattern}.java"/>
<exclude name="**/AllTests.java"/>
<exclude name="**/${testexcludepattern}.java"/>
</fileset>
</batchtest>
</junit>
@@ -1410,7 +1413,8 @@ under the License.
<include name="**/${testpattern}.java"/>
<exclude name="**/TestUnfixedBugs.java"/>
<exclude name="**/All*Tests.java"/>
<exclude name="**/TestSignatureInfo.java"/>
<exclude name="**/TestSignatureInfo.java"/>
<exclude name="**/${testexcludepattern}.java"/>
</fileset>
</batchtest>
</junit>
@@ -1481,6 +1485,7 @@ under the License.
<include name="**/org/apache/poi/xssf/**/${testpattern}.java"/>
<exclude name="**/TestUnfixedBugs.java"/>
<exclude name="**/All*Tests.java"/>
<exclude name="**/${testexcludepattern}.java"/>
</fileset>
</batchtest>
</junit>
@@ -1525,6 +1530,7 @@ under the License.
<batchtest todir="${integration.reports.test}">
<fileset dir="${integration.src.test}">
<include name="**/${testpattern}.java"/>
<exclude name="**/${testexcludepattern}.java"/>
</fileset>
</batchtest>
</junit>
@@ -1616,6 +1622,7 @@ under the License.
<batchtest todir="${excelant.reports.test}">
<fileset dir="${excelant.src.test}">
<include name="**/${testpattern}.java"/>
<exclude name="**/${testexcludepattern}.java"/>
</fileset>
</batchtest>
</junit>

Loading…
Annulla
Salva