harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r540416 - /harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/util/PropertiesTest.java
Date Tue, 22 May 2007 04:17:44 GMT
Author: hindessm
Date: Mon May 21 21:17:42 2007
New Revision: 540416

URL: http://svn.apache.org/viewvc?view=rev&rev=540416
Log:
Fixing junit usage in regression test.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/util/PropertiesTest.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/util/PropertiesTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/util/PropertiesTest.java?view=diff&rev=540416&r1=540415&r2=540416
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/util/PropertiesTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/util/PropertiesTest.java
Mon May 21 21:17:42 2007
@@ -89,7 +89,7 @@
     public void test_getPropertyLjava_lang_StringLjava_lang_String2() {
         // regression test for HARMONY-3518
         MyProperties props = new MyProperties();
-        assertEquals(props.getProperty("key", "defaultValue"), "defaultValue");
+        assertEquals("defaultValue", props.getProperty("key", "defaultValue"));
     }
 
     // regression testing for HARMONY-3518



Mime
View raw message