You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by qi...@apache.org on 2009/03/31 04:13:51 UTC

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

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