From: Andreas Beeker Date: Fri, 1 Jan 2016 19:45:30 +0000 (+0000) Subject: remove test debug stuff X-Git-Tag: REL_3_14_FINAL~113 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=31d4a6da2e2675eed95b67c6e81ede7190d55a15;p=poi.git remove test debug stuff git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722556 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java b/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java index ae53a7d99d..a0230b4375 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java @@ -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(); - } }