Commit graph

104 commits

Author SHA1 Message Date
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
mat007
f33f31fb29 Fixed type name extraction involving template classes
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@594 860be788-9bd5-4423-9f1e-828f051e677b
2013-02-05 21:20:37 +00:00
mat007
c2dd320bf4 Fixed type name extraction involving template classes
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@593 860be788-9bd5-4423-9f1e-828f051e677b
2013-01-27 21:54:41 +00:00
mat007
dccc50d3e9 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@592 860be788-9bd5-4423-9f1e-828f051e677b
2013-01-27 17:52:24 +00:00
mat007
4cd3d08e3e Fixed type name extraction involving template classes
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@585 860be788-9bd5-4423-9f1e-828f051e677b
2013-01-20 16:50:37 +00:00
mat007
6d3630f0a2 Moved mock::exception in its own header so that it can be included without the error policy
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@582 860be788-9bd5-4423-9f1e-828f051e677b
2013-01-07 16:16:49 +00:00
mat007
3c0bb8e16e Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@581 860be788-9bd5-4423-9f1e-828f051e677b
2013-01-07 16:16:38 +00:00
mat007
c7a609404f Fixed missing file name and line number in logs
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@576 860be788-9bd5-4423-9f1e-828f051e677b
2012-11-28 21:57:03 +00:00
mat007
2d49f5958f Removed unused include
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@574 860be788-9bd5-4423-9f1e-828f051e677b
2012-11-04 00:57:37 +00:00
mat007
e34534598d Removed obsolete file
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@573 860be788-9bd5-4423-9f1e-828f051e677b
2012-11-04 00:57:30 +00:00
mat007
b2b00f9522 Fixed line width greater than 80
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@569 860be788-9bd5-4423-9f1e-828f051e677b
2012-09-23 20:20:00 +00:00
mat007
a84c66c714 Renamed mock::detail::check to mock::matcher
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@567 860be788-9bd5-4423-9f1e-828f051e677b
2012-09-21 22:19:52 +00:00
mat007
25ccf6078f Replaced std::type_info with boost::detail::sp_typeinfo
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@553 860be788-9bd5-4423-9f1e-828f051e677b
2012-09-02 21:31:24 +00:00
mat007
e38a3ee8ec Fixed potential conflict with macro max
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@551 860be788-9bd5-4423-9f1e-828f051e677b
2012-09-02 08:05:48 +00:00
mat007
0841b2fd16 Changed char* constraint behaviour to be comparable to another char*
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@550 860be788-9bd5-4423-9f1e-828f051e677b
2012-09-02 06:58:01 +00:00
mat007
b323536096 Reverted 547,548
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@549 860be788-9bd5-4423-9f1e-828f051e677b
2012-09-01 22:41:58 +00:00
mat007
48da35fef0 Changed char* constraint behaviour to be comparable to another char*
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@548 860be788-9bd5-4423-9f1e-828f051e677b
2012-09-01 22:21:12 +00:00
mat007
3d9011f99d Changed char* constraint behaviour to be comparable to another char*
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@547 860be788-9bd5-4423-9f1e-828f051e677b
2012-09-01 21:43:49 +00:00
mat007
77a99b8893 Added tests for mock::detail::check
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@544 860be788-9bd5-4423-9f1e-828f051e677b
2012-09-01 17:22:19 +00:00
mat007
4eb67fd831 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@542 860be788-9bd5-4423-9f1e-828f051e677b
2012-08-01 11:19:26 +00:00
mat007
610405b750 Refactored error policy to simplify test frameworks integration
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@536 860be788-9bd5-4423-9f1e-828f051e677b
2012-07-31 10:36:00 +00:00
mat007
032e3b8a70 Removed default error policy keeping only Boost.Test integration
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@535 860be788-9bd5-4423-9f1e-828f051e677b
2012-07-30 14:46:11 +00:00
mat007
0601689503 Removed default error policy keeping only Boost.Test integration
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@534 860be788-9bd5-4423-9f1e-828f051e677b
2012-07-30 14:25:14 +00:00
mat007
cd3886aede Removed default error policy keeping only Boost.Test integration
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@533 860be788-9bd5-4423-9f1e-828f051e677b
2012-07-30 13:46:35 +00:00
mat007
61ee9e04a6 Reverted move to phoenix v3 because of :
https://svn.boost.org/trac/boost/ticket/7165
https://svn.boost.org/trac/boost/ticket/7166
https://svn.boost.org/trac/boost/ticket/7181

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@531 860be788-9bd5-4423-9f1e-828f051e677b
2012-07-30 11:06:27 +00:00
mat007
6774d05f70 Refactored is_functor to use MPL has_xxx
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@530 860be788-9bd5-4423-9f1e-828f051e677b
2012-07-24 07:08:43 +00:00
mat007
9e850fac29 Moved to phoenix v3
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@529 860be788-9bd5-4423-9f1e-828f051e677b
2012-07-24 07:08:27 +00:00