| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Fix link to "After clause". Sorry, reader, but this heading is in another document!
PiperOrigin-RevId: 305947971
|
|
|
|
|
|
|
|
| |
Remove public buganizer reference from googletest cookbook.
It also seems that this bug is obsolete.
PiperOrigin-RevId: 298598298
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fix typo in example.
PiperOrigin-RevId: 287212448
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Updates headings.
PiperOrigin-RevId: 271148974
|
|
|
|
|
|
| |
Remove unnecessary full qualifications from std types.
PiperOrigin-RevId: 270101485
|
|\
| |
| |
| | |
PiperOrigin-RevId: 268693457
|
|/
|
|
|
| |
Due to confusion arisen from "iff" standing for "if and only if",
this commit uses the latter.
|
|
|
|
|
|
| |
Fix broken link at beginning of "Mocking Non-virtual Methods" section.
PiperOrigin-RevId: 263772074
|
|
|
|
|
|
| |
Internal Change
PiperOrigin-RevId: 263768422
|
|
|
|
|
|
| |
Internal changes
PiperOrigin-RevId: 263636027
|
|
|
|
|
|
| |
Internal changes
PiperOrigin-RevId: 262994110
|
|
|
|
|
|
| |
Fix broken links.
PiperOrigin-RevId: 262123510
|
|
|
|
|
|
| |
Add general explanation of MOCK_METHOD, including list of supported qualifiers.
PiperOrigin-RevId: 262077180
|
|
|
|
|
|
| |
Remove markdown extension which isn't supported on github.
PiperOrigin-RevId: 261321329
|
|\
| |
| |
| | |
PiperOrigin-RevId: 260786935
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Add missing references to documentation
|
| | |
|
| | |
|
|/
|
|
|
|
|
| |
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.
|
|
|