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
3cfb4117
Commit
3cfb4117
authored
Apr 28, 2020
by
Abseil Team
Committed by
Gennadiy Rozental
May 01, 2020
Browse files
Googletest export
Fix link to "high-perf dependency injection technique". PiperOrigin-RevId: 308893893
parent
472cd8fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googlemock/docs/gmock_faq.md
googlemock/docs/gmock_faq.md
+1
-1
No files found.
googlemock/docs/gmock_faq.md
View file @
3cfb4117
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
### When I call a method on my mock object, the method for the real object is invoked instead. What's the problem?
### When I call a method on my mock object, the method for the real object is invoked instead. What's the problem?
In order for a method to be mocked, it must be
*virtual*
, unless you use the
In order for a method to be mocked, it must be
*virtual*
, unless you use the
[
high-perf dependency injection technique
](
#MockingNonVirtualMethods
)
.
[
high-perf dependency injection technique
](
cook_book.md
#MockingNonVirtualMethods
)
.
### Can I mock a variadic function?
### Can I mock a variadic function?
...
...
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