aboutsummaryrefslogtreecommitdiffstats
path: root/poi-integration/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'poi-integration/src/test/java')
-rw-r--r--poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java1
-rw-r--r--poi-integration/src/test/java/org/apache/poi/stress/XWPFFileHandler.java2
2 files changed, 2 insertions, 1 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 a06606f0d2..9eda9586f6 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
@@ -75,6 +75,7 @@ public class TestAllFiles {
"**/.svn/**",
"lost+found",
"**/.git/**",
+ "**/ExternalEntityInText.docx", //the DocType (DTD) declaration causes this to fail
"**/right-to-left.xlsx" //the threaded comments in this file cause XSSF clone to fail
};
diff --git a/poi-integration/src/test/java/org/apache/poi/stress/XWPFFileHandler.java b/poi-integration/src/test/java/org/apache/poi/stress/XWPFFileHandler.java
index b61128f63f..999869773d 100644
--- a/poi-integration/src/test/java/org/apache/poi/stress/XWPFFileHandler.java
+++ b/poi-integration/src/test/java/org/apache/poi/stress/XWPFFileHandler.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
class XWPFFileHandler extends AbstractFileHandler {
private static final Set<String> EXPECTED_FAILURES = StressTestUtils.unmodifiableHashSet(
- "document/truncated62886.docx"
+ "document/truncated62886.docx", "document/ExternalEntityInText.docx"
);
@Override