harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1808) [classlib][luni] tests.api.java.util.ResourceBundleTest has incorrect assertion
Date Thu, 07 Dec 2006 12:21:22 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1808?page=all ]

Alexey Petrenko updated HARMONY-1808:
-------------------------------------

    Patch Info: [Patch Available]

> [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

        

Mime
View raw message