summaryrefslogtreecommitdiffstats
path: root/googletest/samples
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2020-02-20 04:05:01 (GMT)
committerCJ Johnson <johnsoncj@google.com>2020-02-28 21:08:12 (GMT)
commitc91425824110ca94dd6942cd31cb6c77c46a7b8a (patch)
treed3b2bbc727b7808154f3893ee102aaa98a33e68a /googletest/samples
parent23b2a3b1cf803999fb38175f6e9e038a4495c8a5 (diff)
downloadgoogletest-c91425824110ca94dd6942cd31cb6c77c46a7b8a.zip
googletest-c91425824110ca94dd6942cd31cb6c77c46a7b8a.tar.gz
googletest-c91425824110ca94dd6942cd31cb6c77c46a7b8a.tar.bz2
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
Diffstat (limited to 'googletest/samples')
0 files changed, 0 insertions, 0 deletions