harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From qi...@apache.org
Subject svn commit: r760292 - /harmony/enhanced/classlib/branches/java6/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ResourceBundleTest.java
Date Tue, 31 Mar 2009 02:13:51 GMT
Author: qiuxx
Date: Tue Mar 31 02:13:50 2009
New Revision: 760292

URL: http://svn.apache.org/viewvc?rev=760292&view=rev
Log:
Fix ResouceBundle test case error, the assert value will lead to failure with both RI and
Harmony though we have the same behavior as RI.

Modified:
    harmony/enhanced/classlib/branches/java6/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ResourceBundleTest.java

Modified: harmony/enhanced/classlib/branches/java6/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ResourceBundleTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ResourceBundleTest.java?rev=760292&r1=760291&r2=760292&view=diff
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ResourceBundleTest.java
(original)
+++ harmony/enhanced/classlib/branches/java6/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ResourceBundleTest.java
Tue Mar 31 02:13:50 2009
@@ -229,7 +229,7 @@
                 .getDefault());
         assertEquals("Wrong value read", "parent", bundle.getString("property"));
         bundle = ResourceBundle.getBundle(name, Locale.getDefault(), loader);
-        assertEquals("Wrong cached value", "resource", bundle
+        assertEquals("Wrong cached value", "en_US_resource", bundle
                 .getString("property"));
 
         // Regression test for Harmony-3823



Mime
View raw message