You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2016/05/17 08:44:16 UTC

svn commit: r1744211 - /poi/trunk/src/integrationtest/org/apache/poi/TestAllFiles.java

Author: centic
Date: Tue May 17 08:44:16 2016
New Revision: 1744211

URL: http://svn.apache.org/viewvc?rev=1744211&view=rev
Log:
Exclude newly added corrupt file

Modified:
    poi/trunk/src/integrationtest/org/apache/poi/TestAllFiles.java

Modified: poi/trunk/src/integrationtest/org/apache/poi/TestAllFiles.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/integrationtest/org/apache/poi/TestAllFiles.java?rev=1744211&r1=1744210&r2=1744211&view=diff
==============================================================================
--- poi/trunk/src/integrationtest/org/apache/poi/TestAllFiles.java (original)
+++ poi/trunk/src/integrationtest/org/apache/poi/TestAllFiles.java Tue May 17 08:44:16 2016
@@ -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!", 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org