diff options
author | Joachim Sauer <jsauer@google.com> | 2016-07-15 13:13:14 +0100 |
---|---|---|
committer | Joachim Sauer <jsauer@google.com> | 2016-08-17 15:05:14 +0100 |
commit | e73e05f5c111cc8b33497cf67d18a075cee267b5 (patch) | |
tree | 74dbdb2ecb1b223086bdb1da8596b0e2ed229a03 /annotations/generate_annotated_java_files.py | |
parent | f3bc8265e6a02900b151c36aff8361ac3d1e8a7c (diff) |
Add test and benchmarks for SimpleDateFormat.
Add a test that verifies that SimpleDateFormat uses zoneStrings for
parsing, when they are provided by the user. This test simply checks
existing behaviour in preparation of upcoming changes.
The SimpleDateFormatBenchmark has a main() method in addition to the
usual caliper tests to allow measuring some first-call times. Otherwise
the impact of calling a method on cold caches would be lost in the
caliper tests.
Test: vogar libcore/luni/src/test/java/libcore/java/text/SimpleDateFormatTest.java
Bug: 20879084
Change-Id: I01581a31566df8fa1b60ccce0c8ddecb0230b39e
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions