commit | 54891aeecdbbd29c0ba65ce39bb26942ac5edd20 | [log] [tgz] |
---|---|---|
author | Carlos Chinchilla <cachinchilla@google.com> | Wed Sep 22 11:26:43 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 23 15:32:33 2021 +0000 |
tree | 4fa24866965558876ff713477b8141130ca34295 | |
parent | f087b00fa2d156d0688b12fc46851c1a23811076 [diff] |
pw_rpc: new FakeChannelOutput testing APIs - Add an individual count for each packet type. - Avoid crashing when the channel output is done. - Add methods to inject an error status useful when testing RPC error handling. No-Docs-Update-Reason: documented in API comments. Change-Id: I9df303cef3fe6c069fff7350c0dc0e909a326404 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/61906 Pigweed-Auto-Submit: Carlos Chinchilla <cachinchilla@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Reviewed-by: Wyatt Hepler <hepler@google.com>
See our website: http://pigweed.dev