summaryrefslogtreecommitdiffstats
path: root/googlemock/include/gmock/gmock-function-mocker.h
Commit message (Collapse)AuthorAgeFilesLines
* Running clang-format over all of GoogleTestAbseil Team2022-03-151-1/+1
| | | | | | | | | | | | | | | | A few tests are examining code locations and looking af the resulting line numbers to verify that GoogleTest shows those to users correctly. Some of those locations change when clang-format is run. For those locations, I've wrapped portions in: // clang-format off ... // clang-format on There may be other locations that are currently not tickled by running clang-format. PiperOrigin-RevId: 434844712 Change-Id: I3a9f0a6f39eff741c576b6de389bef9b1d11139d
* Consistently apply IWYU pragmas across googletest and googlemock headersAbseil Team2022-01-181-0/+3
| | | | | PiperOrigin-RevId: 422559250 Change-Id: I9f630f2186724950e5e9fbd7093d5264e8bf0a71
* Googletest exportAbseil Team2021-08-131-43/+77
| | | | | | Identify bad specs of the type (const something, ...). PiperOrigin-RevId: 390346843
* Googletest exportAbseil Team2021-07-221-2/+0
| | | | | | Delete GOOGLETEST_CM.* tags from C++ code. PiperOrigin-RevId: 386268534
* Googletest exportAbseil Team2021-03-161-3/+3
| | | | | | Internal change PiperOrigin-RevId: 362040448
* Googletest exportAbseil Team2021-02-051-3/+3
| | | | | | Remove uses of GTEST_HAS_TYPED_TEST_P and GTEST_HAS_TYPED_TEST. PiperOrigin-RevId: 353935996
* Googletest exportAbseil Team2020-11-061-28/+49
| | | | | | Add support for ref qualifiers in MOCK_METHOD. PiperOrigin-RevId: 341047839
* Googletest exportAbseil Team2020-09-291-1/+1
| | | | | | Fix typo PiperOrigin-RevId: 333745750
* Googletest exportAbseil Team2020-07-051-1/+1
| | | | | | | | Improve compatibility with strict compilers targeting Windows Remove an unnecessary ##, which could result in warnings about invalid preprocessor tokens when pasting to an initial '(' PiperOrigin-RevId: 319277617
* Googletest exportAbseil Team2020-02-071-15/+42
| | | | | | | | | 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
* Googletest exportAbseil Team2020-02-071-17/+169
| | | | | | | | Pass method's parameters count to internal GMOCK_METHOD* macro. This will help removing copypaste in every GMOCK_METHOD* macro in future. PiperOrigin-RevId: 292932554
* Googletest exportAbseil Team2020-02-071-0/+3
| | | | | | Add includes for type_traits and utility to gmock-function-mocker.h: macros in the file require these headers. PiperOrigin-RevId: 291782497
* Revert "Merge pull request #2498 from thejcannon:noexcept_spec"refs/pull/2533/headJoshua Cannon2019-10-231-20/+22
| | | | | This reverts commit ba513d2c9525a7c986c115ed5d603f2cf17c6016, reversing changes made to a3ca5b9e0bf9abc3bc639684966085c4d3182578.
* Googletest exportAbseil Team2019-10-181-4/+25
| | | | | | | | 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-22/+20
|\ | | | | | | PiperOrigin-RevId: 274155281
* \ Merge pull request #2498 from thejcannon:noexcept_specGennadiy Civil2019-10-111-20/+22
|\ \ | |/ | | | | PiperOrigin-RevId: 274097989
| * Fix spacingJoshua Cannon2019-10-071-3/+3
| |
| * Use the verbatim noexcept spec in MOCKED_METHODJoshua Cannon2019-10-071-10/+14
|/
* Googletest exportAbseil Team2019-07-261-0/+35
| | | | | | Add copyright. PiperOrigin-RevId: 259997211
* 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 Team2018-11-201-5/+18
| | | | | | Validate spec modifiers. PiperOrigin-RevId: 221810235
* Googletest exportAbseil Team2018-11-151-0/+205
One macro to rule them all. PiperOrigin-RevId: 221462515