]> source.dussan.org Git - poi.git/commitdiff
Bug 60042: Add sample file to check if this bug is fixed via bug 55791 already.
authorDominik Stadler <centic@apache.org>
Sun, 19 Mar 2017 21:44:05 +0000 (21:44 +0000)
committerDominik Stadler <centic@apache.org>
Sun, 19 Mar 2017 21:44:05 +0000 (21:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1787664 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java
test-data/slideshow/60042.pptx [new file with mode: 0644]

index 23399c15ee5d154dca87c2456d63ca9de95c2132..65939eec44c7582983a19946f00f8cbd8977bcaa 100644 (file)
@@ -624,4 +624,11 @@ public class TestXSLFBugs {
 
         ppt.close();
     }
+
+    @Test
+    public void test60042() {
+        XMLSlideShow ppt = XSLFTestDataSamples.openSampleDocument("60042.pptx");
+        ppt.removeSlide(0);
+        ppt.createSlide();
+    }
 }
\ No newline at end of file
diff --git a/test-data/slideshow/60042.pptx b/test-data/slideshow/60042.pptx
new file mode 100644 (file)
index 0000000..b22e3d6
Binary files /dev/null and b/test-data/slideshow/60042.pptx differ