]> source.dussan.org Git - poi.git/commitdiff
add more classes
authorPJ Fanning <fanningpj@apache.org>
Sun, 19 Sep 2021 10:15:58 +0000 (10:15 +0000)
committerPJ Fanning <fanningpj@apache.org>
Sun, 19 Sep 2021 10:15:58 +0000 (10:15 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893434 13f79535-47bb-0310-9956-ffa450edef68

poi-ooxml/src/test/java/org/apache/poi/poifs/crypt/dsig/TestNecessaryClasses.java

index a793ed49128643c618ca79d1e6770861b1b23ed4..0742dbfce96b63d9fb938f1454ea8e02aee387f6 100644 (file)
@@ -16,9 +16,7 @@
 ==================================================================== */
 package org.apache.poi.poifs.crypt.dsig;
 
-import org.etsi.uri.x01903.v13.DataObjectFormatType;
-import org.etsi.uri.x01903.v13.ObjectIdentifierType;
-import org.etsi.uri.x01903.v13.SignaturePolicyIdType;
+import org.etsi.uri.x01903.v13.*;
 import org.etsi.uri.x01903.v14.ValidationDataType;
 import org.junit.jupiter.api.Test;
 
@@ -31,10 +29,16 @@ public class TestNecessaryClasses {
     void testProblemClasses() {
         DataObjectFormatType dataObjectFormatType = DataObjectFormatType.Factory.newInstance();
         assertNotNull(dataObjectFormatType);
+        IdentifierType identifierType = IdentifierType.Factory.newInstance();
+        assertNotNull(identifierType);
         ObjectIdentifierType objectIdentifierType = ObjectIdentifierType.Factory.newInstance();
         assertNotNull(objectIdentifierType);
+        SignedDataObjectPropertiesType signedDataObjectPropertiesType = SignedDataObjectPropertiesType.Factory.newInstance();
+        assertNotNull(signedDataObjectPropertiesType);
         SignaturePolicyIdType signaturePolicyIdType = SignaturePolicyIdType.Factory.newInstance();
         assertNotNull(signaturePolicyIdType);
+        SigPolicyQualifiersListType sigPolicyQualifiersListType = SigPolicyQualifiersListType.Factory.newInstance();
+        assertNotNull(sigPolicyQualifiersListType);
         ValidationDataType validationDataType = ValidationDataType.Factory.newInstance();
         assertNotNull(validationDataType);
     }