From 529a05f37fcc802ee042d82a1640310112ca28c2 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 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(); -- 2.39.5