aboutsummaryrefslogtreecommitdiffstats
path: root/src/integrationtest/org/apache/poi
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2016-10-21 16:31:43 +0000
committerDominik Stadler <centic@apache.org>2016-10-21 16:31:43 +0000
commitdcae0284ea70b8537df93a9b7d8d5b52df554b6f (patch)
tree05715dafd0d4a737306b93d87a1b1cecb0e03381 /src/integrationtest/org/apache/poi
parent5f8dd87a07881ce0b733a17c73a4cd32d01ee12c (diff)
downloadpoi-dcae0284ea70b8537df93a9b7d8d5b52df554b6f.tar.gz
poi-dcae0284ea70b8537df93a9b7d8d5b52df554b6f.zip
Correctly handle all types of old files, not just word
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766064 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/integrationtest/org/apache/poi')
-rw-r--r--src/integrationtest/org/apache/poi/TestAllFiles.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/integrationtest/org/apache/poi/TestAllFiles.java b/src/integrationtest/org/apache/poi/TestAllFiles.java
index d6581b9a10..e0e2c0bde2 100644
--- a/src/integrationtest/org/apache/poi/TestAllFiles.java
+++ b/src/integrationtest/org/apache/poi/TestAllFiles.java
@@ -17,7 +17,6 @@
package org.apache.poi;
-import org.apache.poi.hwpf.OldWordFileFormatException;
import org.apache.poi.stress.*;
import org.apache.tools.ant.DirectoryScanner;
import org.junit.Test;
@@ -353,7 +352,7 @@ public class TestAllFiles {
assertFalse("Expected to fail for file " + file + " and handler " + handler + ", but did not fail!",
EXPECTED_FAILURES.contains(file) && !ignoredOPC);
- } catch (OldWordFileFormatException e) {
+ } catch (OldFileFormatException e) {
// for old word files we should still support extracting text
if(OLD_FILES.contains(file)) {
handler.handleExtracting(inputFile);