mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
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
This commit is contained in:
parent
b66ad25484
commit
529a05f37f
@ -293,6 +293,7 @@ under the License.
|
|||||||
<pathelement location="${ooxml.output.dir}"/>
|
<pathelement location="${ooxml.output.dir}"/>
|
||||||
<pathelement location="${ooxml.output.test.dir}"/>
|
<pathelement location="${ooxml.output.test.dir}"/>
|
||||||
<pathelement location="${main.output.test.dir}"/>
|
<pathelement location="${main.output.test.dir}"/>
|
||||||
|
<pathelement location="${ooxml.security.jar}"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -482,8 +482,7 @@ public class TestSignatureInfo {
|
|||||||
si.confirmSignature();
|
si.confirmSignature();
|
||||||
|
|
||||||
for (SignaturePart sp : si.getSignatureParts()){
|
for (SignaturePart sp : si.getSignatureParts()){
|
||||||
boolean b = sp.validate();
|
assertTrue("Could not validate", sp.validate());
|
||||||
assertTrue(b);
|
|
||||||
X509Certificate signer = sp.getSigner();
|
X509Certificate signer = sp.getSigner();
|
||||||
assertNotNull("signer undefined?!", signer);
|
assertNotNull("signer undefined?!", signer);
|
||||||
List<X509Certificate> certChainRes = sp.getCertChain();
|
List<X509Certificate> certChainRes = sp.getCertChain();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user