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
This commit is contained in:
parent
9b50601458
commit
31674ea13b
@ -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">
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user