commit | d043c9d3ffe47b2f610893b87f6e62c658e0ad81 | [log] [tgz] |
---|---|---|
author | mlcui <mlcui@google.com> | Tue Mar 26 23:11:46 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 26 23:11:46 2024 |
tree | fba6a3e818ba5193374df5362ddbb12be70d6096 | |
parent | 00715a0d44c16d54337319ec5cced5613cf0185f [diff] |
Add mock client to share between tests This mock client is now used in the unit tests for the controller, search controller and search request. Adding a new method to the client now only requires updating one mock client, instead of all three. Bug: b:329756078 Change-Id: If2fba9643582fdc3c39d71b29eed0aa0e7dc899f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5394654 Commit-Queue: Darren Shen <shend@chromium.org> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Reviewed-by: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/main@{#1278671}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.