aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/testcases
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2020-12-30 22:56:36 +0000
committerAndreas Beeker <kiwiwings@apache.org>2020-12-30 22:56:36 +0000
commitf7c50cfbe3d4e6d0c7cc48fef29e6051d88d5b01 (patch)
tree7cae0e9a7960317c9c4784e6a587c39d31d905fe /src/ooxml/testcases
parentb231366fb699414386fc14b59a8194b1ad1f20d3 (diff)
downloadpoi-f7c50cfbe3d4e6d0c7cc48fef29e6051d88d5b01.tar.gz
poi-f7c50cfbe3d4e6d0c7cc48fef29e6051d88d5b01.zip
add failing regression test files
fix ooxml-lite packaging fix PP97 dual storage file handling in extractor git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884962 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/testcases')
-rw-r--r--src/ooxml/testcases/org/apache/poi/extractor/ooxml/TestExtractorFactory.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ooxml/testcases/org/apache/poi/extractor/ooxml/TestExtractorFactory.java b/src/ooxml/testcases/org/apache/poi/extractor/ooxml/TestExtractorFactory.java
index 9715e49e80..6ea3b2132e 100644
--- a/src/ooxml/testcases/org/apache/poi/extractor/ooxml/TestExtractorFactory.java
+++ b/src/ooxml/testcases/org/apache/poi/extractor/ooxml/TestExtractorFactory.java
@@ -81,6 +81,7 @@ public class TestExtractorFactory {
private static final POIDataSamples slTests = POIDataSamples.getSlideShowInstance();
private static final File ppt = getFileAndCheck(slTests, "SampleShow.ppt");
private static final File pptx = getFileAndCheck(slTests, "SampleShow.pptx");
+ private static final File ppt97 = getFileAndCheck(slTests, "bug56240.ppt");
private static final File txt = getFileAndCheck(slTests, "SampleShow.txt");
private static final POIDataSamples olTests = POIDataSamples.getHSMFInstance();
@@ -126,6 +127,7 @@ public class TestExtractorFactory {
Arguments.of("Word 6", doc6, "Word6Extractor", 20),
Arguments.of("Word 95", doc95, "Word6Extractor", 120),
Arguments.of("PowerPoint", ppt, "SlideShowExtractor", 120),
+ Arguments.of("PowerPoint 97 Dual", ppt97, "SlideShowExtractor", 120),
Arguments.of("Visio", vsd, "VisioTextExtractor", 50),
Arguments.of("Publisher", pub, "PublisherTextExtractor", 50),
Arguments.of("Outlook msg", msg, "OutlookTextExtractor", 50)