From 4c97e2daa598f8bcdcdb16b655422f613d9f60e6 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Wed, 4 Jul 2018 11:38:32 +0000 Subject: [PATCH] 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 --- .../org/apache/poi/xssf/model/TestSharedStringsTable.java | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.39.5