Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
5af948b3
Commit
5af948b3
authored
Jul 15, 2019
by
Gennadiy Civil
Browse files
Preparation for including docs in round-trip with OSS
parent
073a2da4
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 @
5af948b3
...
...
@@ -467,7 +467,7 @@ class ScopedMockLog : public LogSink {
```
By defining a new mock method with a trimmed argument list, we make the mock
class more user-friendly.
<!-- GOOGLETEST_CM0017 DO NOT DELETE -->
class more user-friendly.
This technique may also be applied to make overloaded methods more amenable to
mocking. For example, when overloads have been used to implement default
...
...
@@ -1455,7 +1455,7 @@ mock object and gMock.
#### Knowing When to Expect {#UseOnCall}
<!-- GOOGLETEST_CM001
8
DO NOT DELETE -->
<!-- GOOGLETEST_CM001
7
DO NOT DELETE -->
**`ON_CALL`**
is likely the
*single most under-utilized construct*
in gMock.
...
...
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