Author: centic
Date: Sun Nov  9 19:19:02 2014
New Revision: 1637718

URL: http://svn.apache.org/r1637718
Log:
Add xmlsec-jar in test-ooxml-lite which is missing after removing 
ooxml.classpath

Modified:
    poi/trunk/build.xml
    
poi/trunk/src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java

Modified: poi/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1637718&r1=1637717&r2=1637718&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Sun Nov  9 19:19:02 2014
@@ -293,6 +293,7 @@ under the License.
         <pathelement location="${ooxml.output.dir}"/>
         <pathelement location="${ooxml.output.test.dir}"/>
         <pathelement location="${main.output.test.dir}"/>
+        <pathelement location="${ooxml.security.jar}"/>
     </path>
 
 

Modified: 
poi/trunk/src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java?rev=1637718&r1=1637717&r2=1637718&view=diff
==============================================================================
--- 
poi/trunk/src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java 
(original)
+++ 
poi/trunk/src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java 
Sun Nov  9 19:19:02 2014
@@ -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<X509Certificate> certChainRes = sp.getCertChain();



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to