]> source.dussan.org Git - poi.git/commitdiff
Skip the new password protected file, and re-org a little bit some other failures
authorNick Burch <nick@apache.org>
Wed, 29 Apr 2015 22:07:43 +0000 (22:07 +0000)
committerNick Burch <nick@apache.org>
Wed, 29 Apr 2015 22:07:43 +0000 (22:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1676874 13f79535-47bb-0310-9956-ffa450edef68

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

index 701e504e1beb07b163886541ff82e7131d6a3791..b63684dda0f3c68596802038f67fe521616d14b6 100644 (file)
@@ -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");