diff options
author | Javen O'Neal <onealj@apache.org> | 2016-09-21 01:14:26 +0000 |
---|---|---|
committer | Javen O'Neal <onealj@apache.org> | 2016-09-21 01:14:26 +0000 |
commit | 8c2df4753f9a6ca43ad1ec982ed014238d48c37b (patch) | |
tree | d3903a1a15eb6cf7e3e400ea970561bd323c9557 /src/testcases/org/apache/poi/poifs/macros | |
parent | 3d953b0065d983dd3fdee84c2de401bdc70bc3d5 (diff) | |
download | poi-8c2df4753f9a6ca43ad1ec982ed014238d48c37b.tar.gz poi-8c2df4753f9a6ca43ad1ec982ed014238d48c37b.zip |
include class of caught exception
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1761654 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/poifs/macros')
-rw-r--r-- | src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java b/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java index 6693a52275..41d2ea1754 100644 --- a/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java +++ b/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java @@ -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 |