diff options
author | Nick Burch <nick@apache.org> | 2014-11-06 14:54:02 +0000 |
---|---|---|
committer | Nick Burch <nick@apache.org> | 2014-11-06 14:54:02 +0000 |
commit | a6216f43837f96ab81a65b352d2cb41fd666e554 (patch) | |
tree | 57d089282a51c0a0c16d926e0d291d7baf31e8df | |
parent | f6794774e8443b3d77fefe7017c60dc652519d84 (diff) | |
download | poi-a6216f43837f96ab81a65b352d2cb41fd666e554.tar.gz poi-a6216f43837f96ab81a65b352d2cb41fd666e554.zip |
Try for a more specific failure message on the assert
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637129 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java b/src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java index c0aa39f536..7c185721e7 100644 --- a/src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java +++ b/src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java @@ -470,7 +470,7 @@ public class TestSignatureInfo { si.confirmSignature();
boolean b = si.verifySignature();
- assertTrue(b);
+ assertTrue("Signature not correctly calculated for " + ha, b);
} catch (EncryptedDocumentException e) {
// see http://apache-poi.1045710.n5.nabble.com/org-apache-poi-poifs-crypt-TestSignatureInfo-failing-on-trunk-on-Java-6-tp5717032.html
Throwable cause = e.getCause();
|