]> source.dussan.org Git - poi.git/commitdiff
add missing CTPhoneticRun
authorPJ Fanning <fanningpj@apache.org>
Sun, 14 Feb 2021 20:25:59 +0000 (20:25 +0000)
committerPJ Fanning <fanningpj@apache.org>
Sun, 14 Feb 2021 20:25:59 +0000 (20:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886511 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/testcases/org/apache/poi/xssf/TestNecessaryOOXMLClasses.java

index 3f8d094b0fcc9507040a08a7a8396475caa0b14f..db2a96a844f1aa68ea5ffceb829b68348eb84b96 100644 (file)
@@ -20,6 +20,7 @@ package org.apache.poi.xssf;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
 import org.junit.jupiter.api.Test;
+import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTPhoneticRun;
 import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTRow;
 import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTSheetData;
 
@@ -33,5 +34,7 @@ class TestNecessaryOOXMLClasses {
         // need to get the inner class that implements the row list class loaded
         assertTrue(sheetData.getRowList().add(row));
         assertTrue(sheetData.getRowList().iterator().hasNext());
+        //important class missing in v5.0.0 poi-ooxml-lite
+        CTPhoneticRun run = CTPhoneticRun.Factory.newInstance();
     }
 }