Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Patch Available
Description
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