harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r463643 - /incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferencesTest.java
Date Fri, 13 Oct 2006 10:54:33 GMT
Author: hindessm
Date: Fri Oct 13 03:54:32 2006
New Revision: 463643

URL: http://svn.apache.org/viewvc?view=rev&rev=463643
Log:
Fixed order of actual and expected arguments to assertEquals.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferencesTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferencesTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferencesTest.java?view=diff&rev=463643&r1=463642&r2=463643
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferencesTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferencesTest.java
Fri Oct 13 03:54:32 2006
@@ -70,7 +70,7 @@
 		assertEquals("System Preference Node: " + p.absolutePath(), p
 				.toString());
 		assertEquals(0, p.childrenNames().length);
-		assertEquals(p.keys().length, 0);
+		assertEquals(0, p.keys().length);
 		parent.removeNode();
 		try {
 			p = Preferences.userNodeForPackage(null);
@@ -89,7 +89,7 @@
 		assertEquals("System Preference Node: " + p.absolutePath(), p
 				.toString());
 		// assertEquals(0, p.childrenNames().length);
-		// assertEquals(p.keys().length, 0);
+		// assertEquals(0, p.keys().length);
 	}
 
 	public void testConsts() {
@@ -109,7 +109,7 @@
 		assertEquals("lang", p.name());
 		assertEquals("User Preference Node: " + p.absolutePath(), p.toString());
 		assertEquals(0, p.childrenNames().length);
-		assertEquals(p.keys().length, 0);
+		assertEquals(0, p.keys().length);
 
 		try {
 			p = Preferences.userNodeForPackage(null);



Mime
View raw message