diff options
author | Joachim Sauer <jsauer@google.com> | 2016-11-23 15:45:41 +0000 |
---|---|---|
committer | Joachim Sauer <jsauer@google.com> | 2017-01-30 11:21:41 +0000 |
commit | 6540d509192372a74098bb4b36ba5d7b6afb91ac (patch) | |
tree | acfb35c78f0e2f11c7be817c76a09b544bf67ed0 /annotations/generate_annotated_java_files.py | |
parent | 6d2e8daa2d5adefa2a324de7f88c13244cbbcbaf (diff) |
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
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions