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
This commit is contained in:
PJ Fanning 2018-07-04 11:38:32 +00:00
parent 4c69a7a4bc
commit 329cbd3d99
1 changed files with 4 additions and 0 deletions

View File

@ -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 // ensure that CTPhoneticRun is loaded by the ooxml test suite so that it is included in poi-ooxml-schemas
List<CTPhoneticRun> phList = st1.getRPhList(); List<CTPhoneticRun> phList = st1.getRPhList();
assertEquals(phList, st2.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); XSSFWorkbook wb3 = XSSFTestDataSamples.writeOutAndReadBack(wb2);