diff options
author | Dino Radakovic <dinor@google.com> | 2023-10-03 11:41:17 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-10-03 11:41:48 -0700 |
commit | beb552fb47e9e8a6ddab20526663c2dddd601ec6 (patch) | |
tree | 7d814ad258250ca130435ceddbd408be0a19c88e /googletest/test/googletest-port-test.cc | |
parent | a6d7fa8c0cebaa8b493a1cecdfa05018f6adc8df (diff) | |
download | googletest-beb552fb47e9e8a6ddab20526663c2dddd601ec6.tar.gz |
gmock_cook_book: Document `DoAll`'s return type requirement
The requirement is vaguely documented by "Only the return value of the last action in the sequence will be used.".
However, this can be misleading, as users could potentially expect default-constructed values to be returned in absence of a matching return type.
PiperOrigin-RevId: 570450839
Change-Id: Ibd98a6e6b2aaf2a8cfc15ed6aeab442526eab98e
Diffstat (limited to 'googletest/test/googletest-port-test.cc')
0 files changed, 0 insertions, 0 deletions