diff options
author | Yegor Kozlov <yegor@apache.org> | 2010-05-22 16:07:31 +0000 |
---|---|---|
committer | Yegor Kozlov <yegor@apache.org> | 2010-05-22 16:07:31 +0000 |
commit | 267082051485df62e56d54486d20e1eb1660fcb1 (patch) | |
tree | ea219211f5cb65c419a87c9b5e30d134609370a9 | |
parent | 6fd6e4ba8410d97f6c4810d5d34d63414f734294 (diff) | |
download | poi-267082051485df62e56d54486d20e1eb1660fcb1.tar.gz poi-267082051485df62e56d54486d20e1eb1660fcb1.zip |
Ensure that CTPhoneticPr is included in poi-ooxml jar, see Bugzilla 49325
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947312 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/documentation/content/xdocs/status.xml | 2 | ||||
-rw-r--r-- | src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/documentation/content/xdocs/status.xml b/src/documentation/content/xdocs/status.xml index 9d34da5b1e..ea298f9298 100644 --- a/src/documentation/content/xdocs/status.xml +++ b/src/documentation/content/xdocs/status.xml @@ -34,6 +34,8 @@ <changes> <release version="3.7-SNAPSHOT" date="2010-??-??"> + <action dev="POI-DEVELOPERS" type="fix">49325 - Ensure that CTPhoneticPr is included in poi-ooxml jar</action> + <action dev="POI-DEVELOPERS" type="fix">49191 - Fixed tests failing in non-english locales</action> <action dev="POI-DEVELOPERS" type="add">48432 - Support for XSSF themes</action> <action dev="POI-DEVELOPERS" type="add">49244 - Support for data validation for OOXML format</action> <action dev="POI-DEVELOPERS" type="add">49066 - Worksheet/cell formatting, with view and HTML converter</action> diff --git a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java index 7d3df74279..f521cb53ba 100644 --- a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java +++ b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java @@ -26,6 +26,7 @@ import org.apache.poi.openxml4j.opc.PackagingURIHelper; import org.apache.poi.ss.usermodel.BaseTestBugzillaIssues; import org.apache.poi.xssf.XSSFITestDataProvider; import org.apache.poi.xssf.XSSFTestDataSamples; +import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTWorksheet; public final class TestXSSFBugs extends BaseTestBugzillaIssues { @@ -148,4 +149,13 @@ public final class TestXSSFBugs extends BaseTestBugzillaIssues { public void test49020() throws Exception { XSSFWorkbook wb = XSSFTestDataSamples.openSampleWorkbook("BrNotClosed.xlsx"); } + + /** + * ensure that CTPhoneticPr is loaded by the ooxml test suite so that it is included in poi-ooxml-schemas + */ + public void test49325() throws Exception { + XSSFWorkbook wb = XSSFTestDataSamples.openSampleWorkbook("49325.xlsx"); + CTWorksheet sh = wb.getSheetAt(0).getCTWorksheet(); + assertNotNull(sh.getPhoneticPr()); + } } |