diff options
author | PJ Fanning <fanningpj@apache.org> | 2021-08-28 13:27:36 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2021-08-28 13:27:36 +0000 |
commit | 6d9b450ce31209014d945a13c65fc23cb29a351c (patch) | |
tree | 14b92ec37dcda018863042f93fe9e4a58a66bbb1 | |
parent | d8220001333e8dfa4394d6b28ab87e8341d586f2 (diff) | |
download | poi-6d9b450ce31209014d945a13c65fc23cb29a351c.tar.gz poi-6d9b450ce31209014d945a13c65fc23cb29a351c.zip |
extend xslf test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892680 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | poi-ooxml/src/test/java/org/apache/poi/xslf/TestXSLFBugs.java | 4 |
1 files changed, 4 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 a87738d086..c21d24f513 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 @@ -1046,6 +1046,7 @@ class TestXSLFBugs { @Test public void bug65523() throws IOException { try (XMLSlideShow sourcePresentation = openSampleDocument("bug65523.pptx")) { + assertEquals(2, sourcePresentation.getPictureData().size()); XMLSlideShow targetPresentation = new XMLSlideShow(); XSLFSlide targetPresentationSlide = targetPresentation.createSlide(); @@ -1056,6 +1057,9 @@ class TestXSLFBugs { targetPresentationSlide.importContent(sourceSlide); + XSLFSlide targetSlide = targetPresentation.getSlides().get(0); + assertEquals(2, targetPresentation.getPictureData().size()); + targetPresentation.write(new UnsynchronizedByteArrayOutputStream()); } } |