Alexander Grund
e26601672e
Remove ASSERT_VERIFY_FAIL macro from static_objects_problem
2022-01-07 17:08:17 +01:00
Alexander Grund
e43059423e
Remove test-artifact from user visible part of how_to_invoke_a_functor_passed_as_parameter_of_a_mock_method
...
Only show what is required
2022-01-07 17:08:16 +01:00
Alexander Grund
728dfd06eb
Remove user(doc) visible change to zero_plus_zero_is_zero_with_action
...
Tests via Fixture::teardown that the assertion is fulfilled
2022-01-07 17:08:16 +01:00
Alexander Grund
40a4b3ceb4
Add documentation about unwrap_ref back and add example
2022-01-07 17:08:16 +01:00
Alexander Grund
cf5ac87499
Remove support for auto_ptr
2022-01-07 17:08:16 +01:00
Alexander Grund
c7873cde4b
Adress review comments
2022-01-07 17:08:16 +01:00
Alexander Grund
279bb2c767
Fix memory include
2022-01-07 17:08:16 +01:00
Alexander Grund
66a046469a
"notok" -> "not ok"
2022-01-07 17:08:15 +01:00
Alexander Grund
d21f78edf1
Remove "using namespace mock_test" from patterns_retrieve_cref.cpp
2022-01-07 17:08:15 +01:00
Alexander Grund
476c1a7831
Remove some superflous typedefs and default impls
2022-01-07 17:08:15 +01:00
Alexander Grund
d9f9fce6fc
Make action classes non-relocatable
...
This fixes an issue with auto_ptr. As shown by missing coverage the
actual copy/move ctors are not required as C++11 emplace functions can
be used.
Furthermore some places using shared_ptr could be replaced by unique_ptr
leading to better performance.
2022-01-07 17:08:15 +01:00
Alexander Grund
f3d6564d2b
Use make_* functions instead of new
2022-01-07 17:08:15 +01:00
Alexander Grund
558e1ca135
Don't error when TURTLE_AUTO_PTR=ON
2022-01-07 17:08:15 +01:00
Alexander Grund
492e6281d7
Avoid unused paramter warning in example
2022-01-07 17:08:14 +01:00
Alexander Grund
91b738da27
Avoid Boost.Bind deprecation warning
2022-01-07 17:08:14 +01:00
Alexander Grund
c2617ba360
Update from deprecated unit test header inclusion
2022-01-07 17:08:14 +01:00
Alexander Grund
d9a10afc12
Include definition for void_t to avoid dependency on Boost 1.64+
2022-01-07 17:08:14 +01:00
Alexander Grund
823fd994ff
Remove some Boost.PP stuff
2022-01-07 17:08:14 +01:00
Alexander Grund
04dff97fde
Use explicit streaming ops instead of Boost.LexicalCast
2022-01-07 17:08:14 +01:00
Alexander Grund
898a5a4524
Document and improve is_functor
2022-01-07 17:08:13 +01:00
Alexander Grund
446e70be53
Remove boost::result_of
2022-01-07 17:08:13 +01:00
Alexander Grund
9af9f0e2ea
Replace Boost.TypeInfo
2022-01-07 17:08:13 +01:00
Alexander Grund
6702d68940
Use range-based for-loops
2022-01-07 17:08:13 +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
a6aa140148
Remove superflous test instantiations
2022-01-07 17:08:12 +01:00
Alexander Grund
ed8c58d813
Remove Boost.Typeof
2022-01-07 17:08:12 +01:00
Alexander Grund
908ca385b9
Add docstrings to mock.hpp
2022-01-07 17:08:12 +01:00
Alexander Grund
52d21a86af
Get rid of BOOST_IDENTITY_TYPE
2022-01-07 17:08:12 +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
35fa6e63e6
Use std smart pointers in code
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
f154a1a22a
Assume existance of smart pointers
2022-01-07 17:08:11 +01:00
Alexander Grund
3b3700fda6
Assume support for variadic macros
2022-01-07 17:08:11 +01:00
Alexander Grund
f678f4d91f
Assume nullptr existance
2022-01-07 17:08:10 +01:00
Alexander Grund
cf330e8c86
Remove usage of Boost.MPL and reduce Boost.FunctionTypes usage
...
They are known to be slow on compilation and C++11 offer better alternatives
2022-01-07 17:08:10 +01:00
Alexander Grund
df5b77af95
Replace Boost.TypeTraits by std equivalents
2022-01-07 17:08:10 +01:00
Alexander Grund
9e664b52ab
Replace Boost.Move by std equivalents
2022-01-07 17:08:10 +01:00
Mathieu Champlon
b86100a667
Merge pull request #102 from jonesmz/patch-1
...
Fix deprecation warning about implicit copy constructor
2021-08-17 06:15:34 +02:00
Michael Jones
6c3ec0d785
Fix deprecation warning about implicit copy constructor
2021-08-16 17:12:03 -05:00
Mathieu Champlon
bfd1701fcb
Merge pull request #96 from Flamefire/update_changelog
...
Add changelog for auto deducing method sig
2020-08-31 19:02:40 +02:00
Alexander Grund
139918dc35
Add changelog for auto deducing method sig
2020-08-12 17:11:19 +02:00
Mathieu Champlon
931345c722
Merge pull request #95 from Flamefire/mock_method_wo_sig
...
Auto-deduce method sig in MOCK_METHOD_(NON)CONST
2020-08-03 07:30:39 +02:00
Mathieu Champlon
08213cd723
Merge pull request #92 from Flamefire/clean_build_dir
...
Clean build dir
2020-08-03 07:29:48 +02:00
Alexander Grund
675969eafd
Auto-deduce method sig in MOCK_METHOD_(NON)CONST
...
Fixes #93
2020-07-27 17:05:05 +02:00
Alexander Grund
1083954cfe
Remove remaining references to Boost.Mock
2020-07-16 13:08:46 +02:00
Alexander Grund
01013cce2f
Only use BOOST_ROOT
2020-07-16 12:59:05 +02:00
Alexander Grund
32d16f773b
Clean and remove build directory
...
Move scripts into scripts folder
Move doc-stuff into docs
Update CI & CMake scripts
See #89
2020-07-16 12:56:23 +02:00