Commit graph

722 commits

Author SHA1 Message Date
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
mat007
456869d82b Updating for Boost 1.42
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@120 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-13 15:02:27 +00:00
mat007
facdfbb6f9 Added text files from root in packaging
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@119 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-09 21:40:51 +00:00
mat007
0e5deb6115 Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@118 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-09 21:24:48 +00:00
mat007
3846651590 Revert
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@117 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-09 21:22:07 +00:00
mat007
25f7489944 Added release informations
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@116 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-09 21:21:19 +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
617ab7965f Fix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@114 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-04 07:49:43 +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
05654f9f5f Merged features branch
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@112 860be788-9bd5-4423-9f1e-828f051e677b
2010-02-01 23:54:20 +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
b9f352e2b0 Removed unnecessary dependencies to boost::function
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@105 860be788-9bd5-4423-9f1e-828f051e677b
2010-01-30 11:24:59 +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
7f7c696505 Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@95 860be788-9bd5-4423-9f1e-828f051e677b
2010-01-21 16:06:01 +00:00
mat007
39456c8f80 Fix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@94 860be788-9bd5-4423-9f1e-828f051e677b
2010-01-18 16:58:06 +00:00
mat007
9bf2170004 Fix to fail tests for untriggered expectations and failed verifications
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@91 860be788-9bd5-4423-9f1e-828f051e677b
2010-01-05 16:41:00 +00:00
mat007
8dc4b99bff Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@90 860be788-9bd5-4423-9f1e-828f051e677b
2010-01-05 16:39:23 +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
618206f410 Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@71 860be788-9bd5-4423-9f1e-828f051e677b
2009-12-10 23:34:26 +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
b3ece38963 Reverted 62 as it fails to compile if a method is protected
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@63 860be788-9bd5-4423-9f1e-828f051e677b
2009-11-09 14:36:36 +00:00
mat007
d0d0be1793 Workaround for spurious msvc warning C4505, see http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=324427
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@62 860be788-9bd5-4423-9f1e-828f051e677b
2009-11-07 10:03:24 +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
9e9abdd528 Support for Boost.Lambda
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@60 860be788-9bd5-4423-9f1e-828f051e677b
2009-10-10 12:17:12 +00:00
mat007
b3a72751d8 Fixed naming clash
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@59 860be788-9bd5-4423-9f1e-828f051e677b
2009-10-08 15:25:30 +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
be0af3d224 Wrapped exceptions with boost::enable_current_exception
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@36 860be788-9bd5-4423-9f1e-828f051e677b
2009-09-11 12:26:46 +00:00
mat007
259c070288 Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@28 860be788-9bd5-4423-9f1e-828f051e677b
2009-09-07 20:32:59 +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