OSDN Git Service

Reactivating test that failed with a extensive gref count increase
authorUrs Grob <ursg@google.com>
Thu, 18 Jun 2009 12:09:08 +0000 (14:09 +0200)
committerUrs Grob <ursg@google.com>
Thu, 18 Jun 2009 12:12:34 +0000 (14:12 +0200)
The cause for this failure was fixed. So this test can be reactivated.
BUG=1814539

libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/InetAddressTest.java

index 1f1456f..fa7dd26 100644 (file)
@@ -17,8 +17,8 @@
 
 package org.apache.harmony.luni.tests.java.net;
 
-import dalvik.annotation.BrokenTest; 
-import dalvik.annotation.TestTargetClass; 
+import dalvik.annotation.BrokenTest;
+import dalvik.annotation.TestTargetClass;
 import dalvik.annotation.TestTargets;
 import dalvik.annotation.TestLevel;
 import dalvik.annotation.TestTargetNew;
@@ -355,7 +355,6 @@ public class InetAddressTest extends junit.framework.TestCase {
         method = "getHostName",
         args = {}
     )
-    @BrokenTest("Crashes VM in CTS due to a JNI error in networking code")
     public void test_getHostName() throws Exception {
         // Test for method java.lang.String java.net.InetAddress.getHostName()
         InetAddress ia = InetAddress