Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
210aab09
Commit
210aab09
authored
Jun 03, 2020
by
Abseil Team
Committed by
Gennadiy Rozental
Jun 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Googletest export
gMock Cookbook: Slight rewording Remove "I" because documentation can have multiple authors. And remove unnecessary "guy". PiperOrigin-RevId: 314533746
parent
cb44c86c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cook_book.md
googlemock/docs/cook_book.md
+2
-2
No files found.
googlemock/docs/cook_book.md
View file @
210aab09
...
...
@@ -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.
...
...
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