aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock-function-mocker_test.cc
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2350 from adambadura:MockFunctionFromStdFunctionXiaoyi Zhang2020-03-241-0/+51
|\ | | | | | | PiperOrigin-RevId: 302677275
| * Add support for std::function in MockFunction (#2277)Adam Badura2020-03-181-1/+20
| |
| * Add tests for MockFunction deduction (#2277)Adam Badura2020-03-181-0/+30
|/ | | | | | Add tests checking that ::testing::MockFunction template argument can be deduced in a function call context. This is a property raised in the review, however, not checked before by any tests.
* Googletest exportAbseil Team2020-02-071-96/+257
| | | | | | | | | Get rid of gmock-generated-function-mockers.h and gmock-generated-function-mockers.h.pump. Stop using pump for GMOCK_METHOD* macroses generation. PiperOrigin-RevId: 293454519
* Revert "Merge pull request #2498 from thejcannon:noexcept_spec"Joshua Cannon2019-10-231-0/+29
| | | | | This reverts commit ba513d2c9525a7c986c115ed5d603f2cf17c6016, reversing changes made to a3ca5b9e0bf9abc3bc639684966085c4d3182578.
* Googletest exportAbseil Team2019-10-181-0/+7
| | | | | | | | Addressing https://github.com/google/googletest/issues/2502 Add MOCK_METHOD support for returning function pointers. PiperOrigin-RevId: 275323671
* Merge pull request #2498 from thejcannon:noexcept_specGennadiy Civil2019-10-111-29/+0
|\ | | | | | | PiperOrigin-RevId: 274155281
* | Merge pull request #2498 from thejcannon:noexcept_specGennadiy Civil2019-10-111-0/+29
|\| | | | | | | PiperOrigin-RevId: 274097989
| * Made noexcept condition more excitingJoshua Cannon2019-10-101-8/+12
| |
| * Use declval in noexcept expressionJoshua Cannon2019-10-071-7/+8
| |
| * Switch to free function to avoid GCC bugJoshua Cannon2019-10-071-3/+3
| |
| * Avoid comma operatorJoshua Cannon2019-10-071-2/+3
| |
| * Use the verbatim noexcept spec in MOCKED_METHODJoshua Cannon2019-10-071-0/+21
|/
* Googletest exportAbseil Team2019-03-011-1/+1
| | | | | | | | | | Build gmock cleanly with clang -Wextra-semi For https://crbug.com/926235. From https://github.com/google/googletest/pull/2139. Fixes https://github.com/google/googletest/issues/2138. PiperOrigin-RevId: 235832527
* Googletest exportAbseil Team2019-01-181-0/+17
| | | | | | | | | | Fix mocking method arguments with templated copy constructors. A previous change removed workarounds for old compilers from googletest and googlemock. Unfortunately, a bit of code that started as a workaround for Symbian's C++ compiler is still needed to avoid copy/move constructor ambiguity when mocking functions with certain argument types. The test case added by this CL is extracted from Chrome's codebase, and was discovered while attempting to roll googletest. PiperOrigin-RevId: 229801765
* Googletest exportAbseil Team2019-01-021-14/+0
| | | | | | | | Remove the #ifs for old, unsupported and buggy compilers: * old versions of GCC & MSVC * Symbian PiperOrigin-RevId: 227116941
* Googletest exportAbseil Team2018-12-201-2/+0
| | | | | | Unifdef c++11-related macros from googletest now that it requires C++11. PiperOrigin-RevId: 225905601
* Googletest exportAbseil Team2018-11-151-0/+659
One macro to rule them all. PiperOrigin-RevId: 221462515