poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwi...@apache.org
Subject svn commit: r1778940 - /poi/trunk/src/ooxml/testcases/org/apache/poi/ss/usermodel/TestEmbedOLEPackage.java
Date Sun, 15 Jan 2017 19:03:17 GMT
Author: kiwiwings
Date: Sun Jan 15 19:03:17 2017
New Revision: 1778940

URL: http://svn.apache.org/viewvc?rev=1778940&view=rev
Log:
remove test output

Modified:
    poi/trunk/src/ooxml/testcases/org/apache/poi/ss/usermodel/TestEmbedOLEPackage.java

Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/ss/usermodel/TestEmbedOLEPackage.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/ss/usermodel/TestEmbedOLEPackage.java?rev=1778940&r1=1778939&r2=1778940&view=diff
==============================================================================
--- poi/trunk/src/ooxml/testcases/org/apache/poi/ss/usermodel/TestEmbedOLEPackage.java (original)
+++ poi/trunk/src/ooxml/testcases/org/apache/poi/ss/usermodel/TestEmbedOLEPackage.java Sun
Jan 15 19:03:17 2017
@@ -22,7 +22,6 @@ import static org.junit.Assert.assertTru
 import static org.junit.Assume.assumeTrue;
 
 import java.io.ByteArrayOutputStream;
-import java.io.FileOutputStream;
 import java.io.IOException;
 
 import org.apache.poi.POIDataSamples;
@@ -52,10 +51,6 @@ public class TestEmbedOLEPackage {
         ClientAnchor anchor = pat.createAnchor(0, 0, 0, 0, 1, 1, 3, 6);
         pat.createObjectData(anchor, oleIdx, picIdx);
 
-        FileOutputStream fos = new FileOutputStream("bla.xlsx");
-        wb1.write(fos);
-        fos.close();
-        
         Workbook wb2 = XSSFTestDataSamples.writeOutAndReadBack(wb1);
 
         pat = wb2.getSheetAt(0).getDrawingPatriarch();



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


Mime
View raw message