mirror of https://github.com/apache/poi.git
missing classes in poi-ooxml-lite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893423 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8d7af95fed
commit
5733826765
|
@ -0,0 +1,26 @@
|
|||
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.v14.ValidationDataType;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertNotNull;
|
||||
|
||||
// aim is to get these classes loaded and included in poi-ooxml-lite.jar
|
||||
public class TestNecessaryClasses {
|
||||
|
||||
@Test
|
||||
void testProblemClasses() {
|
||||
DataObjectFormatType dataObjectFormatType = DataObjectFormatType.Factory.newInstance();
|
||||
assertNotNull(dataObjectFormatType);
|
||||
ObjectIdentifierType objectIdentifierType = ObjectIdentifierType.Factory.newInstance();
|
||||
assertNotNull(objectIdentifierType);
|
||||
SignaturePolicyIdType signaturePolicyIdType = SignaturePolicyIdType.Factory.newInstance();
|
||||
assertNotNull(signaturePolicyIdType);
|
||||
ValidationDataType validationDataType = ValidationDataType.Factory.newInstance();
|
||||
assertNotNull(validationDataType);
|
||||
}
|
||||
|
||||
}
|
|
@ -188,6 +188,17 @@ class TestNecessaryOOXMLClasses {
|
|||
assertNotNull(e11);
|
||||
CTErrBars bars = CTErrBars.Factory.newInstance();
|
||||
assertNotNull(bars);
|
||||
|
||||
CTThickness ctThickness = CTThickness.Factory.newInstance();
|
||||
assertNotNull(ctThickness);
|
||||
STOverlap overlap = STOverlap.Factory.newInstance();
|
||||
assertNotNull(overlap);
|
||||
STDepthPercent stDepthPercent = STDepthPercent.Factory.newInstance();
|
||||
assertNotNull(stDepthPercent);
|
||||
STHPercent sthPercent = STHPercent.Factory.newInstance();
|
||||
assertNotNull(sthPercent);
|
||||
STHoleSize stHoleSize = STHoleSize.Factory.newInstance();
|
||||
assertNotNull(stHoleSize);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue