diff options
author | PJ Fanning <fanningpj@apache.org> | 2020-12-04 14:17:55 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2020-12-04 14:17:55 +0000 |
commit | 0b51c32f5c251eeb4ae033fd1e44e8fc925316d4 (patch) | |
tree | 5a1e09447ca9ba2a2790f5a3b2a48e94ce162e45 /src/ooxml/testcases | |
parent | 3cc510e06979338d2fe1f87ebdb25c9605727fb9 (diff) | |
download | poi-0b51c32f5c251eeb4ae033fd1e44e8fc925316d4.tar.gz poi-0b51c32f5c251eeb4ae033fd1e44e8fc925316d4.zip |
try to add missing classes to poi-ooxml-schemas (needed for new example)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884096 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/testcases')
-rw-r--r-- | src/ooxml/testcases/org/apache/poi/xslf/TestNecessaryOOXMLClasses.java | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/src/ooxml/testcases/org/apache/poi/xslf/TestNecessaryOOXMLClasses.java b/src/ooxml/testcases/org/apache/poi/xslf/TestNecessaryOOXMLClasses.java index 5925216542..40c2dc5253 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/TestNecessaryOOXMLClasses.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/TestNecessaryOOXMLClasses.java @@ -19,8 +19,7 @@ package org.apache.poi.xslf; import org.junit.Assert; import org.junit.Test; -import org.openxmlformats.schemas.presentationml.x2006.main.CTHeaderFooter; -import org.openxmlformats.schemas.presentationml.x2006.main.STPlaceholderSize; +import org.openxmlformats.schemas.presentationml.x2006.main.*; // aim is to get these classes loaded and included in poi-ooxml-schemas.jar public class TestNecessaryOOXMLClasses { @@ -31,5 +30,22 @@ public class TestNecessaryOOXMLClasses { Assert.assertNotNull(stPlaceholderSize); CTHeaderFooter ctHeaderFooter = CTHeaderFooter.Factory.newInstance(); Assert.assertNotNull(ctHeaderFooter); + //the following are used in LinkVideoToPptx example + STTLTimeIndefinite sttlTimeIndefinite = STTLTimeIndefinite.Factory.newInstance(); + Assert.assertNotNull(sttlTimeIndefinite); + STTLTimeNodeFillType sttlTimeNodeFillType = STTLTimeNodeFillType.Factory.newInstance(); + Assert.assertNotNull(sttlTimeNodeFillType); + STTLTimeNodeRestartType sttlTimeNodeRestartType = STTLTimeNodeRestartType.Factory.newInstance(); + Assert.assertNotNull(sttlTimeNodeRestartType); + STTLTimeNodeType sttlTimeNodeType = STTLTimeNodeType.Factory.newInstance(); + Assert.assertNotNull(sttlTimeNodeType); + CTExtension ctExtension = CTExtension.Factory.newInstance(); + Assert.assertNotNull(ctExtension); + CTTLCommonMediaNodeData cttlCommonMediaNodeData = CTTLCommonMediaNodeData.Factory.newInstance(); + Assert.assertNotNull(cttlCommonMediaNodeData); + CTTLCommonTimeNodeData cttlCommonTimeNodeData = CTTLCommonTimeNodeData.Factory.newInstance(); + Assert.assertNotNull(cttlCommonTimeNodeData); + CTTimeNodeList ctTimeNodeList = CTTimeNodeList.Factory.newInstance(); + Assert.assertNotNull(ctTimeNodeList); } } |