C++ mock object library for Boost http://turtle.sourceforge.net
Find a file
Mathieu Champlon 4455222a62 Removed support for directly mocking a protected member function
Taking a function pointer on a base member protected function is actually invalid.
This could work with a pointer on the derived class member function, that is &derived::method instead of &base::method however there is no way to pass the derived class from MOCK_BASE_CLASS to the mock::detail::base helper if template classes are to be supported.

Anyway the now documented workaround is simple enough and the same as for private member functions.

As a side note the changes from ed36823235 might not be needed any more…
2018-04-08 15:16:49 +02:00
build Fixed shell build script to exit upon error 2018-04-08 15:16:48 +02:00
doc Removed support for directly mocking a protected member function 2018-04-08 15:16:49 +02:00
include/turtle Removed support for directly mocking a protected member function 2018-04-08 15:16:49 +02:00
test Removed support for directly mocking a protected member function 2018-04-08 15:16:49 +02:00
.gitignore Added Visual Studio Code configuration folder to gitignore 2018-03-12 08:33:59 +01:00
.travis.yml Added clang for travis 2018-04-08 15:16:48 +02:00
appveyor.yml Added /std:cxx?? to appveyor builds 2018-03-25 09:30:13 +02:00
index.html Changed layout to match boost 2015-03-06 06:41:12 +01:00
Jamfile.v2 Changed layout to match boost 2015-03-06 06:41:12 +01:00
Jamroot.jam Changed layout to match boost 2015-03-06 06:41:12 +01:00
LICENSE_1_0.txt Changed layout to match boost 2015-03-06 06:41:12 +01:00
README.md Added appveyor build script 2018-03-09 06:42:08 +01:00

Turtle

Turtle is a C++ mock object library based on Boost with a focus on usability, simplicity and flexibility.

Distributed under the Boost Software License, Version 1.0.

Build Status Build status Coverage Status