poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1761654 - /poi/trunk/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java
Date Wed, 21 Sep 2016 01:14:27 GMT
Author: onealj
Date: Wed Sep 21 01:14:26 2016
New Revision: 1761654

URL: http://svn.apache.org/viewvc?rev=1761654&view=rev
Log:
include class of caught exception

Modified:
    poi/trunk/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java

Modified: poi/trunk/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java?rev=1761654&r1=1761653&r2=1761654&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java Wed Sep 21
01:14:26 2016
@@ -27,6 +27,7 @@ import java.io.File;
 import java.io.FileInputStream;
 import java.io.IOException;
 import java.io.InputStream;
+import java.io.StringWriter;
 import java.util.Collections;
 import java.util.HashMap;
 import java.util.Map;
@@ -262,8 +263,8 @@ public class TestVBAMacroReader {
         reader.close();
     }
     
-    private void skipTest(Throwable e) {
-        assumeTrue("This test currently fails." + e.getLocalizedMessage(), false);
+    private static void skipTest(Throwable e) {
+        assumeTrue("This test currently fails with " + e, false);
     }
     
     // This test is written as expected-to-fail and should be rewritten



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


Mime
View raw message