Przeglądaj źródła

extra classes in poi-ooxml-lite

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912964 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_5_2_5
PJ Fanning 7 miesięcy temu
rodzic
commit
6a3e6c2b2e

+ 3
- 0
poi-ooxml/src/test/java/org/apache/poi/xwpf/TestNecessaryOOXMLClasses.java Wyświetl plik

@@ -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);
}
}

Ładowanie…
Anuluj
Zapisz