]> source.dussan.org Git - poi.git/commitdiff
remove test debug stuff
authorAndreas Beeker <kiwiwings@apache.org>
Fri, 1 Jan 2016 19:45:30 +0000 (19:45 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Fri, 1 Jan 2016 19:45:30 +0000 (19:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722556 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java

index ae53a7d99dce1d35729d1f36066eda1e8927f72d..a0230b4375dfa8e7b63cd347cc96a2cc6ebd4525 100644 (file)
@@ -418,19 +418,4 @@ public class TestXSLFBugs {
         
         ss.close();
     }
-    
-    @Test
-    public void testLayout() throws IOException {
-        XMLSlideShow ppt = new XMLSlideShow();
-        InputStream picIn = POIDataSamples.getSlideShowInstance().openResourceAsStream("clock.jpg");
-        XSLFPictureData pd = ppt.addPicture(IOUtils.toByteArray(picIn), PictureType.JPEG);
-        picIn.close();
-        XSLFSlide slide = ppt.createSlide();
-        XSLFPictureShape ps = slide.createPicture(pd);
-        ps.setAnchor(new Rectangle(100, 100, 100, 100));
-        FileOutputStream fos = new FileOutputStream("picbla.pptx");
-        ppt.write(fos);
-        fos.close();
-        ppt.close();
-    }
 }