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 f68e8e2c07
commit 4c97e2daa5

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
List<CTPhoneticRun> 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);