googletest/googlemock/include/gmock
Abseil Team c914258241 Export Test - Do Not Merge
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:08:12 -05:00
..
internal Googletest export 2020-02-07 18:20:45 -05:00
gmock-actions.h Export Test - Do Not Merge 2020-02-28 16:08:12 -05:00
gmock-cardinalities.h restore mistakenly removed iffs in their explicit form 2019-08-20 12:14:22 +02:00
gmock-function-mocker.h Googletest export 2020-02-07 13:35:27 -05:00
gmock-generated-actions.h Googletest export 2020-01-16 13:56:12 -05:00
gmock-generated-actions.h.pump Googletest export 2020-01-16 13:56:12 -05:00
gmock-matchers.h Googletest export 2020-02-11 15:50:26 -05:00
gmock-more-actions.h remove a custom implementation of std::is_reference 2019-08-14 13:33:13 +02:00
gmock-more-matchers.h Googletest export 2020-02-07 18:20:45 -05:00
gmock-nice-strict.h Googletest export 2018-12-21 11:30:20 -05:00
gmock-spec-builders.h remove MSVC workaround: warning 4355 2019-11-22 17:15:23 +01:00
gmock.h Googletest export 2020-02-07 18:20:45 -05:00