diff options
author | Joachim Sauer <jsauer@google.com> | 2016-12-01 12:50:21 +0000 |
---|---|---|
committer | Joachim Sauer <jsauer@google.com> | 2017-01-30 11:54:15 +0000 |
commit | 19517bad609c70295520d7e354487cac839d8d34 (patch) | |
tree | 79f7bb312b06f9f777b280cde570c7d0b5854f6c /annotations/generate_annotated_java_files.py | |
parent | dc4414b90a99639a0701c321472e29200b7ae0a0 (diff) |
Modify TestZoneTextPrinterParser.
- disable test_ParseText() as it doesn't assert anything and produces a
lot of unnecessary output
- only run one iteration of test_printText(), as the test takes a very
long time to run and has not revealed any problems in any iterations
other than the first.
- skip non-canonical time zone ids, as they have errors in
TimeZone.getDisplayName(): http://b/33197219
- skip locales "ji", as it doesn't seem to correctly load timezone names
in TimeZone.getDisplayName(), possibly due to http://b/8634320
- TimeZone.getDisplayName() will never return strings starting with "GMT",
so accept "GMT+00:00" as equivalent.
- modify order of iteration to iterate over locales before timezones, as
the original order was significantly slower on Android.
Bug: 28832222
Test: ran test.java.time.format.TestZoneTextPrinterParser
Change-Id: I658ab09ba6da5f1a9647bc81614410ba30199b2f
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions