Commit graph

98 commits

Author SHA1 Message Date
mat007
9a74e73a03 Added support for boost::cref and boost::ref in built-in constraints and mock::format
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@284 860be788-9bd5-4423-9f1e-828f051e677b
2011-04-05 22:11:08 +00:00
mat007
57848d082c Added support for boost::cref and boost::ref in built-in constraints and mock::format
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@283 860be788-9bd5-4423-9f1e-828f051e677b
2011-04-05 21:08:36 +00:00
mat007
29975de820 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@278 860be788-9bd5-4423-9f1e-828f051e677b
2011-03-21 21:48:28 +00:00
mat007
76a5c5b3ec Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@277 860be788-9bd5-4423-9f1e-828f051e677b
2011-03-21 21:43:04 +00:00
mat007
6fb5d614b4 Fix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@276 860be788-9bd5-4423-9f1e-828f051e677b
2011-03-20 23:23:17 +00:00
mat007
acc660f2a3 Merged logging branch
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@275 860be788-9bd5-4423-9f1e-828f051e677b
2011-03-20 23:13:35 +00:00
mat007
581635e910 Fix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@264 860be788-9bd5-4423-9f1e-828f051e677b
2011-03-18 22:43:10 +00:00
mat007
f0dd37cb39 Fix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@263 860be788-9bd5-4423-9f1e-828f051e677b
2011-03-18 21:50:41 +00:00
mat007
fc53abcea0 Reworked logging (again)
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@262 860be788-9bd5-4423-9f1e-828f051e677b
2011-03-18 21:33:50 +00:00
mat007
96cfc3d2c8 Reverted 254
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@255 860be788-9bd5-4423-9f1e-828f051e677b
2011-03-13 17:22:12 +00:00
mat007
bc0da4c319 Reworked logging
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@254 860be788-9bd5-4423-9f1e-828f051e677b
2011-03-12 09:45:45 +00:00
mat007
8550353e63 Changed operator<< + mock::formatter into format + mock::protect
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@252 860be788-9bd5-4423-9f1e-828f051e677b
2011-03-08 18:49:15 +00:00
mat007
374cc95c0d Removed is_comparable which is sometimes ambiguous
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@251 860be788-9bd5-4423-9f1e-828f051e677b
2011-02-21 18:24:30 +00:00
mat007
39ccffb881 Removed is_comparable which is sometimes ambiguous
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@250 860be788-9bd5-4423-9f1e-828f051e677b
2011-02-21 18:23:31 +00:00
mat007
cf221b928f Logging through operator<< does not perform conversions
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@249 860be788-9bd5-4423-9f1e-828f051e677b
2011-02-21 08:15:01 +00:00
mat007
b61191a718 Documented and tested container detection override
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@247 860be788-9bd5-4423-9f1e-828f051e677b
2011-02-20 22:45:22 +00:00
mat007
1c689400a0 Refactoring to work around g++ 4.3.2
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@246 860be788-9bd5-4423-9f1e-828f051e677b
2011-02-20 00:45:58 +00:00
mat007
171accfe27 Merged logging branch
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@245 860be788-9bd5-4423-9f1e-828f051e677b
2011-02-19 22:10:22 +00:00
mat007
4450ea0330 Reverted 220
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@221 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-30 08:42:23 +00:00
mat007
f7be6ea503 Merged the logging branch
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@220 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-29 21:34:45 +00:00
mat007
771d1ef783 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@209 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-28 14:26:58 +00:00
mat007
81244305ce Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@207 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-22 18:40:47 +00:00
mat007
9934924853 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@202 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-21 14:53:12 +00:00
mat007
6e8ed29462 Fix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@191 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-15 11:24:52 +00:00
mat007
f4ceb3cdfc Fixed a regression with mock::any needing the parameter type to be defined instead of only declared
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@190 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-15 10:03:31 +00:00
mat007
bd648e0579 Refactored to use Boost.Phoenix only if required (e.g. more than 9 parameters) and Boost.Bind instead because it uses a lot less of memory when compiling
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@188 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-14 17:09:18 +00:00
mat007
6095fa1dee Removed dependency to Boost.Algorithm
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@185 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-14 10:44:21 +00:00
mat007
2b5385be40 Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@184 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-13 21:35:52 +00:00
mat007
be891a6480 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@182 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-11 07:49:56 +00:00
mat007
defa340505 Renamed mock::constraint to mock::call
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@181 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-10 22:19:45 +00:00
mat007
3b6e4f6d37 Refactored constraints
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@179 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-10 22:14:31 +00:00
mat007
176611c735 Enhanced custom constraints support
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@178 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-10 14:22:32 +00:00
mat007
0377bccad2 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@171 860be788-9bd5-4423-9f1e-828f051e677b
2010-07-29 05:40:46 +00:00
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
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
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
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
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
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
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
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