Selectively disable TimeTest.TimeT.

CFTimeZoneCopySystem fails to determine the system timezone when
simulating iOS 10.0 on an host running High Sierra. Disable the
test on iOS if running on 10.0 simulator (as it is not possible
to check the version of the host).

Add another variant of the test using UTC time to test that the
logic is correct (this version is unaffected by the issue with
CFTimeZoneCopySystem).

Extract tests that were independent of the timezone to another
test case.

Bug: 782033
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I67821c13c3588a40e060b11667d90c4ccab7b54f
Reviewed-on: https://chromium-review.googlesource.com/787476
Reviewed-by: Yuri Wiitala <miu@chromium.org>
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#519112}

CrOS-Libchrome-Original-Commit: 2eaeaf84f78b2d7957fcdf2131c8f17a646199d1
1 file changed
tree: 9526bfc893374761841a226f802177c6fcc2d85e
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/