Google Git
Sign in
bazel/crubit/d0fc2947b00509f08e55bac83c2b4aa7e027cf8f/./rs_bindings_from_cc/test/golden
tree: 5e355b0eaa66a3a40f1d4deaac7fd3d24146562f
  1. comment.h
  2. comment_rs_api.rs
  3. comment_rs_api_impl.cc
  4. doc_comment.h
  5. doc_comment_rs_api.rs
  6. doc_comment_rs_api_impl.cc
  7. generate_bindings.bzl
  8. item_order.h
  9. item_order_rs_api.rs
  10. item_order_rs_api_impl.cc
  11. no_elided_lifetimes.h
  12. no_elided_lifetimes_rs_api.rs
  13. no_elided_lifetimes_rs_api_impl.cc
  14. nontrivial_type.h
  15. nontrivial_type_rs_api.rs
  16. nontrivial_type_rs_api_impl.cc
  17. polymorphic.h
  18. polymorphic_rs_api.rs
  19. polymorphic_rs_api_impl.cc
  20. private_members.h
  21. private_members_rs_api.rs
  22. private_members_rs_api_impl.cc
  23. README.md
  24. static_methods.h
  25. static_methods_rs_api.rs
  26. static_methods_rs_api_impl.cc
  27. test.sh
  28. trivial_type.h
  29. trivial_type_rs_api.rs
  30. trivial_type_rs_api_impl.cc
  31. types.h
  32. types_rs_api.rs
  33. types_rs_api_impl.cc
  34. unsupported.h
  35. unsupported_rs_api.rs
  36. unsupported_rs_api_impl.cc
  37. update.sh
  38. user_of_imported_type.h
  39. user_of_imported_type_rs_api.rs
  40. user_of_imported_type_rs_api_impl.cc
  41. user_of_unsupported.h
  42. user_of_unsupported_rs_api.rs
  43. user_of_unsupported_rs_api_impl.cc
rs_bindings_from_cc/test/golden/README.md

Golden file tests

Instructions

  • Add a new test by adding a foo.h file and executing ./update.sh. This will generate the corresponding bindings files foo.cc and foo.rs.
  • If a test in this directory fails, look at the output. It should contain a diff of the failure.
  • If you get spurious failures in this directory: Run ./update.sh.
Powered by Gitiles| Privacy| Termstxt json