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>
1 file changed
tree: 4c0ad568c459531bb0aaf8e1680c1a7e13909c95
  1. .github/
  2. .vscode/
  3. apps/
  4. device/
  5. modules/
  6. system/
  7. targets/
  8. tools/
  9. web_app/
  10. .bazelignore
  11. .bazelrc
  12. .bazelversion
  13. .buildifier.json
  14. .clang-format
  15. .clangd.shared
  16. .gitignore
  17. .pw_console.yaml
  18. AUTHORS
  19. BUILD.bazel
  20. CONTRIBUTING.md
  21. LICENSE
  22. MODULE.bazel
  23. MODULE.bazel.lock
  24. OWNERS
  25. pigweed.json
  26. README.md
README.md

Sense

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.