Commit graph

45 commits

Author SHA1 Message Date
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
mat007
91ea509797 MOCK_INTERFACE renamed to MOCK_BASE_CLASS
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@19 860be788-9bd5-4423-9f1e-828f051e677b
2009-09-01 14:49:20 +00:00
mat007
60d5c263a6 An expectation is a functor
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@18 860be788-9bd5-4423-9f1e-828f051e677b
2009-09-01 12:25:40 +00:00
mat007
7781ba4e58 Throwing an exception disables the automatic verification upon destruction
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@15 860be788-9bd5-4423-9f1e-828f051e677b
2009-08-30 23:02:45 +00:00
mat007
42d1e5add3 More examples
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@14 860be788-9bd5-4423-9f1e-828f051e677b
2009-08-30 22:33:13 +00:00
mat007
9be6106311 Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@13 860be788-9bd5-4423-9f1e-828f051e677b
2009-08-30 22:32:53 +00:00
mat007
a03f8d7ceb Strings are surrounded with " by mock::format
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@11 860be788-9bd5-4423-9f1e-828f051e677b
2009-08-30 21:42:32 +00:00
mat007
1bee70f758 A boost::lambda functor is now successfully identified by is_functor
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@10 860be788-9bd5-4423-9f1e-828f051e677b
2009-08-30 20:42:11 +00:00
mat007
381430bafd More tests
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@8 860be788-9bd5-4423-9f1e-828f051e677b
2009-08-29 11:40:41 +00:00
mat007
dc72d4c697 Fix for gcc
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@7 860be788-9bd5-4423-9f1e-828f051e677b
2009-08-28 21:11:33 +00:00
mat007
0d0b921d83 Most functors as constraints are detected automatically
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@6 860be788-9bd5-4423-9f1e-828f051e677b
2009-08-28 20:22:26 +00:00
mat007
0da9eb6458 Renaming
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@4 860be788-9bd5-4423-9f1e-828f051e677b
2009-08-26 23:09:30 +00:00
mat007
8e18676b92 Initial import
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@2 860be788-9bd5-4423-9f1e-828f051e677b
2009-08-26 22:02:18 +00:00