Commit graph

90 commits

Author SHA1 Message Date
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
e59dbf9e56 More work on error logging tests
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@248 860be788-9bd5-4423-9f1e-828f051e677b
2011-02-21 00:40:52 +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
78befdb9be Added error analyser first draft
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@212 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-29 10:24:46 +00:00
mat007
f230e6b85d Updated include list
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@210 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-29 10:20:36 +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
c1aafd3aa7 Updated include list
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@200 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-19 16:06:30 +00:00
mat007
de3b33ba9b Updated include list
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@198 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-17 23:31:30 +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
7bfe45673e Added dummy application in order to bench the memory required for using the library in a precompiled header
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@186 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-14 17:04:43 +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
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
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
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
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