Commit graph

25 commits

Author SHA1 Message Date
Alexander Grund
0d4a9f1e33
Remove std::bind1st test for C++17 2025-06-09 14:18:33 +02:00
Alexander Grund
df10c59d21
Rename MOCK_PROTECT_FUNCTION_SIG to MOCK_PROTECT_SIGNATURE
Shorter and avoids the abbreviation
2022-01-25 18:05:06 +01:00
Alexander Grund
95ec79f8f1
Enhance formatting in reference.cpp
Due to the maximum line length some line breaks made the examples ugly.
Move the comments in front of the code for those.
2022-01-25 17:41:57 +01:00
Alexander Grund
3d5ac2b94a
Remove support for BOOST_IDENTITY_TYPE
MOCK_PROTECT_FUNCTION_SIG should be used instead which even requires less parentheses.
Closes #109
2022-01-25 17:32:22 +01:00
Alexander Grund
51fcd4f4b9
Remove usage of BOOST_IDENTITY_TYPE from official docs
Replaced by MOCK_PROTECT_FUNCTION_SIG
2022-01-25 16:07:19 +01:00
Alexander Grund
bd0a4cfc73
Reduce exposed interface (macros)
Move implementation details to mock_impl.hpp and remove MOCK_*_TPL macros.
Make sure all exposed macros (in mock.hpp) are properly documented.
Closes #105
2022-01-24 19:03:15 +01:00
Alexander Grund
ee72e8b9d8
Format code using Clang-Format 10 and enforce via CI
Makes the format of the code base uniform.
2022-01-24 16:30:59 +01:00
Alexander Grund
c7873cde4b
Adress review comments 2022-01-07 17:08:16 +01:00
Alexander Grund
66a046469a
"notok" -> "not ok" 2022-01-07 17:08:15 +01:00
Alexander Grund
c2617ba360
Update from deprecated unit test header inclusion 2022-01-07 17:08:14 +01:00
Alexander Grund
5ef17d0e33
Include examples in CI tests
Also fix and update examples and documentation where required
This allows to make sure examples are actually runnable avoiding them to
become outdated
2022-01-07 17:08:13 +01:00
Alexander Grund
a426e02759
Replace Boost.Bind by std::bind and lambdas 2022-01-07 17:08:12 +01:00
Alexander Grund
35e43d58a6
Use std::reference_wrapper instead of boost 2022-01-07 17:08:12 +01:00
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
Mathieu Champlon
a178fc442a Removed stdcall tests and examples for all compilers but msvc 2018-04-08 15:16:48 +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
d1e0c96ff3 Document how actions store data by copy 2015-04-09 07:14:18 +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
6a976067db Removed example compilation for compilers without lambda support 2015-03-22 22:09:09 +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
Renamed from build/boost/doc/example/reference.cpp (Browse further)