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
This commit is contained in:
Dominik Stadler 2016-11-07 21:32:22 +00:00
parent f9f7fe9740
commit 0a7a454082
1 changed files with 8 additions and 1 deletions

View File

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