commit | bac20b94585bb8cf23a5f6d93e110b30ce10057d | [log] [tgz] |
---|---|---|
author | A Olsen <olsen@chromium.org> | Thu Jan 03 11:18:08 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 03 11:18:08 2019 |
tree | 132f071a211283b54213c42caf069ddadc7b5dcb | |
parent | 417f35d80a7350eccdf268dbc5485ce3787b29a6 [diff] |
Migrate away from using switches for testing - Changes OwnerSettingsServiceChromeOsFactory so that its stubbed behavior can be used without setting a switch - Changes CrosSettings so that it can be stubbed during a test without worrying about it being reinitialized later - Add a new class ScopedTestingCrosSettings that makes use of this new functionality, is much simpler than ScopedCrosSettingsTestHelper. - Changes one test - users_private_apitest.cc - that previously used switches, so that it no longer uses switches, as a proof-of-concept. For more details, see the bug. Bug: 909635 Change-Id: I57b053038592512fb7cfb7c09061d5d03475e979 Reviewed-on: https://chromium-review.googlesource.com/c/1392186 Commit-Queue: A Olsen <olsen@chromium.org> Reviewed-by: Steven Bennetts <stevenjb@chromium.org> Cr-Commit-Position: refs/heads/master@{#619620}
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 .