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
a92e4a8e
Commit
a92e4a8e
authored
Aug 12, 2019
by
Abseil Team
Committed by
Gennadiy Civil
Aug 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Googletest export
Internal changes PiperOrigin-RevId: 262994110
parent
3835e15d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cook_book.md
googlemock/docs/cook_book.md
+1
-1
No files found.
googlemock/docs/cook_book.md
View file @
a92e4a8e
...
@@ -178,7 +178,7 @@ class MockStack : public StackInterface<Elem> {
...
@@ -178,7 +178,7 @@ class MockStack : public StackInterface<Elem> {
#### Mocking Non-virtual Methods {#MockingNonVirtualMethods}
#### Mocking Non-virtual Methods {#MockingNonVirtualMethods}
gMock can mock non-virtual functions to be used in Hi-perf dependency
gMock can mock non-virtual functions to be used in Hi-perf dependency
injection.
<!-- GOOGLETEST_CM0017 DO NOT DELETE -->
.
injection.
[
See this
](
http://go/tott/33
)
.
In this case, instead of sharing a common base class with the real class, your
In this case, instead of sharing a common base class with the real class, your
mock class will be
*unrelated*
to the real class, but contain methods with the
mock class will be
*unrelated*
to the real class, but contain methods with the
...
...
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