harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r824241 - /harmony/enhanced/classlib/branches/java6/modules/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/InflaterOutputStreamTest.java
Date Mon, 12 Oct 2009 07:00:05 GMT
Author: hindessm
Date: Mon Oct 12 07:00:05 2009
New Revision: 824241

URL: http://svn.apache.org/viewvc?rev=824241&view=rev
Log:
Commenting out failing test due to behaviour change (non-bug difference).
See HARMONY-6350.

Modified:
    harmony/enhanced/classlib/branches/java6/modules/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/InflaterOutputStreamTest.java

Modified: harmony/enhanced/classlib/branches/java6/modules/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/InflaterOutputStreamTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/InflaterOutputStreamTest.java?rev=824241&r1=824240&r2=824241&view=diff
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/InflaterOutputStreamTest.java
(original)
+++ harmony/enhanced/classlib/branches/java6/modules/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/InflaterOutputStreamTest.java
Mon Oct 12 07:00:05 2009
@@ -224,17 +224,9 @@
      * @tests java.util.zip.InflaterOutputStream#write(int)
      */
     public void test_write_I_Illegal() throws IOException {
-        // write error compression (ZIP) format
-        InflaterOutputStream ios = new InflaterOutputStream(os);
-        try {
-            ios.write(-1);
-            fail("Should throw ZipException");
-        } catch (ZipException e) {
-            // expected
-        }        
 
         // write after close
-        ios = new InflaterOutputStream(os);
+        InflaterOutputStream ios = new InflaterOutputStream(os);
         ios.close();
         try {
             ios.write(-1);



Mime
View raw message