harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ton...@apache.org
Subject svn commit: r727989 - in /harmony/enhanced/classlib/branches/java6/modules/luni: META-INF/MANIFEST.MF src/test/api/common/org/apache/harmony/luni/tests/java/net/URLTest.java
Date Fri, 19 Dec 2008 09:54:38 GMT
Author: tonywu
Date: Fri Dec 19 01:54:37 2008
New Revision: 727989

URL: http://svn.apache.org/viewvc?rev=727989&view=rev
Log:
remove the testcase which moved to awt module. add misc module to manifest for compilable
in eclipse

Modified:
    harmony/enhanced/classlib/branches/java6/modules/luni/META-INF/MANIFEST.MF
    harmony/enhanced/classlib/branches/java6/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/URLTest.java

Modified: harmony/enhanced/classlib/branches/java6/modules/luni/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/luni/META-INF/MANIFEST.MF?rev=727989&r1=727988&r2=727989&view=diff
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/luni/META-INF/MANIFEST.MF (original)
+++ harmony/enhanced/classlib/branches/java6/modules/luni/META-INF/MANIFEST.MF Fri Dec 19
01:54:37 2008
@@ -29,6 +29,7 @@
  javax.net.ssl,
  javax.xml.parsers,
  org.apache.harmony.awt.www.content.image;resolution:=optional,
+ org.apache.harmony.misc.accessors,
  org.apache.harmony.nio,
  org.apache.harmony.testframework.serialization;hy_usage=test;resolution:=optional,
  org.w3c.dom,

Modified: harmony/enhanced/classlib/branches/java6/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/URLTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/URLTest.java?rev=727989&r1=727988&r2=727989&view=diff
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/URLTest.java
(original)
+++ harmony/enhanced/classlib/branches/java6/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/URLTest.java
Fri Dec 19 01:54:37 2008
@@ -17,7 +17,6 @@
 
 package org.apache.harmony.luni.tests.java.net;
 
-import java.awt.image.ImageProducer;
 import java.io.File;
 import java.io.FileOutputStream;
 import java.io.IOException;
@@ -747,26 +746,6 @@
         }
     }
 
-    // Regression test for HARMONY-1718
-    public void test_getContent1718() throws IOException {
-        URL url;
-
-        url = Support_Resources.class
-                .getResource(Support_Resources.RESOURCE_PACKAGE + "Harmony.GIF");
-        assertTrue("Returned object doesn't implement ImageProducer interface",
-                url.getContent() instanceof ImageProducer);
-
-        url = Support_Resources.class
-                .getResource(Support_Resources.RESOURCE_PACKAGE + "Harmony.jpg");
-        assertTrue("Returned object doesn't implement ImageProducer interface",
-                url.getContent() instanceof ImageProducer);
-
-        url = Support_Resources.class
-                .getResource(Support_Resources.RESOURCE_PACKAGE + "Harmony.png");
-        assertTrue("Returned object doesn't implement ImageProducer interface",
-                url.getContent() instanceof ImageProducer);
-    }
-
     /**
      * @tests java.net.URL#getContent(class[])
      */



Mime
View raw message