Mock class looks like this :
struct MockClass
{
MOCK_METHOD0( foo, void () );
};
If I forget to set an expected calls on a mock object, I get something like this :
GMOCK WARNING:
Uninteresting mock function call - returning directly.
Function call: foo()
Stack trace:
and the stack trace is empty.
So, what has to be done in order to get the stack trace?
This is described here :
Using the info warning level will print the backtrace