commit | 088bd9750004f911a5b0c605c54db0afb1dcadfa | [log] [tgz] |
---|---|---|
author | Steven Bennetts <stevenjb@chromium.org> | Thu Feb 22 21:33:50 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 22 21:33:50 2024 |
tree | 6a62f29b8c20d2ee0d67ffb677be96136632c296 | |
parent | 72a59af762e4af3b84eb15c5df0057846d88f457 [diff] |
FirmwareUpdateManagerTest: Use NiceMock and task_environment_ This cleans up the tests to reduce log spam and use task_environment_.RunUntilIdle() instead of the more generic RunLoop. Includes some other minor cleanup as well. This will simplify future test improvements. BUG=325335141 TEST=chromeos_unittests --gtest_filter=FirmwareUpdateManagerTest* Change-Id: If6e6e79f50ff8d35555c695aaa71a6c936f87905 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5315288 Commit-Queue: Steven Bennetts <stevenjb@chromium.org> Reviewed-by: Camden Bickel <cambickel@google.com> Reviewed-by: Jimmy Gong <jimmyxgong@chromium.org> Cr-Commit-Position: refs/heads/main@{#1264222}
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.