From 6a3e6c2b2e6c7549fc4ad0fd26db63c419de23f7 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sat, 14 Oct 2023 14:37:59 +0000 Subject: [PATCH] extra classes in poi-ooxml-lite git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912964 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/poi/xwpf/TestNecessaryOOXMLClasses.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/poi-ooxml/src/test/java/org/apache/poi/xwpf/TestNecessaryOOXMLClasses.java b/poi-ooxml/src/test/java/org/apache/poi/xwpf/TestNecessaryOOXMLClasses.java index 6840722c5d..047741435a 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/xwpf/TestNecessaryOOXMLClasses.java +++ b/poi-ooxml/src/test/java/org/apache/poi/xwpf/TestNecessaryOOXMLClasses.java @@ -22,6 +22,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import org.junit.jupiter.api.Test; import org.openxmlformats.schemas.wordprocessingml.x2006.main.*; +import org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTBdoContentRunImpl; // aim is to get these classes loaded and included in poi-ooxml-lite.jar class TestNecessaryOOXMLClasses { @@ -39,5 +40,7 @@ class TestNecessaryOOXMLClasses { assertEquals(STEm.CIRCLE, STEm.Enum.forString("circle")); STHexColorAuto stHexColorAuto = STHexColorAuto.Factory.newInstance(); assertNotNull(stHexColorAuto); + CTBdoContentRun bdoContentRun = CTBdoContentRun.Factory.newInstance(); + assertNotNull(bdoContentRun); } } -- 2.39.5