harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lian...@apache.org
Subject svn commit: r515895 - /harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/net/SocketPermissionTest.java
Date Thu, 08 Mar 2007 02:21:56 GMT
Author: liangyx
Date: Wed Mar  7 18:21:55 2007
New Revision: 515895

URL: http://svn.apache.org/viewvc?view=rev&rev=515895
Log:
Apply patch for HARMONY-3245([classlib][luni]tests.api.java.net.SocketPermissionTest uses
wrong values to evaluate equals())

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/net/SocketPermissionTest.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/net/SocketPermissionTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/net/SocketPermissionTest.java?view=diff&rev=515895&r1=515894&r2=515895
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/net/SocketPermissionTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/net/SocketPermissionTest.java
Wed Mar  7 18:21:55 2007
@@ -96,9 +96,9 @@
 	 */
 	public void test_equalsLjava_lang_Object_subtest0() {
 		SocketPermission sp1 = new SocketPermission(
-				Support_Configuration.InetAlias1, "resolve,connect");
+				Support_Configuration.InetTestAddress, "resolve,connect");
 		SocketPermission sp2 = new SocketPermission(
-				Support_Configuration.InetAlias2, "resolve,connect");
+				Support_Configuration.InetTestIP, "resolve,connect");
 		assertTrue("Same IP address should be equal", sp1.equals(sp2));
 
 	}



Mime
View raw message