commit | 5eeb88b907196d6bdf1c6b8baa2c8498f57bc0d7 | [log] [tgz] |
---|---|---|
author | Dan Harrington <harringtond@chromium.org> | Thu Nov 29 00:52:57 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Nov 29 00:52:57 2018 |
tree | 2ecfe02c468d538502112541cfba331af0097179 | |
parent | fec5f64b6bd269535e296228d17aa0381d00483a [diff] |
Add TestScopedOfflineClock Setting the offline clock pointer is error-prone, as a test must ensure it resets the pointer back to null, or a later test will fail. TestScopedOfflineClock overrides the clock in a more safe way. Bug: 906903 Change-Id: Idd88c35da90bddcb3b7006c7b33547c5b36b02d2 Reviewed-on: https://chromium-review.googlesource.com/c/1351748 Commit-Queue: Dan H <harringtond@google.com> Reviewed-by: Carlos Knippschild <carlosk@chromium.org> Cr-Commit-Position: refs/heads/master@{#611970}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .