commit | 091a74c8befd057551ca757c42e3839f5f63f079 | [log] [tgz] |
---|---|---|
author | Jonathan Lee <jonathanjlee@google.com> | Wed Feb 26 17:00:42 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 26 17:00:42 2025 |
tree | a93a2543ca4ca28b0dc9f96b3e176a6af0e750ce | |
parent | b3deeaf2b87a8ddf9d7736edac3cdede5cf40cee [diff] |
[gtest] Consume `AssertionResult`s in `intent_chip_button_browser...cc` Wrap each `testing::AssertionResult` in an `EXPECT_TRUE(...)` [0] to actually check if the assertion passed. The dropped assertion was revealed by Googletest recently marking `AssertionResult` as `[[nodiscard]]` [1]. [0]: https://google.github.io/googletest/advanced.html#predicate-assertions-for-better-error-messages [1]: https://chromium.googlesource.com/external/github.com/google/googletest.git/+/3fbe4db9a39291ae8d7a9c5f1d75896bb4c5a18f%5E%21/ Bug: 398298306 Change-Id: I012252917fd5bbd3fb31a730af5e5921b2cafcfd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6299860 Commit-Queue: Jonathan Lee <jonathanjlee@google.com> Reviewed-by: Tim Sergeant <tsergeant@chromium.org> Cr-Commit-Position: refs/heads/main@{#1425194}
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.