aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/cmake
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2020-02-19 23:05:01 -0500
committerCJ Johnson <johnsoncj@google.com>2020-02-28 16:40:53 -0500
commitfd538161f484c202e68512ca37aaa73f2e06f606 (patch)
treed3b2bbc727b7808154f3893ee102aaa98a33e68a /googlemock/cmake
parent23b2a3b1cf803999fb38175f6e9e038a4495c8a5 (diff)
downloadgoogletest-fd538161f484c202e68512ca37aaa73f2e06f606.tar.gz
googletest-fd538161f484c202e68512ca37aaa73f2e06f606.tar.bz2
googletest-fd538161f484c202e68512ca37aaa73f2e06f606.zip
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
Diffstat (limited to 'googlemock/cmake')
0 files changed, 0 insertions, 0 deletions