commit | 3067dae948c73e6cf5cba5b29735e3fd0debf7c5 | [log] [tgz] |
---|---|---|
author | Chris Mumford <[email protected]> | Thu Aug 05 23:33:37 2021 |
committer | Chromium LUCI CQ <[email protected]> | Thu Aug 05 23:33:37 2021 |
tree | c9a4d1caf25cbc67437b52cbf9a433c21c196fc6 | |
parent | 978d20c470520e9fa3976b12598fd83c058d5367 [diff] |
[bluetooth] Decouple TestPairingDelegate from RunLoop. Convert TestPairingDelegate into a pure gMock implementation (MockPairingDelegate) which makes no calls to base::RunLoop. This is necessary because the current implementation assumes that the BluetoothDevice calls made (e.g. SetPinCode(), CancelPairing(), etc.) are synchronous, but there is no guarantee that they are. Removing the message loop from this implementation allows tests to do their own waiting (e.g. with a local RunLoop) for test completion. Bug: none Change-Id: I0487890c2c972706865fb584a855976e39043faa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3068380 Commit-Queue: Chris Mumford <[email protected]> Reviewed-by: Reilly Grant <[email protected]> Cr-Commit-Position: refs/heads/master@{#909111}
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.