diff options
author | PJ Fanning <fanningpj@apache.org> | 2022-08-30 11:26:20 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2022-08-30 11:26:20 +0000 |
commit | 59f51987eb20163719a2d863da0cbf212b784dbf (patch) | |
tree | 6489ff9916a51c0ddfbfa230f3aeda9c2d473ad0 /poi-ooxml/src | |
parent | 30a0a4362ac38d97f5214a3b558486f881ab6958 (diff) | |
download | poi-59f51987eb20163719a2d863da0cbf212b784dbf.tar.gz poi-59f51987eb20163719a2d863da0cbf212b784dbf.zip |
test for TIKA-2605
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903776 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml/src')
-rw-r--r-- | poi-ooxml/src/test/java/org/apache/poi/xslf/TestXSLFBugs.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/poi-ooxml/src/test/java/org/apache/poi/xslf/TestXSLFBugs.java b/poi-ooxml/src/test/java/org/apache/poi/xslf/TestXSLFBugs.java index f322bd2339..e41c91a2f1 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/xslf/TestXSLFBugs.java +++ b/poi-ooxml/src/test/java/org/apache/poi/xslf/TestXSLFBugs.java @@ -1108,4 +1108,16 @@ class TestXSLFBugs { } } } + + @Test + void tika2605() throws IOException { + try (XMLSlideShow slideShowModel = openSampleDocument("tika-2605.pptx")) { + for (XSLFSlide slide : slideShowModel.getSlides()) { + assertNotNull(slide); + for (XSLFShape shape : slide.getShapes()) { + assertNotNull(shape); + } + } + } + } } |