From: Dominik Stadler Date: Sun, 9 Nov 2014 19:19:02 +0000 (+0000) Subject: Add xmlsec-jar in test-ooxml-lite which is missing after removing ooxml.classpath X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3dd00ab13adc8e2a08704686349555e1b64fb87a;p=poi.git Add xmlsec-jar in test-ooxml-lite which is missing after removing ooxml.classpath git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637718 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build.xml b/build.xml index 0443883d28..40ecb104a0 100644 --- a/build.xml +++ b/build.xml @@ -293,6 +293,7 @@ under the License. + 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 34c8d59ef1..d99aadd9ca 100644 --- a/src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java +++ b/src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java @@ -482,8 +482,7 @@ public class TestSignatureInfo { si.confirmSignature(); for (SignaturePart sp : si.getSignatureParts()){ - boolean b = sp.validate(); - assertTrue(b); + assertTrue("Could not validate", sp.validate()); X509Certificate signer = sp.getSigner(); assertNotNull("signer undefined?!", signer); List certChainRes = sp.getCertChain();