Commit graph

112 commits

Author SHA1 Message Date
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
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
mat007
0a796db220 Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@115 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-09 20:47:08 +00:00
mat007
0bcfffcc03 Added support for Boost.Phoenix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@113 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-04 07:40:26 +00:00
mat007
05f7625d1c Added mock::contain constraint
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@109 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-01 22:41:16 +00:00
mat007
89d972bda5 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@108 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-01 22:01:20 +00:00
mat007
a1149fe872 Added formatting specializations for Boost.Assign
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@107 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-01 21:49:15 +00:00
mat007
cf9bb5d89b Added formatting specializations for common std types
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@106 860be788-9bd5-4423-9f1e-828f051e677b
2010-01-31 22:50:44 +00:00
mat007
a6a3639055 Merged experimental features branch
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@104 860be788-9bd5-4423-9f1e-828f051e677b
2010-01-30 10:11:18 +00:00
mat007
92e13e815e Fix for gcc 4.x
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@103 860be788-9bd5-4423-9f1e-828f051e677b
2010-01-29 21:10:24 +00:00
mat007
4d2a30b176 Tuned mock::retrieve to provide a better error message when retrieving const data into non-const pointer
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@98 860be788-9bd5-4423-9f1e-828f051e677b
2010-01-22 23:17:41 +00:00
mat007
e07c59c436 Changed the error output to be clearer and more simple
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@96 860be788-9bd5-4423-9f1e-828f051e677b
2010-01-21 16:07:08 +00:00
mat007
f16cd01b18 Fix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@73 860be788-9bd5-4423-9f1e-828f051e677b
2009-12-13 19:07:47 +00:00
mat007
87335f7ab0 Fixed type name extraction for local types
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@72 860be788-9bd5-4423-9f1e-828f051e677b
2009-12-10 23:46:12 +00:00
mat007
eb78cf942e Fixed type name extraction
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@70 860be788-9bd5-4423-9f1e-828f051e677b
2009-12-09 23:08:54 +00:00
mat007
d0bda73778 Better error diagnostic
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@69 860be788-9bd5-4423-9f1e-828f051e677b
2009-12-08 21:52:51 +00:00
mat007
a21ded7948 Replaced object tags with better logs
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@68 860be788-9bd5-4423-9f1e-828f051e677b
2009-12-08 21:52:08 +00:00
mat007
6ff9fc5564 Error policy now customizable and missing result specifications now reported with file name and line
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@67 860be788-9bd5-4423-9f1e-828f051e677b
2009-11-24 22:45:27 +00:00
mat007
51379e7844 Added a macro to help mocking a destructor
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@66 860be788-9bd5-4423-9f1e-828f051e677b
2009-11-21 10:52:41 +00:00
mat007
6354375b7e Better tests
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@65 860be788-9bd5-4423-9f1e-828f051e677b
2009-11-21 10:51:46 +00:00
mat007
a11d327318 Fix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@64 860be788-9bd5-4423-9f1e-828f051e677b
2009-11-19 13:27:21 +00:00
mat007
1c49302e7a Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@61 860be788-9bd5-4423-9f1e-828f051e677b
2009-11-07 10:02:15 +00:00
mat007
f47cc40eae Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@58 860be788-9bd5-4423-9f1e-828f051e677b
2009-10-06 22:23:31 +00:00
mat007
a1ea17ff9f Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@57 860be788-9bd5-4423-9f1e-828f051e677b
2009-09-27 21:19:52 +00:00
mat007
30480d031a Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@56 860be788-9bd5-4423-9f1e-828f051e677b
2009-09-27 20:52:53 +00:00
mat007
8e1499ee61 More work on mock functors
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@55 860be788-9bd5-4423-9f1e-828f051e677b
2009-09-27 19:52:36 +00:00
mat007
ed5ae2b859 Simplification
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@54 860be788-9bd5-4423-9f1e-828f051e677b
2009-09-27 09:26:10 +00:00
mat007
3f118a8164 Merge from refactoring branch
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@53 860be788-9bd5-4423-9f1e-828f051e677b
2009-09-26 13:23:32 +00:00
mat007
64ef3b48dc Fixed a bug in sequence specification
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@25 860be788-9bd5-4423-9f1e-828f051e677b
2009-09-07 07:57:47 +00:00