mockitopp icon indicating copy to clipboard operation
mockitopp copied to clipboard

"exactly"behavior verification throws error.

Open GoogleCodeExporter opened this issue 9 years ago • 1 comments

Hi,

I am using "exactly" behavior as seen in this page:
https://code.google.com/p/mockitopp/source/browse/trunk/test/src/test_verify.cpp
?r=138

My code: ASSERT_TRUE(mock_splice(&TestInterface::kill).atLeast(1);

Following error occurs:

 error: 'mockitopp::detail::dynamic_vfunction_base' is not an accessible base of 'mockitopp::detail::dynamic_vfunction<void (TestInterface::*)()>'
/usr/include/mockitopp/detail/stubbing/dynamic_vfunction.hpp:43:15: error: 
'bool mockitopp::detail::dynamic_vfunction_base::atLeast(int) const' is 
inaccessible

Pls share your inputs.

Thanks

Original issue reported on code.google.com by [email protected] on 10 May 2014 at 12:57

GoogleCodeExporter avatar Mar 19 '15 03:03 GoogleCodeExporter

Dupe of issue : https://code.google.com/p/mockitopp/issues/detail?id=11

Original comment by [email protected] on 10 May 2014 at 5:43

GoogleCodeExporter avatar Mar 19 '15 03:03 GoogleCodeExporter