mirror of
https://github.com/google/googletest.git
synced 2024-12-26 17:41:03 +08:00
Googletest export
gMock Cookbook: Slight rewording Remove "I" because documentation can have multiple authors. And remove unnecessary "guy". PiperOrigin-RevId: 314533746
This commit is contained in:
parent
cb44c86c1a
commit
210aab09de
@ -410,8 +410,8 @@ NOTE: `NiceMock` and `StrictMock` only affects *uninteresting* calls (calls of
|
||||
methods with expectations, but they don't match). See
|
||||
[Understanding Uninteresting vs Unexpected Calls](#uninteresting-vs-unexpected).
|
||||
|
||||
There are some caveats though (I dislike them just as much as the next guy, but
|
||||
sadly they are side effects of C++'s limitations):
|
||||
There are some caveats though (sadly they are side effects of C++'s
|
||||
limitations):
|
||||
|
||||
1. `NiceMock<MockFoo>` and `StrictMock<MockFoo>` only work for mock methods
|
||||
defined using the `MOCK_METHOD` macro **directly** in the `MockFoo` class.
|
||||
|
Loading…
x
Reference in New Issue
Block a user