Commit graph

26 commits

Author SHA1 Message Date
Alexander Grund
353849e9ad
Use default/delete for ctor/dtor 2022-01-07 17:08:11 +01:00
Alexander Grund
2f72d5639e
Assume existance of lambdas 2022-01-07 17:08:11 +01:00
Alexander Grund
9faab7749c
Assume existance of <functional> 2022-01-07 17:08:11 +01:00
Alexander Grund
f678f4d91f
Assume nullptr existance 2022-01-07 17:08:10 +01:00
Simon Giesecke
c22f19801b Made example method actually protected 2019-04-11 11:04:52 +02:00
Alexander Grund
f402c6161e Fix C++98 compatibility 2018-11-22 10:12:00 +01:00
Mathieu Champlon
a2647d00e9 Fixed gcc build error 2018-04-08 15:16:49 +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
Mathieu Champlon
a178fc442a Removed stdcall tests and examples for all compilers but msvc 2018-04-08 15:16:48 +02:00
Mathieu Champlon
5d11db0f52 Added support for dereferencing in mock::equal 2018-03-12 08:33:53 +01:00
Mathieu Champlon
2a635f1ef6 Fixed documentation issues 2017-05-29 09:12:16 +02:00
Mathieu Champlon
6daff2167c Added Catch integration 2017-05-29 09:12:03 +02:00
Mathieu Champlon
cbb96523ea Removed link from code comment 2016-07-18 08:51:43 +02:00
Mathieu Champlon
3a8c3b5d56 Updated example to use BOOST_IDENTITY_TYPE 2016-07-17 23:22:52 +02:00
Mathieu Champlon
4f0431842f Documented how to manage static objects 2015-10-09 22:38:37 +02:00
Mathieu Champlon
d1e0c96ff3 Document how actions store data by copy 2015-04-09 07:14:18 +02:00
Mathieu Champlon
12a252a850 Documented limitation concerning MOCK_METHOD_TPL 2015-04-08 21:29:50 +02:00
Mathieu Champlon
fd78c134b7 Added error diagnostic for a missing action 2015-04-04 22:02:30 +02:00
Mathieu Champlon
1f1e143b06 Added an example demonstrating one constraint for multiple arguments. 2015-04-02 06:52:58 +02:00
Mathieu Champlon
d633f916dd Fixed constructor example 2015-03-30 06:45:01 +02:00
Mathieu Champlon
f4efa9b02e Fixed ambiguous function call with gcc 2015-03-23 07:39:43 +01:00
Mathieu Champlon
6a976067db Removed example compilation for compilers without lambda support 2015-03-22 22:09:09 +01:00
Mathieu Champlon
e5b8a19628 Fixed limitation example code 2015-03-19 06:53:39 +01:00
Mathieu Champlon
dfa3cb44e6 Fixed documentation typos 2015-03-14 16:21:09 +01:00
Mathieu Champlon
caf39083e4 Fixed class name conflicting with the mock namespace 2015-03-14 07:26:06 +01:00
Mathieu Champlon
c950c24f52 Changed layout to match boost 2015-03-06 06:41:12 +01:00