From ff055532c17bb2a6f14a31c17870cc020e768f56 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Tue, 17 May 2016 08:44:16 +0000 Subject: [PATCH] Exclude newly added corrupt file git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744211 13f79535-47bb-0310-9956-ffa450edef68 --- src/integrationtest/org/apache/poi/TestAllFiles.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/integrationtest/org/apache/poi/TestAllFiles.java b/src/integrationtest/org/apache/poi/TestAllFiles.java index 3012ce1eb..8b4173267 100644 --- a/src/integrationtest/org/apache/poi/TestAllFiles.java +++ b/src/integrationtest/org/apache/poi/TestAllFiles.java @@ -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!",