const functions

3 views
Skip to first unread message

amswain

unread,
Oct 29, 2009, 1:38:55 PM10/29/09
to mockitopp-dev
MockObject doesn't work with const functions.

I've fixed in the following two files and uploaded

mockitopp/detail/stubbing/dynamic_vfunction.hpp
mockitopp/detail/stubbing/proxy_vfunction.hpp

Trevor

unread,
Oct 29, 2009, 6:07:07 PM10/29/09
to mockitopp-dev
Thanks for taking the time to provide a fix. I've updated the latest
trunk with support for mocking member functions with const/const
volatile qualifiers and a test case. Let me know if this doesn't
resolve your issues.

Thanks,
Trevor
Reply all
Reply to author
Forward
0 new messages