Modify test assumptions.
Modify test assumptions that are not true on Android, for several
reasons:
- java.time RI uses non-CLDR data sources by default which has slightly
different data, whereas Android basically uses CLDR for almost
everything.
- Arabic locale actually uses arabic digits
- Portuguese month names are not capitalized in CLDR
- Russian month names are not capitalized in CLDR and use a full stop
after abbreviations
- java.time RI uses an older CLDR version, so many data points such as
format patterns have seen significant changes in the one we use
(currently CLDR 31).
- field names use lower case for locale en in CLDR
- change Locale in TCKFormatStyle because en_US doesn't use "CEST" as an
abbreviation for european time zones in CLDR, but en_GB does.
- TCK ZoneRule assumes an optimization that our data source doesn't
contain and are not necessary for correct operation.
Bug: 28832222
Test: artrun testng-time.xml
Change-Id: I42edefb052c9c2f007f971abe70740feb92a3a17
8 files changed