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
64466c8328
commit
3dd00ab13a
@ -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…
Reference in New Issue
Block a user