-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can i mock nonvirtual member function? #32
Comments
You can take a look at this: Because nonvirtual member function is not interface, maybe mutable, tests depend on it is harmful. |
Thanks for your response and help. i search the mockcpp resposity, but didn't found key word 'ThunkCodeProvider' and 'CApiHookFunctor' except this file"https://github.com/sinojelly/mockcpp/blob/master/tests/ut/TestNonvirtualMethodMocker.h" May I ignore something important? or what's wrong happed? |
Does mockcpp support virtual functions? It is not pure virtual functions. |
I think it does. |
i try to mock a nonvirtual member function, but it show me error like this:
i want to know below information:
The text was updated successfully, but these errors were encountered: