Fix reference to source file in gmock FAQ
PiperOrigin-RevId: 421915817 Change-Id: I22800e8943f9eb050304c521701d4040b1b7a914
This commit is contained in:
parent
4e82924686
commit
4e9fe30884
@ -369,8 +369,8 @@ Usually, if your action is for a particular function type, defining it using
|
|||||||
different types (e.g. if you are defining `Return(*value*)`),
|
different types (e.g. if you are defining `Return(*value*)`),
|
||||||
`MakePolymorphicAction()` is easiest. Sometimes you want precise control on what
|
`MakePolymorphicAction()` is easiest. Sometimes you want precise control on what
|
||||||
types of functions the action can be used in, and implementing `ActionInterface`
|
types of functions the action can be used in, and implementing `ActionInterface`
|
||||||
is the way to go here. See the implementation of `Return()` in
|
is the way to go here. See the implementation of `Return()` in `gmock-actions.h`
|
||||||
`testing/base/public/gmock-actions.h` for an example.
|
for an example.
|
||||||
|
|
||||||
### I use SetArgPointee() in WillOnce(), but gcc complains about "conflicting return type specified". What does it mean?
|
### I use SetArgPointee() in WillOnce(), but gcc complains about "conflicting return type specified". What does it mean?
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user