googletest/googlemock/docs
Abseil Team fd538161f4 Googletest export
Allow construction of an Action from a callable of zero args

Action already allows construction from a callable with the same args as the mocked function, without needing to wrap the callable in Invoke. However, if you don't care about the arguments to the mocked function you need to either accept all of them or wrap your callable in InvokeWithoutArgs. This change makes both of those unnecessary, since it allows you to pass a no-args callable to Action directly.

PiperOrigin-RevId: 296117034
2020-02-28 16:40:53 -05:00
..
cheat_sheet.md Googletest export 2020-02-07 13:35:19 -05:00
cook_book.md Googletest export 2020-02-28 16:40:53 -05:00
for_dummies.md Fix typo in documents 2019-10-01 14:24:55 +09:00
gmock_faq.md Googletest export 2019-08-01 16:06:11 -04:00
pump_manual.md Merge pull request #2548 from kuzkry:update-pump-manual 2019-11-05 17:08:27 -05:00