aboutsummaryrefslogtreecommitdiffstats
path: root/src/integrationtest/org/apache/poi/stress/XWPFFileHandler.java
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2015-02-27 09:59:14 +0000
committerDominik Stadler <centic@apache.org>2015-02-27 09:59:14 +0000
commit76307fe94bb6a3555967372ff7879a6adcb0f0f7 (patch)
tree99691ca34497a241079df4f2b4cd8f510d2b1350 /src/integrationtest/org/apache/poi/stress/XWPFFileHandler.java
parent51a428c5eefa78d5a18cca919748089d6fe2b62d (diff)
downloadpoi-76307fe94bb6a3555967372ff7879a6adcb0f0f7.tar.gz
poi-76307fe94bb6a3555967372ff7879a6adcb0f0f7.zip
* Add text-extraction verification to integration-tests via a new abstract base FileHandler
* Fix NullPointerException found in some documents when running against the test-data * Add support for extracting text from Dir-Entries WORKBOOK and BOOK to support some old/strangely formatted XLS files. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1662652 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/integrationtest/org/apache/poi/stress/XWPFFileHandler.java')
-rw-r--r--src/integrationtest/org/apache/poi/stress/XWPFFileHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/integrationtest/org/apache/poi/stress/XWPFFileHandler.java b/src/integrationtest/org/apache/poi/stress/XWPFFileHandler.java
index a96d46da31..47c18d8aa0 100644
--- a/src/integrationtest/org/apache/poi/stress/XWPFFileHandler.java
+++ b/src/integrationtest/org/apache/poi/stress/XWPFFileHandler.java
@@ -22,7 +22,7 @@ import java.io.InputStream;
import org.apache.poi.xwpf.usermodel.XWPFDocument;
import org.junit.Test;
-public class XWPFFileHandler implements FileHandler {
+public class XWPFFileHandler extends AbstractFileHandler {
@Override
public void handleFile(InputStream stream) throws Exception {
// ignore password protected files