poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwi...@apache.org
Subject svn commit: r1722556 - /poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java
Date Fri, 01 Jan 2016 19:45:30 GMT
Author: kiwiwings
Date: Fri Jan  1 19:45:30 2016
New Revision: 1722556

URL: http://svn.apache.org/viewvc?rev=1722556&view=rev
Log:
remove test debug stuff

Modified:
    poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java

Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java?rev=1722556&r1=1722555&r2=1722556&view=diff
==============================================================================
--- poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java (original)
+++ poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java Fri Jan  1 19:45:30
2016
@@ -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();
-    }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message