Commit graph

100 commits

Author SHA1 Message Date
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
506e10f76a Added logging support for boost::optional 2016-02-08 11:25:17 +01:00
Mathieu Champlon
121c682d41 Fixed typo in test case names 2016-02-08 10:02:08 +01:00
Mathieu Champlon
86371b5695 Fixed multiply defined symbol definition for MOCK_FUNCTION included from several translation units 2015-09-08 09:22:50 +02:00
Mathieu Champlon
ae655b03fe Fixed link issue with gcc 2015-09-08 06:41:39 +02:00
Mathieu Champlon
ed36823235 Added support for mocking protected member function 2015-04-08 21:54:46 +02:00
Mathieu Champlon
12a252a850 Documented limitation concerning MOCK_METHOD_TPL 2015-04-08 21:29:50 +02:00
Mathieu Champlon
c950c24f52 Changed layout to match boost 2015-03-06 06:41:12 +01:00
mat007
02468ee43a Added multi-constraint
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@772 860be788-9bd5-4423-9f1e-828f051e677b
2015-03-01 11:29:03 +00:00
mat007
c37537401c Fixed action for pointer to const data as return type
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@770 860be788-9bd5-4423-9f1e-828f051e677b
2015-03-01 11:28:47 +00:00
mat007
2a88b87682 Dropped support for obsolete phoenix V2
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@760 860be788-9bd5-4423-9f1e-828f051e677b
2014-12-13 20:41:03 +00:00
mat007
6558254c50 Fixed boost::cref invalid for temporary objects
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@759 860be788-9bd5-4423-9f1e-828f051e677b
2014-11-23 10:54:14 +00:00
mat007
d5b216db8e Fixed lambdas conditional compilation
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@754 860be788-9bd5-4423-9f1e-828f051e677b
2014-05-31 12:15:38 +00:00
mat007
5983b75343 Added boost inspect as part of tests run
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@753 860be788-9bd5-4423-9f1e-828f051e677b
2014-05-31 11:35:36 +00:00
mat007
939ca29fb0 Fixed phoenix V2 includes
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@750 860be788-9bd5-4423-9f1e-828f051e677b
2014-05-29 12:22:36 +00:00
mat007
077e046641 Updated to latest boost headers and layout
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@748 860be788-9bd5-4423-9f1e-828f051e677b
2014-05-29 10:17:19 +00:00
mat007
897c0bdac3 Deactivated ICE producing code
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@747 860be788-9bd5-4423-9f1e-828f051e677b
2014-05-29 10:17:08 +00:00
mat007
086a42e432 Added thread-safety
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@730 860be788-9bd5-4423-9f1e-828f051e677b
2014-05-20 05:56:27 +00:00
mat007
cbb4683dde Factorized MOCK_TYPE_NAME
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@725 860be788-9bd5-4423-9f1e-828f051e677b
2014-04-26 07:06:58 +00:00
mat007
c7fef834a3 Removed non-supported MOCK_FUNCTOR test with non-default calling convention
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@709 860be788-9bd5-4423-9f1e-828f051e677b
2014-02-07 14:44:30 +00:00
mat007
53e67c0a81 Changed MOCK_DESTRUCTOR and MOCK_*CONVERSION_OPERATOR to support different calling conventions
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@707 860be788-9bd5-4423-9f1e-828f051e677b
2014-02-07 14:26:21 +00:00
mat007
41605b7bf3 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@703 860be788-9bd5-4423-9f1e-828f051e677b
2014-02-07 14:25:52 +00:00
mat007
0609c6c1fa Forced MOCK_ERROR_POLICY to mock_error across all tests to prevent ODR violation
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@697 860be788-9bd5-4423-9f1e-828f051e677b
2013-11-13 09:42:55 +00:00
mat007
f03c3d96c5 Reverted previous commit
This doesn't work and probably never will.

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@695 860be788-9bd5-4423-9f1e-828f051e677b
2013-11-13 09:42:35 +00:00
mat007
2de2bf1072 Added virtual inheritance for mock::object in MOCK_BASE_CLASS macro
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@694 860be788-9bd5-4423-9f1e-828f051e677b
2013-11-10 13:21:25 +00:00
mat007
86319a23d5 Removed call notifications upon mock object destruction
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@690 860be788-9bd5-4423-9f1e-828f051e677b
2013-08-31 08:11:06 +00:00
mat007
028a3c3650 Renaming
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@687 860be788-9bd5-4423-9f1e-828f051e677b
2013-08-13 22:39:16 +00:00
mat007
e210238932 Fix for gcc
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@686 860be788-9bd5-4423-9f1e-828f051e677b
2013-08-13 22:39:10 +00:00
mat007
392240a87c Added move support in actions
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@681 860be788-9bd5-4423-9f1e-828f051e677b
2013-08-13 21:43:14 +00:00
mat007
171b23479e Fixed fail test
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@679 860be788-9bd5-4423-9f1e-828f051e677b
2013-08-13 21:42:49 +00:00
mat007
808af17eb8 Added logging support for std::unique_ptr, std::shared_ptr and std::weak_ptr
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@677 860be788-9bd5-4423-9f1e-828f051e677b
2013-07-09 08:46:43 +00:00
mat007
068f73b0bc Added support for movable only types as parameters
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@676 860be788-9bd5-4423-9f1e-828f051e677b
2013-07-09 06:58:18 +00:00
mat007
8c26729399 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@675 860be788-9bd5-4423-9f1e-828f051e677b
2013-07-09 06:58:06 +00:00
mat007
4f5090c109 Refactored to introduce MOCK_NULLPTR
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@672 860be788-9bd5-4423-9f1e-828f051e677b
2013-07-06 21:19:20 +00:00
mat007
f97fb87f81 Added MOCK_NO_VARIADIC_MACROS to deactivate variadic macros support
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@668 860be788-9bd5-4423-9f1e-828f051e677b
2013-06-04 22:02:09 +00:00
mat007
8d08012cdf Reworked MOCK_CONSTRAINT to be able to provide names to parameters
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@667 860be788-9bd5-4423-9f1e-828f051e677b
2013-06-04 22:01:57 +00:00
mat007
bd2fc97bb9 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@666 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-21 11:10:34 +00:00
mat007
c697b48802 Fixed regression
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@665 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-21 09:21:52 +00:00
mat007
a6abe0904e Removed unused include
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@662 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-20 10:49:28 +00:00
mat007
8a6edd531e Added floating point comparison constraints
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@659 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-20 10:49:09 +00:00
mat007
8919e56678 Removed duplicate test
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@657 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-20 10:48:54 +00:00
mat007
1320a96179 Added support for nullptr as constraint
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@648 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-12 08:59:25 +00:00
mat007
10073f807e Fixed boost tests
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@646 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-12 08:59:04 +00:00
mat007
ee5ca2eca7 Fixed build
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@639 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-03 21:33:40 +00:00
mat007
01771a9331 Fixed build
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@638 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-03 21:19:52 +00:00
mat007
8d2fb9c94c Added support for several sequences in 'in'
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@635 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-03 20:17:46 +00:00
mat007
48f577182e Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@626 860be788-9bd5-4423-9f1e-828f051e677b
2013-04-23 22:48:25 +00:00
mat007
4afe1d32d4 Added support for C++11 lambdas as constraints
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@620 860be788-9bd5-4423-9f1e-828f051e677b
2013-04-11 16:24:26 +00:00
mat007
8a6e38a642 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@618 860be788-9bd5-4423-9f1e-828f051e677b
2013-04-11 16:23:50 +00:00
mat007
38265da8d1 Replaced _MSC_VER with BOOST_MSVC
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@615 860be788-9bd5-4423-9f1e-828f051e677b
2013-04-11 16:09:40 +00:00