harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sjanu...@apache.org
Subject svn commit: r706924 - /harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/pack200/tests/ArchiveTest.java
Date Wed, 22 Oct 2008 09:42:26 GMT
Author: sjanuary
Date: Wed Oct 22 02:42:26 2008
New Revision: 706924

URL: http://svn.apache.org/viewvc?rev=706924&view=rev
Log:
Pack200 test update

Modified:
    harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/pack200/tests/ArchiveTest.java

Modified: harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/pack200/tests/ArchiveTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/pack200/tests/ArchiveTest.java?rev=706924&r1=706923&r2=706924&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/pack200/tests/ArchiveTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/pack200/tests/ArchiveTest.java
Wed Oct 22 02:42:26 2008
@@ -36,20 +36,20 @@
 import org.apache.harmony.pack200.Pack200Exception;
 import org.apache.harmony.unpack200.Segment;
 
-
 public class ArchiveTest extends TestCase {
 
+    File file;
     JarInputStream in;
     OutputStream out;
-    File file;
 
-    public void testHelloWorld() throws IOException, Pack200Exception, URISyntaxException
{
+    public void testHelloWorld() throws IOException, Pack200Exception,
+            URISyntaxException {
         in = new JarInputStream(
                 Archive.class
                         .getResourceAsStream("/org/apache/harmony/pack200/tests/hw.jar"));
-        file = File.createTempFile("helloworld", ".pack");
+        file = File.createTempFile("helloworld", ".pack.gz");
         out = new FileOutputStream(file);
-        new Archive(in, out).pack();
+        new Archive(in, out, true).pack();
         in.close();
         out.close();
 



Mime
View raw message