poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r1675719 - /poi/trunk/src/integrationtest/org/apache/poi/TestAllFiles.java
Date Thu, 23 Apr 2015 21:09:42 GMT
Author: nick
Date: Thu Apr 23 21:09:42 2015
New Revision: 1675719

URL: http://svn.apache.org/r1675719
Log:
Add another file exclude, and hae the test print out which fails failed to make it quicker
to spot in the jenkins failure email

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=1675719&r1=1675718&r2=1675719&view=diff
==============================================================================
--- poi/trunk/src/integrationtest/org/apache/poi/TestAllFiles.java (original)
+++ poi/trunk/src/integrationtest/org/apache/poi/TestAllFiles.java Thu Apr 23 21:09:42 2015
@@ -234,6 +234,7 @@ public class TestAllFiles {
         EXPECTED_FAILURES.add("spreadsheet/testEXCEL_4.xls");
         EXPECTED_FAILURES.add("spreadsheet/testEXCEL_5.xls");
         EXPECTED_FAILURES.add("spreadsheet/testEXCEL_95.xls");
+        EXPECTED_FAILURES.add("poifs/unknown_properties.msg"); // POIFS properties corrupted
         
         // OOXML Strict is not yet supported, see bug #57699
         EXPECTED_FAILURES.add("spreadsheet/SampleSS.strict.xlsx");
@@ -296,12 +297,14 @@ public class TestAllFiles {
             } else {
                 // check if we expect failure for this file
                 if(!EXPECTED_FAILURES.contains(file) && !AbstractFileHandler.EXPECTED_EXTRACTOR_FAILURES.contains(file))
{
+                    System.out.println("Failed: " + file);
                     throw new Exception("While handling " + file, e);
                 }
             }
         } catch (Exception e) {
             // check if we expect failure for this file
             if(!EXPECTED_FAILURES.contains(file) && !AbstractFileHandler.EXPECTED_EXTRACTOR_FAILURES.contains(file))
{
+                System.out.println("Failed: " + file);
                 throw new Exception("While handling " + file, e);
             }
         }



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


Mime
View raw message