poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fannin...@apache.org
Subject svn commit: r1835048 - /poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/model/TestSharedStringsTable.java
Date Wed, 04 Jul 2018 11:38:32 GMT
Author: fanningpj
Date: Wed Jul  4 11:38:32 2018
New Revision: 1835048

URL: http://svn.apache.org/viewvc?rev=1835048&view=rev
Log:
try to get CTPhonetic included in poi-ooxml-schemas

Modified:
    poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/model/TestSharedStringsTable.java

Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/model/TestSharedStringsTable.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/model/TestSharedStringsTable.java?rev=1835048&r1=1835047&r2=1835048&view=diff
==============================================================================
--- poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/model/TestSharedStringsTable.java (original)
+++ poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/model/TestSharedStringsTable.java Wed
Jul  4 11:38:32 2018
@@ -203,6 +203,10 @@ public final class TestSharedStringsTabl
             // 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);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message