| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
If a function that takes no arguments explicitly states (void)
then do not include it in the mocked method argument list
since it triggers static assertions that expect no arguments
to be present.
Fixes (?) #3261
|
|
|
|
|
|
|
|
| |
Use an OrderedDict to store templated_types in the AST so that gmock knows how to properly construct the templated Mock class.
This is necessary for functions that make use of the templated typename as an argument or return type.
PiperOrigin-RevId: 349405731
|
|
|
|
|
|
| |
Update auto_mock to support C++17 nested namespaces
PiperOrigin-RevId: 318192214
|
|
|
|
|
|
|
|
|
|
| |
Fix gmock_gen to use MOCK_METHOD instead of old style macros. Fix several
related bugs in argument parsing and return types.
- handle commas more correctly in return types
- handle commas correctly in arguments
- handle default values more correctly
PiperOrigin-RevId: 294435093
|
|
|
|
|
|
| |
Fix gmock_gen to use MOCK_METHOD instead of old style macros.
PiperOrigin-RevId: 294360947
|
|
|
|
|
|
| |
Fix gmock_gen to use MOCK_METHOD instead of old style macros.
PiperOrigin-RevId: 294332975
|
|
|
|
|
|
| |
Internal Change
PiperOrigin-RevId: 277336786
|
|
|
|
|
|
|
|
|
| |
Merge 65032e28cba171c000accc85ffaf6f1e62921b86 into 8c91ecef292e963d23cd5b25f01ea1579fbe9aaa
Closes #2470
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/googletest/pull/2470 from hermas55:bugfix/default_const_param 65032e28cba171c000accc85ffaf6f1e62921b86
PiperOrigin-RevId: 277118535
|
|
|
|
|
|
| |
Add a matcher `testing::ReturnRoundRobin` which, on each call, returns the next element in the sequence, restarting at the beginning once it has reached the end.
PiperOrigin-RevId: 276312136
|
|\ |
|
| | |
|
| | |
|
|/ |
|
|
|