turtle/doc
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
..
example Removed support for directly mocking a protected member function 2018-04-08 15:16:49 +02:00
html Moved part of the build out of build.xml 2015-03-13 21:59:22 +01:00
acknowledgements.qbk Added Catch integration 2017-05-29 09:12:03 +02:00
changelog.qbk Fixed deprecation warning about std::uncaught_exception in c++17 for msvc 2018-03-25 09:46:40 +02:00
customization.qbk Added Catch integration 2017-05-29 09:12:03 +02:00
getting_started.qbk Added error diagnostic for a missing action 2015-04-04 22:02:30 +02:00
Jamfile.jam Changed layout to match boost 2015-03-06 06:41:12 +01:00
limitations.qbk Removed support for directly mocking a protected member function 2018-04-08 15:16:49 +02:00
mock.qbk Changed layout to match boost 2015-03-06 06:41:12 +01:00
motivation.qbk Changed layout to match boost 2015-03-06 06:41:12 +01:00
patterns.qbk Documented how to manage static objects 2015-10-09 22:38:37 +02:00
rationale.qbk Changed layout to match boost 2015-03-06 06:41:12 +01:00
reference.qbk Added support for dereferencing in mock::equal 2018-03-12 08:33:53 +01:00