From 3dd00ab13adc8e2a08704686349555e1b64fb87a Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sun, 9 Nov 2014 19:19:02 +0000 Subject: [PATCH] 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 --- build.xml | 1 + .../org/apache/poi/poifs/crypt/TestSignatureInfo.java | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.xml b/build.xml index 0443883d2..40ecb104a 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 34c8d59ef..d99aadd9c 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();