Attention needed from Owners Override
Hunter Freyer has uploaded the change for review![Open in Gerrit]()
Hunter Freyer would like Owners Override to review this change.
Commit message
[predicates] Support fit::result<>.
This is an extension of fxrev.dev/1075223 to support fit::result, not
just zx::result (the latter being a subclass). fit::result<zx_status_t,
T> continues to have the same experience that zx::result<T> has before
this CL.
In particular, this means you can use ASSERT_OK on the result of a FIDL
call, which pleases me.
Updates a random subset of examples to take advantage of this.
Change-Id: I7e29a54ec7686a803c3e390b157a56bcc15c16ef
Change information
Files:
- M examples/drivers/metadata/test/BUILD.gn
- M examples/drivers/metadata/test/metadata_example_test.cc
- M examples/drivers/transport/zircon/rust/child/BUILD.gn
- M examples/drivers/transport/zircon/rust/child/child-driver-test.cc
- M examples/drivers/transport/zircon/rust/parent/BUILD.gn
- M examples/drivers/transport/zircon/rust/parent/parent-driver-test.cc
- M examples/fidl/calculator/cpp/integration_test/BUILD.gn
- M examples/fidl/calculator/cpp/integration_test/calc_integration_test.cc
- M examples/power/wake_lease/cpp/BUILD.gn
- M examples/power/wake_lease/cpp/wake_lease_integration_test.cc
- M src/lib/testing/predicates/BUILD.gn
- M src/lib/testing/predicates/predicates_test.cc
- M src/lib/testing/predicates/status.cc
- M src/lib/testing/predicates/status.h
Change size: L
Delta: 14 files changed, 430 insertions(+), 128 deletions(-)
Open in GerritRelated details
Attention is currently required from:
Submit Requirements:
Code-Review
Review-Enforcement
Gerrit-MessageType: newchange
Gerrit-Project: fuchsia
Gerrit-Branch: main
Gerrit-Change-Id: I7e29a54ec7686a803c3e390b157a56bcc15c16ef
Gerrit-Change-Number: 1238472
Gerrit-PatchSet: 6
You received this message because you are subscribed to the Google Groups "owners-override" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
.