aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2024-07-14 11:26:38 +0000
committerDominik Stadler <centic@apache.org>2024-07-14 11:26:38 +0000
commit148ac23c0d2e17f25d943659b5c5d769f1df9fdb (patch)
tree3bcaab8d20b68952545d887839d034f3c6e2d48e
parenta0008d6764e351557bc62eba9b1509c0f2ff9a68 (diff)
downloadpoi-148ac23c0d2e17f25d943659b5c5d769f1df9fdb.tar.gz
poi-148ac23c0d2e17f25d943659b5c5d769f1df9fdb.zip
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 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919212 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java7
-rw-r--r--test-data/spreadsheet/stress.xlsbin65536 -> 67584 bytes
2 files changed, 2 insertions, 5 deletions
diff --git a/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java b/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java
index 2f8ba9aafa..2767ca9f72 100644
--- a/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java
+++ b/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java
@@ -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
diff --git a/test-data/spreadsheet/stress.xls b/test-data/spreadsheet/stress.xls
index f4d52ecf69..04046bd635 100644
--- a/test-data/spreadsheet/stress.xls
+++ b/test-data/spreadsheet/stress.xls
Binary files differ