| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Update stale links to `gmock_cook_book.md`.
I'm a new googletest user and found these links broken when reading the documentation.
PiperOrigin-RevId: 357786392
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fix includes in fuse_gmock_files.py
PiperOrigin-RevId: 355166403
|
|
|
|
|
|
| |
Remove scripts for code generating together with related files.
PiperOrigin-RevId: 352805926
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
Fix some issues when running fuse_gmock_files.
The module path should be updated before importing `fuse_gtest_files`, since
the script may not run from the googletest repo root. We also need a non-frozen
set in order to track progress.
PiperOrigin-RevId: 337380466
|
|
|
|
|
|
| |
Make the code Python3 compliant.
PiperOrigin-RevId: 336144198
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
| |
Remove outdated unsupported scripts
PiperOrigin-RevId: 277556831
|
|
|
|
|
|
| |
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
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
|\| |
|
| | |
|
|/ |
|
| |
|
| |
|
|
|