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
a92e4a8e
Commit
a92e4a8e
authored
Aug 12, 2019
by
Abseil Team
Committed by
Gennadiy Civil
Aug 15, 2019
Browse files
Googletest export
Internal changes PiperOrigin-RevId: 262994110
parent
3835e15d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googlemock/docs/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> {
#### Mocking Non-virtual Methods {#MockingNonVirtualMethods}
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
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