]> source.dussan.org Git - poi.git/commitdiff
Exclude newly added corrupt file
authorDominik Stadler <centic@apache.org>
Tue, 17 May 2016 08:44:16 +0000 (08:44 +0000)
committerDominik Stadler <centic@apache.org>
Tue, 17 May 2016 08:44:16 +0000 (08:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744211 13f79535-47bb-0310-9956-ffa450edef68

src/integrationtest/org/apache/poi/TestAllFiles.java

index 3012ce1ebe9275db826d3f37712f55ce2dc2df34..8b4173267b846e1bc07f2fc2b87843afb41776de 100644 (file)
@@ -239,6 +239,7 @@ public class TestAllFiles {
         EXPECTED_FAILURES.add("spreadsheet/43493.xls");
         EXPECTED_FAILURES.add("spreadsheet/46904.xls");
         EXPECTED_FAILURES.add("document/Bug50955.doc");
+        EXPECTED_FAILURES.add("slideshow/bug54570.pptx");
         EXPECTED_FAILURES.add("slideshow/PPT95.ppt");
         EXPECTED_FAILURES.add("openxml4j/OPCCompliance_CoreProperties_DCTermsNamespaceLimitedUseFAIL.docx");
         EXPECTED_FAILURES.add("openxml4j/OPCCompliance_CoreProperties_DoNotUseCompatibilityMarkupFAIL.docx");
@@ -347,7 +348,8 @@ public class TestAllFiles {
             handler.handleExtracting(inputFile);
 
             // special cases where docx-handling breaks, but OPCPackage handling works
-            boolean ignoredOPC = (file.endsWith(".docx") || file.endsWith(".xlsx") || file.endsWith(".xlsb")) && 
+            boolean ignoredOPC = (file.endsWith(".docx") || file.endsWith(".xlsx") ||
+                        file.endsWith(".xlsb") || file.endsWith(".pptx")) &&
                     handler instanceof OPCFileHandler;
 
             assertFalse("Expected to fail for file " + file + " and handler " + handler + ", but did not fail!",