aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/docs/cook_book.md
Commit message (Collapse)AuthorAgeFilesLines
* Googletest exportAbseil Team2020-04-161-2/+2
| | | | | | Fix link to "After clause". Sorry, reader, but this heading is in another document! PiperOrigin-RevId: 305947971
* Googletest exportAbseil Team2020-03-171-1/+1
| | | | | | | | Remove public buganizer reference from googletest cookbook. It also seems that this bug is obsolete. PiperOrigin-RevId: 298598298
* Googletest exportAbseil Team2020-02-281-17/+19
| | | | | | | | Allow construction of an Action from a callable of zero args Action already allows construction from a callable with the same args as the mocked function, without needing to wrap the callable in Invoke. However, if you don't care about the arguments to the mocked function you need to either accept all of them or wrap your callable in InvokeWithoutArgs. This change makes both of those unnecessary, since it allows you to pass a no-args callable to Action directly. PiperOrigin-RevId: 296117034
* Googletest exportAbseil Team2020-01-021-1/+1
| | | | | | Fix typo in example. PiperOrigin-RevId: 287212448
* Googletest exportkrzysio2019-12-161-18/+17
| | | | | | | | Don't use fully qualified ::std types in code examples. Having a nested user-defined 'std' namespace anywhere in a program is a minefield and shouldn't be either explicitly supported or implicitly condoned. PiperOrigin-RevId: 285790182
* Googletest exportAbseil Team2019-09-271-88/+88
| | | | | | Updates headings. PiperOrigin-RevId: 271148974
* Googletest exportAbseil Team2019-09-271-4/+4
| | | | | | Remove unnecessary full qualifications from std types. PiperOrigin-RevId: 270101485
* Merge pull request #2387 from kuzkry:iffShaindel Schwartz2019-09-121-5/+6
|\ | | | | | | PiperOrigin-RevId: 268693457
| * restore mistakenly removed iffs in their explicit formKrystian Kuzniarek2019-08-201-4/+6
|/ | | | | Due to confusion arisen from "iff" standing for "if and only if", this commit uses the latter.
* Googletest exportmisterg2019-08-161-1/+1
| | | | | | Fix broken link at beginning of "Mocking Non-virtual Methods" section. PiperOrigin-RevId: 263772074
* Googletest exportmisterg2019-08-161-1/+1
| | | | | | Internal Change PiperOrigin-RevId: 263768422
* Googletest exportmisterg2019-08-151-1/+1
| | | | | | Internal changes PiperOrigin-RevId: 263636027
* Googletest exportAbseil Team2019-08-151-1/+1
| | | | | | Internal changes PiperOrigin-RevId: 262994110
* Googletest exportAbseil Team2019-08-071-3/+3
| | | | | | Fix broken links. PiperOrigin-RevId: 262123510
* Googletest exportAbseil Team2019-08-071-3/+27
| | | | | | Add general explanation of MOCK_METHOD, including list of supported qualifiers. PiperOrigin-RevId: 262077180
* Googletest exportAbseil Team2019-08-021-2/+3
| | | | | | Remove markdown extension which isn't supported on github. PiperOrigin-RevId: 261321329
* Merge pull request #2356 from kuzkry:typosGennadiy Civil2019-07-301-6/+6
|\ | | | | | | PiperOrigin-RevId: 260786935
| * fix typosKrystian Kuzniarek2019-07-301-6/+6
| |
* | Manual docs tweaks still in preparation for including docs with code pushesGennadiy Civil2019-07-291-2/+69
|/
* Manual docs tweaks still in preparation for including docs with code pushesGennadiy Civil2019-07-181-2/+2
|
* Manual docs tweaks still in preparation for including docs with code pushesGennadiy Civil2019-07-181-1/+1
|
* Preparation for including docs in round-trip with OSSGennadiy Civil2019-07-151-2/+2
|
* Preparation for including docs in round-trip with OSSGennadiy Civil2019-07-151-2/+2
|
* Preparation for including docs in round-trip with OSSGennadiy Civil2019-07-151-32/+4
|
* Preparation for including docs in round-trip with OSSGennadiy Civil2019-07-151-1474/+2019
|
* Merge pull request #2326 from kuzkry/missing-references-to-documentationGennadiy Civil2019-07-151-3/+3
|\ | | | | Add missing references to documentation
| * rename and apply snake_case on ForDummies.mdKrystian Kuzniarek2019-07-131-1/+1
| |
| * rename and apply snake_case on CheatSheet.mdKrystian Kuzniarek2019-07-131-2/+2
| |
* | Fix bad advice in cook book (#2308)Sam Sobell2019-07-101-1/+1
|/ | | | | | | This line directly contradicts the warning that google mock spits out on unused mock calls: ``` NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. ``` One or the other should be changed, and I believe the advice in this file is incorrect.
* missed the actual file in previous commitGennadiy Civil2019-06-191-0/+3660