diff options
author | PJ Fanning <fanningpj@apache.org> | 2018-06-30 14:49:31 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2018-06-30 14:49:31 +0000 |
commit | 439c277f2b581f9bf1f9f362eaa5402edd208b87 (patch) | |
tree | 798c3c6f2e5b40347e2734e741f17e328082f602 | |
parent | c038ccdd1dbd1c925d9311cbb57b3fe29077ad5e (diff) | |
download | poi-439c277f2b581f9bf1f9f362eaa5402edd208b87.tar.gz poi-439c277f2b581f9bf1f9f362eaa5402edd208b87.zip |
try to get CTPhoneticRun added to poi-ooxml-schemas jar (referenced in excel-streaming-reader codebase)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1834745 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | build.xml | 2 | ||||
-rw-r--r-- | src/ooxml/testcases/org/apache/poi/xssf/model/TestSharedStringsTable.java | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -294,7 +294,7 @@ under the License. <property name="dist.sequence-library.jar" location="${compile.lib}/svnant/sequence-library-1.0.3.jar"/> <property name="dist.sequence-library.url" value="${repository.m2}/maven2/de/regnis/q/sequence/sequence-library/1.0.3/sequence-library-1.0.3.jar"/> - <property name="findbugs.url" value="http://downloads.sourceforge.net/project/findbugs/findbugs/3.0.1/findbugs-noUpdateChecks-3.0.1.zip?download="/> + <property name="findbugs.url" value="https://downloads.sourceforge.net/project/findbugs/findbugs/3.0.1/findbugs-noUpdateChecks-3.0.1.zip?download="/> <property name="findbugs.jar" location="${main.lib}/findbugs-noUpdateChecks-3.0.1.zip"/> <propertyset id="junit.properties"> 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 061144e735..138e4f58c1 100644 --- a/src/ooxml/testcases/org/apache/poi/xssf/model/TestSharedStringsTable.java +++ b/src/ooxml/testcases/org/apache/poi/xssf/model/TestSharedStringsTable.java @@ -30,6 +30,7 @@ import org.apache.poi.xssf.XSSFTestDataSamples; import org.apache.poi.xssf.usermodel.XSSFFont; import org.apache.poi.xssf.usermodel.XSSFRichTextString; import org.apache.poi.xssf.usermodel.XSSFWorkbook; +import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTPhoneticRun; import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTRElt; import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTRPrElt; import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTRst; @@ -199,6 +200,9 @@ public final class TestSharedStringsTable extends TestCase { CTRst st1 = items1.get(i); CTRst st2 = items2.get(i); assertEquals(st1.toString(), st2.toString()); + // 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()); } XSSFWorkbook wb3 = XSSFTestDataSamples.writeOutAndReadBack(wb2); |