summaryrefslogtreecommitdiffstats
path: root/googlemock/scripts/generator
Commit message (Collapse)AuthorAgeFilesLines
* chore: fix spellingJohn Bampton2021-04-151-3/+3
|
* Do not include void into mocked method argumentsplatisd2021-02-052-2/+3
| | | | | | | | | 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
* Googletest exportAbseil Team2021-01-133-7/+27
| | | | | | | | 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
* Googletest exportAbseil Team2020-06-262-8/+7
| | | | | | Update auto_mock to support C++17 nested namespaces PiperOrigin-RevId: 318192214
* Googletest exportAbseil Team2020-02-113-1871/+1892
| | | | | | | | | | 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
* Googletest exportAbseil Team2020-02-112-371/+406
| | | | | | Fix gmock_gen to use MOCK_METHOD instead of old style macros. PiperOrigin-RevId: 294360947
* Googletest exportAbseil Team2020-02-112-406/+371
| | | | | | Fix gmock_gen to use MOCK_METHOD instead of old style macros. PiperOrigin-RevId: 294332975
* Googletest exportmisterg2019-10-297-175/+75
| | | | | | Internal Change PiperOrigin-RevId: 277336786
* Googletest exportmhermas2019-10-293-394/+440
| | | | | | | | | 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
* Googletest exportAbseil Team2019-10-237-122/+285
| | | | | | 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
* Merge branch 'master' into josh/fix_scoped_class2Gennadiy Civil2018-08-162-8/+7
|\
| * formatting changes Gennadiy Civil2018-05-231-5/+4
| |
| * Fixed typosTroy Holsapple2018-02-071-3/+3
| |
* | Fix scoped enum not working in gmock-gen.pyJosh Bodily2017-08-102-0/+21
|/
* move googlemock files into googlemock/ subdirBilly Donahue2015-08-2511-0/+3179
OpenPOWER on IntegriCloud