Abseil Team
fbf67a70d0
Googletest export
...
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
2020-02-07 13:35:27 -05:00
Abseil Team
d02e277275
Googletest export
...
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
2020-02-07 13:35:10 -05:00
Abseil Team
38f6608e87
Googletest export
...
Add includes for type_traits and utility to gmock-function-mocker.h: macros in the file require these headers.
PiperOrigin-RevId: 291782497
2020-02-07 13:34:26 -05:00
Joshua Cannon
676d0444bf
Revert "Merge pull request #2498 from thejcannon:noexcept_spec"
...
This reverts commit ba513d2c95
, reversing
changes made to a3ca5b9e0b
.
2019-10-23 14:46:46 -05:00
Abseil Team
1f9edcd969
Googletest export
...
Addressing https://github.com/google/googletest/issues/2502
Add MOCK_METHOD support for returning function pointers.
PiperOrigin-RevId: 275323671
2019-10-18 11:33:59 -04:00
Gennadiy Civil
ba513d2c95
Merge pull request #2498 from thejcannon:noexcept_spec
...
PiperOrigin-RevId: 274155281
2019-10-11 08:48:11 -04:00
Gennadiy Civil
37905b9d8c
Merge pull request #2498 from thejcannon:noexcept_spec
...
PiperOrigin-RevId: 274097989
2019-10-11 07:07:12 -04:00
Joshua Cannon
0eadff8a93
Fix spacing
2019-10-07 14:37:39 -05:00
Joshua Cannon
10c1d8c4fa
Use the verbatim noexcept spec in MOCKED_METHOD
2019-10-07 14:30:10 -05:00
Abseil Team
373ed74af5
Googletest export
...
Add copyright.
PiperOrigin-RevId: 259997211
2019-07-25 20:53:34 -04:00
Abseil Team
56ef07a203
Googletest export
...
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
2019-03-01 16:18:17 -05:00
Abseil Team
5dab7be70d
Googletest export
...
Validate spec modifiers.
PiperOrigin-RevId: 221810235
2018-11-20 13:29:40 -05:00
Abseil Team
c5f08bf919
Googletest export
...
One macro to rule them all.
PiperOrigin-RevId: 221462515
2018-11-15 16:11:19 -05:00