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
5b4166f0
Commit
5b4166f0
authored
Jul 27, 2017
by
Maurice Gilden
Browse files
Add function name to exception if there's no default action
parent
5ed471ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googlemock/src/gmock-spec-builders.cc
googlemock/src/gmock-spec-builders.cc
+1
-1
No files found.
googlemock/src/gmock-spec-builders.cc
View file @
5b4166f0
...
@@ -364,7 +364,7 @@ UntypedFunctionMockerBase::UntypedInvokeWith(const void* const untyped_args)
...
@@ -364,7 +364,7 @@ UntypedFunctionMockerBase::UntypedInvokeWith(const void* const untyped_args)
if
(
!
need_to_report_uninteresting_call
)
{
if
(
!
need_to_report_uninteresting_call
)
{
// Perform the action without printing the call information.
// Perform the action without printing the call information.
return
this
->
UntypedPerformDefaultAction
(
untyped_args
,
"
"
);
return
this
->
UntypedPerformDefaultAction
(
untyped_args
,
"
Function call: "
+
std
::
string
(
Name
())
);
}
}
// Warns about the uninteresting call.
// Warns about the uninteresting call.
...
...
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