Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BD4A4200BA7 for ; Fri, 21 Oct 2016 18:31:52 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BBC84160AE8; Fri, 21 Oct 2016 16:31:52 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0FD5B160ADE for ; Fri, 21 Oct 2016 18:31:51 +0200 (CEST) Received: (qmail 86291 invoked by uid 500); 21 Oct 2016 16:31:51 -0000 Mailing-List: contact commits-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@poi.apache.org Delivered-To: mailing list commits@poi.apache.org Received: (qmail 86282 invoked by uid 99); 21 Oct 2016 16:31:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2016 16:31:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D032A1A05C2 for ; Fri, 21 Oct 2016 16:31:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id yI-o8vcfGc3J for ; Fri, 21 Oct 2016 16:31:48 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id E6B9A5F230 for ; Fri, 21 Oct 2016 16:31:47 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id AD0CDE06AA for ; Fri, 21 Oct 2016 16:31:43 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id AF7C03A0B5F for ; Fri, 21 Oct 2016 16:31:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1766064 - /poi/trunk/src/integrationtest/org/apache/poi/TestAllFiles.java Date: Fri, 21 Oct 2016 16:31:43 -0000 To: commits@poi.apache.org From: centic@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20161021163143.AF7C03A0B5F@svn01-us-west.apache.org> archived-at: Fri, 21 Oct 2016 16:31:52 -0000 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