Add function name to exception if there's no default action

This commit is contained in:
Maurice Gilden 2017-07-27 11:12:12 +02:00
parent 5ed471caec
commit 5b4166f05f

View File

@ -364,7 +364,7 @@ UntypedFunctionMockerBase::UntypedInvokeWith(const void* const untyped_args)
if (!need_to_report_uninteresting_call) {
// 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.