]> source.dussan.org Git - poi.git/commitdiff
add 1 of the pptx files failing in centic regression tests
authorPJ Fanning <fanningpj@apache.org>
Sun, 29 Jul 2018 23:19:07 +0000 (23:19 +0000)
committerPJ Fanning <fanningpj@apache.org>
Sun, 29 Jul 2018 23:19:07 +0000 (23:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837010 13f79535-47bb-0310-9956-ffa450edef68

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

index a57b3025d421a117d9f5f0922291e6390f96772f..38f8a7c140a79d4cf504eeefa1e6644972104e07 100644 (file)
@@ -724,6 +724,17 @@ public class TestXSLFBugs {
         ppt.close();
     }
 
+    @Test
+    public void testAptia() throws IOException {
+        XMLSlideShow ppt = XSLFTestDataSamples.openSampleDocument("aptia.pptx");
+        try {
+            XMLSlideShow saved = XSLFTestDataSamples.writeOutAndReadBack(ppt);
+        } catch (IOException e) {
+            fail("Could not read back saved presentation.");
+        }
+        ppt.close();
+    }
+
     @Ignore
     @Test
     public void testDivinoRevelado() throws IOException {
diff --git a/test-data/slideshow/aptia.pptx b/test-data/slideshow/aptia.pptx
new file mode 100644 (file)
index 0000000..c4ea6d3
Binary files /dev/null and b/test-data/slideshow/aptia.pptx differ