commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dam...@apache.org
Subject svn commit: r1222297 - /commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffCcittTest.java
Date Thu, 22 Dec 2011 15:57:27 GMT
Author: damjan
Date: Thu Dec 22 15:57:26 2011
New Revision: 1222297

URL: http://svn.apache.org/viewvc?rev=1222297&view=rev
Log:
Take out some test code commmitted by accident.


Modified:
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffCcittTest.java

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffCcittTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffCcittTest.java?rev=1222297&r1=1222296&r2=1222297&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffCcittTest.java
(original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffCcittTest.java
Thu Dec 22 15:57:26 2011
@@ -18,7 +18,6 @@
 package org.apache.commons.sanselan.formats.tiff;
 
 import java.awt.image.BufferedImage;
-import java.io.FileOutputStream;
 import java.io.IOException;
 import java.util.HashMap;
 
@@ -198,10 +197,6 @@ public class TiffCcittTest extends TiffB
                 params.put(SanselanConstants.PARAM_KEY_COMPRESSION, TiffConstants.TIFF_COMPRESSION_CCITT_GROUP_3);
                 params.put(TiffConstants.PARAM_KEY_T4_OPTIONS, 4);
                 byte[] compressed = Sanselan.writeImageToBytes(image, ImageFormat.IMAGE_FORMAT_TIFF,
params);
-                FileOutputStream fos = new FileOutputStream("/tmp/test.tiff");
-                fos.write(compressed);
-                fos.close();
-
                 BufferedImage result = Sanselan.getBufferedImage(compressed);
                 compareImages(image, result);
             } catch (ImageWriteException ex) {



Mime
View raw message