You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2006/12/22 13:56:23 UTC

[jira] Assigned: (HARMONY-1808) [classlib][luni] tests.api.java.util.ResourceBundleTest has incorrect assertion

     [ http://issues.apache.org/jira/browse/HARMONY-1808?page=all ]

Tim Ellison reassigned HARMONY-1808:
------------------------------------

    Assignee: Tim Ellison

> [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
>         Assigned To: Tim Ellison
>         Attachments: patch.txt, ResourceBundleTest.patch
>
>
> 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