googletest/googlemock/test
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
..
BUILD.bazel Prepare for Bazel incompatible changes 2019-08-07 17:08:10 +02:00
gmock_all_test.cc Googletest export 2020-02-07 13:35:27 -05:00
gmock_ex_test.cc Comments changes, no functionality changes 2018-08-14 14:04:07 -04:00
gmock_leak_test_.cc Comments changes, no functionality changes 2018-08-14 14:04:07 -04:00
gmock_leak_test.py Comments changes, no functionality changes. 2018-08-14 15:04:11 -04:00
gmock_link2_test.cc Comments changes, no functionality changes 2018-08-14 14:04:07 -04:00
gmock_link_test.cc Comments changes, no functionality changes 2018-08-14 14:04:07 -04:00
gmock_link_test.h Replaced all NULLs with nullptr in googlemock 2018-10-28 03:27:51 +03:00
gmock_output_test_.cc Comments changes, no functionality changes 2018-08-14 14:04:07 -04:00
gmock_output_test_golden.txt Googletest export 2019-07-16 13:35:16 -04:00
gmock_output_test.py Googletest export 2019-07-17 13:38:25 -04:00
gmock_stress_test.cc Googletest export 2018-10-29 13:46:16 -04:00
gmock_test_utils.py Comments changes, no functionality changes. 2018-08-14 15:04:11 -04:00
gmock_test.cc Apply clang-tidy modernize-use-nullptr to googletest. 2018-10-05 12:54:14 -04:00
gmock-actions_test.cc Googletest export 2020-02-28 16:40:53 -05:00
gmock-cardinalities_test.cc restore mistakenly removed iffs in their explicit form 2019-08-20 12:14:22 +02:00
gmock-function-mocker_nc_test.py Googletest export 2018-11-20 13:29:40 -05:00
gmock-function-mocker_nc.cc Googletest export 2018-11-20 13:29:40 -05:00
gmock-function-mocker_test.cc Googletest export 2020-02-07 13:35:27 -05:00
gmock-generated-actions_test.cc Googletest export 2018-12-17 17:57:39 -05:00
gmock-generated-matchers_test.cc Googletest export 2020-02-07 18:20:45 -05:00
gmock-internal-utils_test.cc Googletest export 2019-11-22 16:33:15 -05:00
gmock-matchers_test.cc Googletest export 2020-02-11 15:50:26 -05:00
gmock-more-actions_test.cc Googletest export 2019-09-16 11:47:35 -04:00
gmock-nice-strict_test.cc Googletest export 2019-01-02 16:51:33 -05:00
gmock-port_test.cc Comments changes, no functionality changes 2018-08-14 14:04:07 -04:00
gmock-pp_test.cc Merge pull request #2514 from thejcannon:msvc_macro_issue 2019-10-23 13:35:26 -04:00
gmock-pp-string_test.cc Googletest export 2018-11-20 13:30:24 -05:00
gmock-spec-builders_test.cc change usings 2019-09-12 18:21:31 +02:00
pump_test.py Merge pull request #2388 from kuzkry:remove-gtest-type-util.pump 2019-10-29 16:50:52 -04:00