Commit graph

5 commits

Author SHA1 Message Date
Alexander Grund
035ad716bf
Add macros to StatementMacros 2020-09-15 14:25:20 +02:00
Alexander Grund
e1ac66a4c1
Make style closer to Mozilla 2020-09-15 14:25:09 +02:00
Alexander Grund
805e3b02bf
Preview of clang-format changes and CI 2020-09-08 09:45:44 +02:00
Simon Giesecke
c22f19801b Made example method actually protected 2019-04-11 11:04:52 +02:00
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
Renamed from doc/example/limitations_private_method.cpp (Browse further)