leo-xiong / rowboat

Automatically exported from code.google.com/p/rowboat
https://code.google.com/p/rowboat
0 stars 0 forks source link

libcore.java.util.OldAndroidLocaleTest #155

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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: