]> source.dussan.org Git - poi.git/commitdiff
add classes to suit Sayi/poi-tl
authorPJ Fanning <fanningpj@apache.org>
Wed, 26 Jan 2022 13:46:56 +0000 (13:46 +0000)
committerPJ Fanning <fanningpj@apache.org>
Wed, 26 Jan 2022 13:46:56 +0000 (13:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897506 13f79535-47bb-0310-9956-ffa450edef68

poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/TestNecessaryOOXMLClasses.java

index 949189ac167c51a90ac1d31f058bf6d27b4d6bc7..77971ba982e1aff2a76d665e78362517723cc8b2 100644 (file)
@@ -201,4 +201,30 @@ class TestNecessaryOOXMLClasses {
         assertNotNull(stHoleSize);
     }
 
+    @Test
+    void testClassesForSayiPoiTl() {
+        //https://github.com/Sayi/poi-tl/tree/master/poi-ooxml-schemas-extra
+        CTCustSplit ctCustSplit = CTCustSplit.Factory.newInstance();
+        assertNotNull(ctCustSplit);
+        CTOfPieChart ctOfPieChart = CTOfPieChart.Factory.newInstance();
+        assertNotNull(ctOfPieChart);
+        CTOfPieType ctOfPieType = CTOfPieType.Factory.newInstance();
+        assertNotNull(ctOfPieType);
+        CTSecondPieSize ctSecondPieSize = CTSecondPieSize.Factory.newInstance();
+        assertNotNull(ctSecondPieSize);
+        CTSplitType ctSplitType = CTSplitType.Factory.newInstance();
+        assertNotNull(ctSplitType);
+        STOfPieType stOfPieType = STOfPieType.Factory.newInstance();
+        assertNotNull(stOfPieType);
+        assertNotNull(STOfPieType.Enum.forString("pie"));
+        STSecondPieSize stSecondPieSize = STSecondPieSize.Factory.newInstance();
+        assertNotNull(stSecondPieSize);
+        STSecondPieSizePercent stSecondPieSizePercent = STSecondPieSizePercent.Factory.newInstance();
+        assertNotNull(stSecondPieSizePercent);
+        STSecondPieSizeUShort stSecondPieSizeUShort = STSecondPieSizeUShort.Factory.newInstance();
+        assertNotNull(stSecondPieSizeUShort);
+        STSplitType stSplitType = STSplitType.Factory.newInstance();
+        assertNotNull(stSplitType);
+        assertNotNull(STSplitType.Enum.forString("auto"));
+    }
 }