Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
947aeab2
Commit
947aeab2
authored
Jul 15, 2019
by
Gennadiy Civil
Browse files
Preparation for including docs in round-trip with OSS
parent
5af948b3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
googlemock/docs/cook_book.md
googlemock/docs/cook_book.md
+2
-2
No files found.
googlemock/docs/cook_book.md
View file @
947aeab2
...
@@ -2292,8 +2292,8 @@ bool Job2(int n, char c) { ... }
...
@@ -2292,8 +2292,8 @@ bool Job2(int n, char c) { ... }
#### Invoking an Argument of the Mock Function
#### Invoking an Argument of the Mock Function
Sometimes a mock function will receive a function pointer, a functor
, or a
Sometimes a mock function will receive a function pointer, a functor
(in other
`google3`
-style callback (in other
words, a "callable") as an argument, e.g.
words, a "callable") as an argument, e.g.
```
cpp
```
cpp
class
MockFoo
:
public
Foo
{
class
MockFoo
:
public
Foo
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment