Commit graph

130 commits

Author SHA1 Message Date
mat007
4142f8dec2 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@698 860be788-9bd5-4423-9f1e-828f051e677b
2013-11-25 06:50:39 +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
82a0d3b146 Fix for clang
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@691 860be788-9bd5-4423-9f1e-828f051e677b
2013-08-31 08:11:21 +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
df5bb8cf3c Added workaround for when msvc defines small and near macros
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@688 860be788-9bd5-4423-9f1e-828f051e677b
2013-08-14 09:55:58 +00:00
mat007
34a4e00031 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@685 860be788-9bd5-4423-9f1e-828f051e677b
2013-08-13 21:43:54 +00:00
mat007
5366ebf3df Renaming
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@684 860be788-9bd5-4423-9f1e-828f051e677b
2013-08-13 21:43:45 +00:00
mat007
8189ba27a8 Fix for clang
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@683 860be788-9bd5-4423-9f1e-828f051e677b
2013-08-13 21:43:37 +00:00
mat007
616692f3e5 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@682 860be788-9bd5-4423-9f1e-828f051e677b
2013-08-13 21:43:27 +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
dfa375f8c9 Fixed line too long
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@678 860be788-9bd5-4423-9f1e-828f051e677b
2013-07-09 10:05:02 +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
c293fbed63 Fixed line length greater than 80 characters
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@669 860be788-9bd5-4423-9f1e-828f051e677b
2013-06-05 06:15:53 +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
24530c4e3c Fixed regression
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@664 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-21 06:28:30 +00:00
mat007
0577e506c6 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@661 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-20 10:49:22 +00:00
mat007
400aaddf9a Generalized to MOCK_CONSTRAINT
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@660 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-20 10:49:17 +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
c8072405c8 Added MOCK_TERNARY_CONSTRAINT helper macro
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@658 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-20 10:49:03 +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
42c2c4e6a4 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@647 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-12 08:59:11 +00:00
mat007
4faf23b2b1 Fixed constraint helpers to be usable in any namespace
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@644 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-12 08:58:49 +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
5711c04ef8 Fixed build
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@637 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-03 20:51:14 +00:00
mat007
54c08c53a6 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@636 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-03 20:18:05 +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
4ee2837dcd Replaced new with boost::make_shared
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@634 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-03 20:16:50 +00:00
mat007
2810694971 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@627 860be788-9bd5-4423-9f1e-828f051e677b
2013-04-23 22:48:35 +00:00
mat007
3eab54539a Added missing include
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@625 860be788-9bd5-4423-9f1e-828f051e677b
2013-04-14 13:46:43 +00:00
mat007
92842e9087 Added include to config.hpp everywhere to prevent configuration variable mismatch
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@624 860be788-9bd5-4423-9f1e-828f051e677b
2013-04-14 07:04:12 +00:00
mat007
59b9eb8f42 Fixed shadowed template parameter
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@622 860be788-9bd5-4423-9f1e-828f051e677b
2013-04-11 20:26:50 +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
1f767bc1a4 Removed MOCK_METHOD_EXT from disambiguation helper
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@617 860be788-9bd5-4423-9f1e-828f051e677b
2013-04-11 16:23:09 +00:00
mat007
1de757ee5c Changed quotes to angle brackets for Boost.PP iteration
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@616 860be788-9bd5-4423-9f1e-828f051e677b
2013-04-11 16:22:38 +00:00
mat007
02e2b4bbfd Return actions now accept by copy types derived from abstract base types
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@612 860be788-9bd5-4423-9f1e-828f051e677b
2013-03-30 19:11:52 +00:00
mat007
200e293b7f Added MOCK_FUNCTOR_TPL
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@608 860be788-9bd5-4423-9f1e-828f051e677b
2013-03-08 20:40:00 +00:00
mat007
3f9e9a78a7 Fix for gcc 4.4
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@607 860be788-9bd5-4423-9f1e-828f051e677b
2013-03-08 09:51:12 +00:00
mat007
51abd10847 Added MOCK_CONVERSION_OPERATOR_TPL
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@603 860be788-9bd5-4423-9f1e-828f051e677b
2013-03-08 08:00:58 +00:00
mat007
6491d11d19 Added round parenthesis support in function signatures
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@600 860be788-9bd5-4423-9f1e-828f051e677b
2013-03-07 07:17:02 +00:00
mat007
68ae1ada45 Added variadic macro support for MOCK_BASE_CLASS and MOCK_FUNCTOR
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@599 860be788-9bd5-4423-9f1e-828f051e677b
2013-03-07 07:16:52 +00:00
mat007
a1436f26e6 Added variadic macro support for MOCK_FUNCTION and all the MOCK_METHOD family
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@598 860be788-9bd5-4423-9f1e-828f051e677b
2013-03-07 07:16:40 +00:00
mat007
c4ec34e7fa Removed unnecessary semicolon
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@597 860be788-9bd5-4423-9f1e-828f051e677b
2013-03-07 07:16:27 +00:00
mat007
7e7d6fc5fe Fixed type name extraction involving template classes
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@595 860be788-9bd5-4423-9f1e-828f051e677b
2013-02-06 07:07:59 +00:00