diff options
author | Roozbeh Pournader <roozbeh@google.com> | 2016-06-30 16:07:01 -0700 |
---|---|---|
committer | Roozbeh Pournader <roozbeh@google.com> | 2016-07-06 17:15:28 -0700 |
commit | 4262e94a18979c862e31afcd20f07a3ef1e247e5 (patch) | |
tree | 925d01b185194cc44b68744a8fef9f4f35874b9d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b8e1286605042da38891bf1ed5fe7db0fc63d2cc (diff) |
Set the locale explicitly for tests that depend on it
Previously, the tests in DateUtilsTest and LinkifyTest assumed the US
English locale, which would not necessarily be the case when the
tests were run. Now we save the original locale, set the locale to
US English, and finally restore the original when the tests are done.
Bug: 29880704
Change-Id: Ieef59e5fc128b484b0db13f35bfa4372fed650d0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions