libcore.java.util.OldAndroidLocaleTest
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
What steps will reproduce the problem?
1.
the platfrom is android ics 4.0.3
2.the test code:
Locale eng = new Locale("en", "US");
TimeZone berlin = TimeZone.getTimeZone("Europe/Berlin");
String daylightName= berlin.getDisplayName(true, TimeZone.LONG, eng);
Log.v(TAG,".....Central European Summer Time = " + daylightName);
3.the cts test:
libcore.java.util.OldAndroidLocaleTest
-- testResourceBundles
junit.framework.ComparisonFailure: expected:<...Summer ...> but was:<......> at libcore.java.util.OldAndroidLocaleTest.testResourceBundles(OldAndroidLocaleTest.java:71)
What is the expected output? What do you see instead?
the expected output of the daylightName shuld be "Central European Summer Time".But,the logcat out is "Central European Time".And,my icudt46l.dat is all config.
What version of the product are you using? On what operating system?
android ics 4.0.3
Please provide any additional information below.
in fact,this will fail on the cts test,the CTS version is 4.0.3_r1.
Thanks!
```
Original issue reported on code.google.com by `ztemt.se...@gmail.com` on 8 Mar 2012 at 2:03
Attachments:
- [OldAndroidLocaleTest.PNG](https://storage.googleapis.com/google-code-attachments/rowboat/issue-155/comment-0/OldAndroidLocaleTest.PNG)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with libcore.java.util.OldAndroidLocaleTest.testResourceBundles at OldAndroidLocaleTest.java:71 and reproduce the failure on Android ICS 4.0.3 using CTS 4.0.3_r1. Compare the expected and actual Europe/Berlin daylight-saving display names and inspect the referenced icudt46l.dat configuration; done means the test produces the expected “Central European Summer Time” output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- internationalization, mobile-dev, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100