Commit graph

20 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
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
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
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
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
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
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
4a128a0221 Moved some components into a detail sub-directory
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@478 860be788-9bd5-4423-9f1e-828f051e677b
2012-07-22 06:51:19 +00:00
mat007
ec1f6a4738 Changed file headers to simplify Boost.Mock generation
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@466 860be788-9bd5-4423-9f1e-828f051e677b
2012-06-16 20:44:10 +00:00
mat007
3358ddda0e Changed project layout
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@460 860be788-9bd5-4423-9f1e-828f051e677b
2012-06-15 21:14:48 +00:00
Renamed from libs/turtle/test/test_mock.cpp (Browse further)