commit | dd609dfdd049d69b42219c1e5bfd3eee4557a543 | [log] [tgz] |
---|---|---|
author | Mitchell Kember <mkember@google.com> | Tue Dec 20 03:33:40 2022 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 20 03:33:40 2022 +0000 |
tree | 468988c742b92c8e4c4e12d1b87353c8a950f4c2 | |
parent | 4bfc3e32a4b9b88c1ed42d61d1c3ca507bb0499e [diff] |
[gidl][rust] Use equality builder This CL changes the GIDL Rust backend to use an equality builder for decode_success tests instead of always constructed an "expected" value and using a single `assert_eq!`. See fxbug.dev/116269 for a rationale. Bug: 116269 Test: fx test fidl_rust_conformance_tests --host Multiply: host_x64/fidl-c-conformance-host-tests: 100 Multiply: host_x64/fidl_rust_conformance_tests: 100 Multiply: host_x64/fidl_cpp_conformance_tests: 100 Multiply: host_x64/fidl_hlcpp_conformance_tests: 100 Multiply: host_x64/fidl_llcpp_conformance_tests: 100 Multiply: host_x64/obj/src/tests/fidl/fidl_go_conformance/fidl_go_conformance_tests.sh: 100 Change-Id: I6930b0b110b567c5b26a2c8cc1dbc7a708461098 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/777907 Reviewed-by: Yifei Teng <yifeit@google.com> Commit-Queue: Mitchell Kember <mkember@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.