harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r576824 - in /harmony/enhanced/classlib/trunk/modules/pack200/src/test: java/org/apache/harmony/pack200/tests/SegmentTest.java resources/org/apache/harmony/pack200/tests/InterfaceOnly.pack
Date Tue, 18 Sep 2007 10:26:01 GMT
Author: tellison
Date: Tue Sep 18 03:26:01 2007
New Revision: 576824

URL: http://svn.apache.org/viewvc?rev=576824&view=rev
Log:
Apply patch HARMONY-4809 ([classlib] [pack200] Test for unpacking an archive containing a
class file but no bytecode)

Added:
    harmony/enhanced/classlib/trunk/modules/pack200/src/test/resources/org/apache/harmony/pack200/tests/InterfaceOnly.pack
  (with props)
Modified:
    harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/pack200/tests/SegmentTest.java

Modified: harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/pack200/tests/SegmentTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/pack200/tests/SegmentTest.java?rev=576824&r1=576823&r2=576824&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/pack200/tests/SegmentTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/pack200/tests/SegmentTest.java
Tue Sep 18 03:26:01 2007
@@ -51,5 +51,11 @@
 				.parse(Segment.class
 						.getResourceAsStream("/org/apache/harmony/pack200/tests/JustResources.pack.gz")));
 	}
+    
+    public void testInterfaceOnly() throws Exception {
+        assertNotNull(Segment
+                .parse(Segment.class
+                        .getResourceAsStream("/org/apache/harmony/pack200/tests/InterfaceOnly.pack")));
+    }
 
 }

Added: harmony/enhanced/classlib/trunk/modules/pack200/src/test/resources/org/apache/harmony/pack200/tests/InterfaceOnly.pack
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/pack200/src/test/resources/org/apache/harmony/pack200/tests/InterfaceOnly.pack?rev=576824&view=auto
==============================================================================
Binary file - no diff available.

Propchange: harmony/enhanced/classlib/trunk/modules/pack200/src/test/resources/org/apache/harmony/pack200/tests/InterfaceOnly.pack
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Mime
View raw message