commit | a4b67b6f5ba9d233023c55c816121070770e4ac5 | [log] [tgz] |
---|---|---|
author | Neil Fuller <nfuller@google.com> | Wed Jul 30 14:11:22 2014 +0100 |
committer | Neil Fuller <nfuller@google.com> | Wed Jul 30 14:15:28 2014 +0100 |
tree | 5cbc9b7fec462ad3b2fdc208db4524678c09c581 | |
parent | 7fcc50509264c3a290f26737fd98ed76497f387f [diff] |
Fix SimpleDateFormatTest when run outside California If the device was set to a timezone besides America/Los_Angeles the test would fail. Under cts-tradefed the SimpleDateFormat was being created at class load time (using the device default) and then the timezone default was being set to America/Los_Angeles during setUp(). Contains refactoring to remove nested test case and reformatting. Change-Id: I26a7a2c6ce0d6205cf6d20c9b4cbebf550da19ce