From 6d5e376c884db604eb04eae6c4b534f823151c1e Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Wed, 29 Apr 2015 22:07:43 +0000 Subject: [PATCH] Skip the new password protected file, and re-org a little bit some other failures git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1676874 13f79535-47bb-0310-9956-ffa450edef68 --- src/integrationtest/org/apache/poi/TestAllFiles.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/integrationtest/org/apache/poi/TestAllFiles.java b/src/integrationtest/org/apache/poi/TestAllFiles.java index 701e504e1b..b63684dda0 100644 --- a/src/integrationtest/org/apache/poi/TestAllFiles.java +++ b/src/integrationtest/org/apache/poi/TestAllFiles.java @@ -181,6 +181,7 @@ public class TestAllFiles { static { // password protected files EXPECTED_FAILURES.add("spreadsheet/password.xls"); + EXPECTED_FAILURES.add("spreadsheet/protected_passtika.xlsx"); EXPECTED_FAILURES.add("spreadsheet/51832.xls"); EXPECTED_FAILURES.add("document/PasswordProtected.doc"); EXPECTED_FAILURES.add("slideshow/Password_Protected-hello.ppt"); @@ -213,7 +214,7 @@ public class TestAllFiles { // This is actually a spreadsheet! EXPECTED_FAILURES.add("hpsf/TestRobert_Flaherty.doc"); - // some files that are broken, Excel 5.0/95, Word 95, ... + // some files that are broken, eg Word 95, ... EXPECTED_FAILURES.add("spreadsheet/43493.xls"); EXPECTED_FAILURES.add("spreadsheet/46904.xls"); EXPECTED_FAILURES.add("document/56880.doc"); @@ -229,12 +230,14 @@ public class TestAllFiles { EXPECTED_FAILURES.add("spreadsheet/54764-2.xlsx"); // see TestXSSFBugs.bug54764() EXPECTED_FAILURES.add("spreadsheet/54764.xlsx"); // see TestXSSFBugs.bug54764() EXPECTED_FAILURES.add("spreadsheet/Simple.xlsb"); + EXPECTED_FAILURES.add("poifs/unknown_properties.msg"); // POIFS properties corrupted + + // old Excel files, which we only support simple text extraction of EXPECTED_FAILURES.add("spreadsheet/testEXCEL_2.xls"); EXPECTED_FAILURES.add("spreadsheet/testEXCEL_3.xls"); EXPECTED_FAILURES.add("spreadsheet/testEXCEL_4.xls"); EXPECTED_FAILURES.add("spreadsheet/testEXCEL_5.xls"); EXPECTED_FAILURES.add("spreadsheet/testEXCEL_95.xls"); - EXPECTED_FAILURES.add("poifs/unknown_properties.msg"); // POIFS properties corrupted // OOXML Strict is not yet supported, see bug #57699 EXPECTED_FAILURES.add("spreadsheet/SampleSS.strict.xlsx"); -- 2.39.5