Commit graph

116 commits

Author SHA1 Message Date
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
mat007
5b2223f571 Removed auto link
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@614 860be788-9bd5-4423-9f1e-828f051e677b
2013-04-11 16:08:44 +00:00
mat007
239f60a7da Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@613 860be788-9bd5-4423-9f1e-828f051e677b
2013-03-30 21:30:35 +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
2b6356c435 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@604 860be788-9bd5-4423-9f1e-828f051e677b
2013-03-08 08:01:10 +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
87ea27b96c Removed duplicated test case
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@602 860be788-9bd5-4423-9f1e-828f051e677b
2013-03-08 08:00:46 +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
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
6c16dd968c Fixed type name extraction involving template classes
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@587 860be788-9bd5-4423-9f1e-828f051e677b
2013-01-24 22:38:51 +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
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
1f7e90f565 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@568 860be788-9bd5-4423-9f1e-828f051e677b
2012-09-21 22: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
3e3746dce5 Fixed missing variable initialization
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@566 860be788-9bd5-4423-9f1e-828f051e677b
2012-09-21 22:19:35 +00:00
mat007
dea0e372d3 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@562 860be788-9bd5-4423-9f1e-828f051e677b
2012-09-21 22:18:58 +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
8aa007af3b Added tests to ensure proper support for boost::result_of
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@552 860be788-9bd5-4423-9f1e-828f051e677b
2012-09-02 21:30:45 +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
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
125f6c2a80 Fixed test_check
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@546 860be788-9bd5-4423-9f1e-828f051e677b
2012-09-01 21:43:27 +00:00
mat007
b4755bdaf4 Worked around gcc bug, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40146
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@545 860be788-9bd5-4423-9f1e-828f051e677b
2012-09-01 17:22:32 +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
cc0a24a939 Trying to work around spurious warning with gcc
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@543 860be788-9bd5-4423-9f1e-828f051e677b
2012-08-01 11:19:42 +00:00
mat007
447e8c9a60 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@538 860be788-9bd5-4423-9f1e-828f051e677b
2012-08-01 07:41:41 +00:00
mat007
9ac46ddd9c Fix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@537 860be788-9bd5-4423-9f1e-828f051e677b
2012-07-31 12:36:11 +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
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
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