poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1766064 - /poi/trunk/src/integrationtest/org/apache/poi/TestAllFiles.java
Date Fri, 21 Oct 2016 16:31:43 GMT
Author: centic
Date: Fri Oct 21 16:31:43 2016
New Revision: 1766064

URL: http://svn.apache.org/viewvc?rev=1766064&view=rev
Log:
Correctly handle all types of old files, not just word

Modified:
    poi/trunk/src/integrationtest/org/apache/poi/TestAllFiles.java

Modified: poi/trunk/src/integrationtest/org/apache/poi/TestAllFiles.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/integrationtest/org/apache/poi/TestAllFiles.java?rev=1766064&r1=1766063&r2=1766064&view=diff
==============================================================================
--- poi/trunk/src/integrationtest/org/apache/poi/TestAllFiles.java (original)
+++ poi/trunk/src/integrationtest/org/apache/poi/TestAllFiles.java Fri Oct 21 16:31:43 2016
@@ -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);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message