Commit graph

873 commits

Author SHA1 Message Date
Mathieu Champlon
860e072439 Fixed perfect forwarding bug 2018-03-17 22:20:04 +01:00
Mathieu Champlon
062d465ba5
Merge pull request #38 from mat007/fix-appveyor-build
Fixed xsltproc install in appveyor
2018-03-13 21:13:16 +01:00
Mathieu Champlon
09ab475928 Fixed xsltproc install in appveyor 2018-03-13 18:38:48 +01:00
Mathieu Champlon
86acef882c
Merge pull request #37 from mat007/fix-appveyor-build
Fixed xsltproc install in appveyor
2018-03-13 13:36:48 +01:00
Mathieu Champlon
a1cfc0c0b1 Fixed xsltproc install in appveyor 2018-03-13 09:25:32 +01:00
Mathieu Champlon
176b9bdc01
Merge pull request #35 from mat007/support-move-only-types-as-arguments
Support move only types as arguments
2018-03-12 19:21:54 +01:00
Mathieu Champlon
bccd3ff303 Added support for move only types to constraints
Therefore mock::retrieve now supports std::unique_ptr.
2018-03-12 08:34:28 +01:00
Mathieu Champlon
5795f4be70 Added Visual Studio Code configuration folder to gitignore 2018-03-12 08:33:59 +01:00
Mathieu Champlon
5d11db0f52 Added support for dereferencing in mock::equal 2018-03-12 08:33:53 +01:00
Mathieu Champlon
a2d36e961a Fixed move-only type support in constraints 2018-03-12 08:11:33 +01:00
Mathieu Champlon
d3a5d3010c Fixed move-only type argument in actions
Because boost::function does not move the parameters it receives we need to use std::function instead.
2018-03-12 08:11:33 +01:00
Mathieu Champlon
58b5e55bb5 Fixed alignement 2018-03-12 08:11:32 +01:00
Mathieu Champlon
5ede8262fd
Merge pull request #19 from mat007/fix-appveyor-build
Fix appveyor build
2018-03-09 14:26:21 +01:00
Mathieu Champlon
2a48aa1787 Added appveyor build script 2018-03-09 06:42:08 +01:00
Mathieu Champlon
61d101dd8b Updated c++ versions to check against 2018-03-08 09:38:00 +01:00
Mathieu Champlon
179c26946c Added mock functor in namespace test 2018-03-08 09:36:57 +01:00
Mathieu Champlon
ed2a22a691
Merge pull request #36 from mat007/fix-travis-cxxflags
Fixed travis cxxflags
2018-01-20 19:45:37 +01:00
Mathieu Champlon
9732acce78 Fixed travis cxxflags 2018-01-20 14:13:52 +01:00
Mathieu Champlon
15285a22ec Cleaned code 2018-01-15 05:23:15 +01:00
Mathieu Champlon
afffdb470a Fixed readme 2017-05-30 16:15:09 +02:00
Mathieu Champlon
6102a8202a Merge pull request #32 from mat007/catch-integration
Added Catch integration
2017-05-30 16:09:44 +02: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
5e11124901 Merge pull request #30 from mat007/no-auto-ptr-config-option
Added MOCK_NO_AUTO_PTR to deactivate std::auto_ptr support
2017-03-20 16:07:41 +01:00
Mathieu Champlon
a22ca57253 Added MOCK_NO_AUTO_PTR to deactivate std::auto_ptr support 2017-03-20 11:43:18 +01:00
Mathieu Champlon
238fff3fe2 Merge pull request #28 from mat007/fix-mocking-a-returned-reference
Fix mocking a function returning a reference
2017-01-15 17:14:51 +01:00
Mathieu Champlon
c847c85a77 Fixed mocking of a function returning a reference for gcc 4.1 2017-01-15 12:50:11 +01:00
Mathieu Champlon
39e77bb49b Removed obsolete include 2017-01-15 12:41:17 +01:00
Mathieu Champlon
deb00fc0d1 Merge pull request #26 from mat007/use-identity-type
Removed link from code comment
2016-07-18 08:54:00 +02:00
Mathieu Champlon
cbb96523ea Removed link from code comment 2016-07-18 08:51:43 +02:00
Mathieu Champlon
34661258b7 Merge pull request #25 from mat007/use-identity-type
Use identity type
2016-07-18 08:36:50 +02:00
Mathieu Champlon
5d22e09c14 Clarified target description to include packaging 2016-07-18 07:38:37 +02:00
Mathieu Champlon
779d695490 Fixed line length greater than 80 characters 2016-07-17 23:28:05 +02:00
Mathieu Champlon
28b010cff2 Updated version number 2016-07-17 23:23:35 +02:00
Mathieu Champlon
0bf55ff7f5 Fixed links to Boost.Test documentation 2016-07-17 23:23:15 +02:00
Mathieu Champlon
3a8c3b5d56 Updated example to use BOOST_IDENTITY_TYPE 2016-07-17 23:22:52 +02:00
Mathieu Champlon
1fa9bc1288 Merge pull request #24 from mat007/fix-vs2015-mock-functor
Fix vs2015 mock functor
2016-07-16 21:44:23 +02:00
Mathieu Champlon
94bedbd653 Removed round parenthesis in signature support for compilers without variadic macros
VS2015 has fixed the double parenthesis trick which was allowed in function signatures.
2016-07-16 13:46:17 +02:00
Mathieu Champlon
f052ea4c89 Updated project files to VS2015 2016-07-15 22:53:56 +02:00
Mathieu Champlon
78aa12a18d Updated release version 2016-02-09 09:26:20 +01:00
Mathieu Champlon
d62c1f578d Merge pull request #23 from mat007/fix-boost-optional-for-non-serializable-type
Fix boost optional for non serializable type
2016-02-08 12:50:16 +01:00
Mathieu Champlon
506e10f76a Added logging support for boost::optional 2016-02-08 11:25:17 +01:00
Mathieu Champlon
c35b76c8f0 Removed unneeded inline 2016-02-08 10:02:10 +01:00
Mathieu Champlon
121c682d41 Fixed typo in test case names 2016-02-08 10:02:08 +01:00
Mathieu Champlon
8877761ecb Merge pull request #22 from mat007/fix-semicolon
Fixed extra semicolon warning with BOOST_GLOBAL_FIXTURE prior to Boost 1.59
2016-02-07 20:40:25 +01:00
Mathieu Champlon
ffcb366633 Fixed extra semicolon warning with BOOST_GLOBAL_FIXTURE prior to Boost 1.59 2016-02-07 18:34:23 +01:00
Mathieu Champlon
ff5d8e223e Merge pull request #18 from mat007/static-mock-objects-pattern
Static mock objects pattern
2016-02-07 18:24:16 +01:00
Mathieu Champlon
ad23255840 Added links to the pattern section 2015-10-10 11:47:12 +02:00
Mathieu Champlon
09214ae3f8 Used local docbook packages 2015-10-10 10:04:20 +02:00
Mathieu Champlon
4f0431842f Documented how to manage static objects 2015-10-09 22:38:37 +02:00