commit | 213ae0a64ffb61db753371678115ea55b202c99e | [log] [tgz] |
---|---|---|
author | Muhammad Salmaan <musalmaan@google.com> | Tue May 27 19:20:10 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 27 19:20:10 2025 |
tree | 1b915b2be99b2c0b940330f612ba963eb40db4f2 | |
parent | 0b8bc35235d327127ef98adbc2a72397d01857a8 [diff] |
Add accept and dismiss unit tests for installer downloader This cl adds accept and dismiss unit tests for the installer donwloader infobar.Introduced views::Widget which is now set up in the test harness to host the infobar views. The ClickDismissButtonOnInfoBarView test now correctly identifies and interacts with the dismiss button. The button is located by iterating through the ConfirmInfoBar's children and matching its kElementIdentifierKey property against kDismissButtonElementId. Bug: 412697757 Change-Id: I751344c3b60ecd63a5920045ef7d055991ad3cd4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6591341 Reviewed-by: Dana Fried <dfried@chromium.org> Reviewed-by: Daniel Soromou <koretadaniel@chromium.org> Commit-Queue: Muhammad Salmaan <musalmaan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1466087}
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.