diff options
author | PJ Fanning <fanningpj@apache.org> | 2021-11-08 11:00:59 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2021-11-08 11:00:59 +0000 |
commit | 336bce7c82a92cd768161abb1c1d888c5f595df3 (patch) | |
tree | 2de1857b6359e05263ef212e04f2d1874b13c34c /poi-ooxml | |
parent | fec7e1cc89a06f82819e3a2a7dff30b695918e1e (diff) | |
download | poi-336bce7c82a92cd768161abb1c1d888c5f595df3.tar.gz poi-336bce7c82a92cd768161abb1c1d888c5f595df3.zip |
[bug-65673] add test case (that passes)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894830 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml')
-rw-r--r-- | poi-ooxml/src/test/java/org/apache/poi/xslf/TestXSLFBugs.java | 9 |
1 files changed, 9 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 c6d92c4c59..ea77de2ba0 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 @@ -1104,4 +1104,13 @@ class TestXSLFBugs { assertEquals("Can't create extractor - unsupported file type: XML", ie.getMessage()); } + @Test + void bug65673() throws IOException { + try (XMLSlideShow slideShowModel = openSampleDocument("bug65673.pptx")) { + final XSLFSlide modelSlide = slideShowModel.getSlides().get(0); + try (XMLSlideShow newSlideShow = new XMLSlideShow()) { + newSlideShow.createSlide().importContent(modelSlide); + } + } + } } |