Commit graph

268 commits

Author SHA1 Message Date
mat007
f3173c7770 Fix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@170 860be788-9bd5-4423-9f1e-828f051e677b
2010-07-28 12:34:16 +00:00
mat007
d63d5d2c1f Fixed MOCK_MAX_ARGS usage to increase to maximum number of arguments of mocked methods
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@169 860be788-9bd5-4423-9f1e-828f051e677b
2010-07-23 13:17:18 +00:00
mat007
542984c2b6 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@168 860be788-9bd5-4423-9f1e-828f051e677b
2010-07-22 13:25:37 +00:00
mat007
0cc0d83d1f Added log info for valid but still not triggered expectations upon a mock object verification on destruction
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@167 860be788-9bd5-4423-9f1e-828f051e677b
2010-07-22 08:47:47 +00:00
mat007
8e9ffc0951 Fix for g++
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@166 860be788-9bd5-4423-9f1e-828f051e677b
2010-07-21 15:50:59 +00:00
mat007
0f33dab444 Removed MOCK_METHOD_TPL tests as it uses non standard code, see http://gcc.gnu.org/onlinedocs/gcc/Name-lookup.html
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@165 860be788-9bd5-4423-9f1e-828f051e677b
2010-07-21 15:14:31 +00:00
mat007
66268d74db Added Boost.Test log info when an expectation is fulfilled
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@164 860be788-9bd5-4423-9f1e-828f051e677b
2010-07-21 07:54:25 +00:00
mat007
e5513654af Fix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@163 860be788-9bd5-4423-9f1e-828f051e677b
2010-07-20 11:56:19 +00:00
mat007
909d546d12 Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@162 860be788-9bd5-4423-9f1e-828f051e677b
2010-06-16 20:31:07 +00:00
mat007
67a3402cb8 Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@161 860be788-9bd5-4423-9f1e-828f051e677b
2010-06-15 22:12:29 +00:00
mat007
606d62323a Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@160 860be788-9bd5-4423-9f1e-828f051e677b
2010-06-15 18:06:23 +00:00
mat007
0d4db2424b Destroying a sequence does not remove order call enforcement anymore
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@159 860be788-9bd5-4423-9f1e-828f051e677b
2010-06-15 18:06:10 +00:00
mat007
df46dec9e0 Added detection for a pointer in mock::assign to dereference it before performing the assignment
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@158 860be788-9bd5-4423-9f1e-828f051e677b
2010-05-31 11:36:05 +00:00
mat007
a4b061184c More explicit template parameter name
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@157 860be788-9bd5-4423-9f1e-828f051e677b
2010-05-08 08:34:27 +00:00
mat007
f9154334cf Fix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@156 860be788-9bd5-4423-9f1e-828f051e677b
2010-05-08 08:34:07 +00:00
mat007
5754f053d8 Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@155 860be788-9bd5-4423-9f1e-828f051e677b
2010-05-07 12:45:36 +00:00
mat007
96a3f6f23a Renaming
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@154 860be788-9bd5-4423-9f1e-828f051e677b
2010-05-07 12:30:13 +00:00
mat007
a5e961c805 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@153 860be788-9bd5-4423-9f1e-828f051e677b
2010-05-07 12:20:28 +00:00
mat007
348c60a757 Renamed error policies no_match method to unexpected_call
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@152 860be788-9bd5-4423-9f1e-828f051e677b
2010-05-07 12:01:07 +00:00
mat007
aa816535b4 Made boost_test_error_policy throw a mock::exception extending boost::execution_aborted (helpful in order to filter on exceptions)
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@151 860be788-9bd5-4423-9f1e-828f051e677b
2010-05-06 16:33:45 +00:00
mat007
62d2766e20 Fully qualifying function calls to prevent ADL
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@150 860be788-9bd5-4423-9f1e-828f051e677b
2010-05-06 16:02:26 +00:00
mat007
352520cde8 Fix for gcc
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@149 860be788-9bd5-4423-9f1e-828f051e677b
2010-04-28 13:41:29 +00:00
mat007
d3f7934e2d Added extra namespace level to protect from unwanted argument lookup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@148 860be788-9bd5-4423-9f1e-828f051e677b
2010-04-27 16:20:52 +00:00
mat007
e390f502b5 Made mock::sequence non copyable
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@147 860be788-9bd5-4423-9f1e-828f051e677b
2010-04-26 17:43:28 +00:00
mat007
a91d0975bc Fixed a crash due to static initialization order fiasco on some platforms
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@146 860be788-9bd5-4423-9f1e-828f051e677b
2010-04-02 09:56:37 +00:00
mat007
f1030c6dfd Fixed a crash due to static initialization order fiasco on some platforms
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@145 860be788-9bd5-4423-9f1e-828f051e677b
2010-04-02 07:56:55 +00:00
mat007
f0fd0428d8 Fixed a crash due to static deinitialization order fiasco on some platforms
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@144 860be788-9bd5-4423-9f1e-828f051e677b
2010-04-01 22:03:43 +00:00
mat007
4647bfd007 Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@143 860be788-9bd5-4423-9f1e-828f051e677b
2010-04-01 21:52:25 +00:00
mat007
8310a5ce96 Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@142 860be788-9bd5-4423-9f1e-828f051e677b
2010-04-01 16:00:17 +00:00
mat007
14a788557b Added support for mocking conversion operators
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@141 860be788-9bd5-4423-9f1e-828f051e677b
2010-03-11 11:26:48 +00:00
mat007
a2cf4dbb02 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@140 860be788-9bd5-4423-9f1e-828f051e677b
2010-03-10 22:43:32 +00:00
mat007
f6f80d4192 Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@139 860be788-9bd5-4423-9f1e-828f051e677b
2010-03-10 22:42:57 +00:00
mat007
a366578b9e Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@138 860be788-9bd5-4423-9f1e-828f051e677b
2010-03-02 23:42:15 +00:00
mat007
1a7fb3dd65 Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@137 860be788-9bd5-4423-9f1e-828f051e677b
2010-03-02 23:06:20 +00:00
mat007
8a34752a83 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@136 860be788-9bd5-4423-9f1e-828f051e677b
2010-03-02 22:44:23 +00:00
mat007
3109a228f0 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@135 860be788-9bd5-4423-9f1e-828f051e677b
2010-03-02 22:13:59 +00:00
mat007
dad638f4ab Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@134 860be788-9bd5-4423-9f1e-828f051e677b
2010-03-01 23:25:23 +00:00
mat007
9a6c43ca6b Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@133 860be788-9bd5-4423-9f1e-828f051e677b
2010-03-01 23:13:43 +00:00
mat007
a21b3d2c2f Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@132 860be788-9bd5-4423-9f1e-828f051e677b
2010-03-01 23:08:25 +00:00
mat007
fb4df4527b Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@131 860be788-9bd5-4423-9f1e-828f051e677b
2010-03-01 23:06:08 +00:00
mat007
d327700205 Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@130 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-21 21:04:43 +00:00
mat007
f02dd801b5 Added concept checks
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@129 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-21 15:08:53 +00:00
mat007
1167f2afca Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@128 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-20 22:26:09 +00:00
mat007
fe3d419f66 Made template parameters names more user friendly in order to provide better diagnostic upon compilation error
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@127 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-20 22:25:49 +00:00
mat007
7325a49c0a Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@126 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-20 20:52:51 +00:00
mat007
05f40c40d5 Fixed expectation argument types to match signature
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@125 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-18 13:44:32 +00:00
mat007
c40535dc91 Shared parent names among their expectations when a mock::object is used as a base class
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@124 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-16 22:20:41 +00:00
mat007
8a2030ce5f Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@123 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-16 17:11:11 +00:00
mat007
058397d415 Fixed maximum number of mocked methods arguments
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@122 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-15 23:23:27 +00:00
mat007
0e8079d47a Prevented a crash when mocking a destructor and throwing out of the object scope
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@121 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-15 22:59:23 +00:00