harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r397162 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/lang/reflect/FieldTest.java
Date Wed, 26 Apr 2006 09:55:00 GMT
Author: smishura
Date: Wed Apr 26 02:54:53 2006
New Revision: 397162

URL: http://svn.apache.org/viewcvs?rev=397162&view=rev
Log:
Missed fix for LUNI module from HARMONY-353(improvements to junit test method usage)

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/lang/reflect/FieldTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/lang/reflect/FieldTest.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/lang/reflect/FieldTest.java?rev=397162&r1=397161&r2=397162&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/lang/reflect/FieldTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/lang/reflect/FieldTest.java
Wed Apr 26 02:54:53 2006
@@ -1027,7 +1027,7 @@
 		} catch (Exception e) {
 			fail("Exception during setFloat test : " + e.getMessage());
 		}
-		assertTrue("Returned incorrect float field value", val == 1);
+		assertEquals("Returned incorrect float field value", 1.0, val, 0.0);
 		try {
 			try {
 				f = x.getClass().getDeclaredField("booleanField");



Mime
View raw message