From: PJ Fanning Date: Wed, 4 Jul 2018 11:38:32 +0000 (+0000) Subject: try to get CTPhonetic included in poi-ooxml-schemas X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4c97e2daa598f8bcdcdb16b655422f613d9f60e6;p=poi.git try to get CTPhonetic included in poi-ooxml-schemas git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1835048 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/ooxml/testcases/org/apache/poi/xssf/model/TestSharedStringsTable.java b/src/ooxml/testcases/org/apache/poi/xssf/model/TestSharedStringsTable.java index 138e4f58c1..18ee293dc3 100644 --- a/src/ooxml/testcases/org/apache/poi/xssf/model/TestSharedStringsTable.java +++ b/src/ooxml/testcases/org/apache/poi/xssf/model/TestSharedStringsTable.java @@ -203,6 +203,10 @@ public final class TestSharedStringsTable extends TestCase { // ensure that CTPhoneticRun is loaded by the ooxml test suite so that it is included in poi-ooxml-schemas List phList = st1.getRPhList(); assertEquals(phList, st2.getRPhList()); + // this code is required to make sure all the necessary classes are loaded + CTPhoneticRun run = CTPhoneticRun.Factory.newInstance(); + run.setEb(12); + assertEquals(12, run.getEb()); } XSSFWorkbook wb3 = XSSFTestDataSamples.writeOutAndReadBack(wb2);