Skip to content

"exactly"behavior verification throws error. #17

@GoogleCodeExporter

Description

@GoogleCodeExporter
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 santhosh...@gmail.com on 10 May 2014 at 12:57

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions