mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-20 13:51:05 +00:00
d249632825
- Reorganize generated code to all be nested under pw_rpc::<impl>, where impl is raw, nanopb, or (eventually) pwpb. - Nest generated code under a service class rather than a service namespace. A service class allows private members, is easier to alias, and can be passed to a template that works generically with RPCs of different protobuf libraries. - Provide aliases to continue to support code using the old namespaces. - Restructure pw_rpc codegen to use an abstract base class and to share more code between Nanopb and raw. Change-Id: Ifddfac45d5112cf1df0cd65b3a4bade1aaeaad6e Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/61000 Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Alexei Frolov <frolv@google.com> Commit-Queue: Wyatt Hepler <hepler@google.com> |
||
---|---|---|
.. | ||
public/pw_unit_test | ||
public_overrides/gtest | ||
pw_unit_test_proto | ||
py | ||
BUILD.bazel | ||
BUILD.gn | ||
CMakeLists.txt | ||
docs.rst | ||
facade_test.gni | ||
framework_test.cc | ||
framework.cc | ||
logging_event_handler.cc | ||
logging_main.cc | ||
README.md | ||
rpc_event_handler.cc | ||
rpc_main.cc | ||
simple_printing_event_handler.cc | ||
simple_printing_main.cc | ||
test_rpc_server.cc | ||
test.gni | ||
unit_test_service.cc |
pw_unit_test: Lightweight C++ unit testing framework
The pw_unit_test module contains the code for Pigweed Test, a Googletest-compatible unit testing framework that runs on anything from bare-metal microcontrollers to large desktop operating systems.