You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2016/10/21 16:31:43 UTC
svn commit: r1766064 -
/poi/trunk/src/integrationtest/org/apache/poi/TestAllFiles.java
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