Author: centic
Date: Sun Jul 14 11:26:38 2024
New Revision: 1919212

URL: http://svn.apache.org/viewvc?rev=1919212&view=rev
Log:
List expected failures in stress.xls instead of fully excluding them

We list expected failures in stress.xls to verify that
the error message is correct and no unexpected exception
is introduced

Modified:
    
poi/trunk/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java
    poi/trunk/test-data/spreadsheet/stress.xls

Modified: 
poi/trunk/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java?rev=1919212&r1=1919211&r2=1919212&view=diff
==============================================================================
--- 
poi/trunk/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java 
(original)
+++ 
poi/trunk/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java 
Sun Jul 14 11:26:38 2024
@@ -97,11 +97,8 @@ public class TestAllFiles {
         "poifs/60320-protected.xlsx",
         "poifs/protected_sha512.xlsx",
 
-        // corrupt file
-        "document/unicode-path.docx",
-        "spreadsheet/duplicate-filename.xlsx",
-        "spreadsheet/duplicate-filename-case-insensitive.xlsx",
-        
"document/clusterfuzz-testcase-minimized-POIXWPFFuzzer-5166796835258368.docx",
+        // NOTE: Expected failures should usually be added in file 
"stress.xls" instead
+        // of being listed here in order to also verify the expected exception 
details!
     };
 
     // cheap workaround of skipping the few problematic files

Modified: poi/trunk/test-data/spreadsheet/stress.xls
URL: 
http://svn.apache.org/viewvc/poi/trunk/test-data/spreadsheet/stress.xls?rev=1919212&r1=1919211&r2=1919212&view=diff
==============================================================================
Binary files - no diff available.



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to