commit | 4ef28b1da140dffc79fd50e94a544f43f43a5efb | [log] [tgz] |
---|---|---|
author | David Munro <davidmunro@google.com> | Thu Mar 03 09:11:41 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 03 09:11:41 2022 |
tree | 0766a377ef1fbf8dd99adc48b9775f714727afa5 | |
parent | b9dae94f14cc650704081d2247b6d77a089944d7 [diff] |
guest_os: file_manager: Tests control mock guests from JS instead of C++ The tests are written in Javascript, so it's nice to have all the logic in one place (and necessary when we start testing dynamic addition/removal) instead of browsertest_base adding things which are then verified by the JS. So we add register/unregister messages and update the tests to set up their own mocks. As a bonus, this might fix the rare flakes in these tests where the expected mocks aren't found. Bug: 1293229 Test: browser tests, CQ Change-Id: I050dea52c330404397f9324905b5c7919b200322 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3490514 Reviewed-by: Luciano Pacheco <lucmult@chromium.org> Reviewed-by: Fergus Dall <sidereal@google.com> Commit-Queue: David Munro <davidmunro@google.com> Cr-Commit-Position: refs/heads/main@{#977026}
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.