You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2007/05/22 06:17:44 UTC
svn commit: r540416 -
/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/util/PropertiesTest.java
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