From 1f50c10ab0c29d4025d7d8728c3691643c5fcb0a Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sun, 14 Feb 2021 20:25:59 +0000 Subject: [PATCH] add missing CTPhoneticRun git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886511 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/xssf/TestNecessaryOOXMLClasses.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ooxml/testcases/org/apache/poi/xssf/TestNecessaryOOXMLClasses.java b/src/ooxml/testcases/org/apache/poi/xssf/TestNecessaryOOXMLClasses.java index 3f8d094b0f..db2a96a844 100644 --- a/src/ooxml/testcases/org/apache/poi/xssf/TestNecessaryOOXMLClasses.java +++ b/src/ooxml/testcases/org/apache/poi/xssf/TestNecessaryOOXMLClasses.java @@ -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(); } } -- 2.39.5