commit | 3cfc209090ae23e1684ad9c6ba619cde1b9a6d33 | [log] [tgz] |
---|---|---|
author | Austin Foxley <afoxley@pigweed.infra.roller.google.com> | Tue Oct 22 07:27:36 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 22 07:27:36 2024 +0000 |
tree | 4c0ad568c459531bb0aaf8e1680c1a7e13909c95 | |
parent | d3a5ba0c51098f1cb04df5ade5e2228f7b25fb42 [diff] |
roll: pigweed pw_unit_test: Define pw::Status matchers Adds PW_TEST_EXPECT_OK, PW_TEST_ASSERT_OK, PW_TEST_ASSERT_OK_AND_ASSIGN These extend the pw_unit_test API surface to provide test matchers for pw::Status/Result. A copy of these were added to the googletest_test_matchers helpers but could have conflicted with the gtest/absl variants. Rename those as well, and expose them through the status_test_matchers.h header so tests that use these new macros can be used with either backend. Original-Bug: 338094795 Original-Bug: 315370328 Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/243615 Original-Revision: ce0e3e2d1b7eec7cdf59fbb2ceed2b1cb3edd1ec Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed Rolled-Commits: a4636bc83d6905..ce0e3e2d1b7eec Roll-Count: 1 Roller-URL: https://cr-buildbucket.appspot.com/build/8733395830300599217 GitWatcher: ignore CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I766f58702c9beda1b17d9bc5e3968f505acbf2a8 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/243815 Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
git clone https://pigweed.googlesource.com/pigweed/showcase/sense
Welcome to Pigweed Sense, a tour of key Pigweed components experienced through an imagined air quality product.
Please visit Sense: An interactive tour through Pigweed to get started.