You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Maxim Makarov (JIRA)" <ji...@apache.org> on 2006/10/10 13:27:20 UTC
[jira] Updated: (HARMONY-1808) [classlib][luni]
tests.api.java.util.ResourceBundleTest has incorrect assertion
[ http://issues.apache.org/jira/browse/HARMONY-1808?page=all ]
Maxim Makarov updated HARMONY-1808:
-----------------------------------
Attachment: patch.txt
> [classlib][luni] tests.api.java.util.ResourceBundleTest has incorrect assertion
> -------------------------------------------------------------------------------
>
> Key: HARMONY-1808
> URL: http://issues.apache.org/jira/browse/HARMONY-1808
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Maxim Makarov
> Attachments: patch.txt
>
>
> HUT tests.api.java.util.ResourceBundleTest.test_getBundleLjava_lang_StringLjava_util_LocaleLjava_lang_ClassLoader test fails beacuse has incorrect assertion at line #125 as the pair "key=value" into hyts_resource.properties file looks:
> $cat hyts_resource.properties
> property=parent
> $cat -n tests/api/java/util/ResourceBundleTest
> ...
> 120 String name = Support_Resources.RESOURCE_PACKAGE_NAME
> 121 + ".hyts_resource";
> 122 ResourceBundle bundle = ResourceBundle.getBundle(name, Locale
> 123 .getDefault());
> 124 bundle = ResourceBundle.getBundle(name, Locale.getDefault(), loader);
> 125 assertEquals("Wrong cached value",
> 126 "resource", bundle.getString("property"));
> ...
> Suggesion fix: plz, see patch
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira