Commit graph

89 commits

Author SHA1 Message Date
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
mat007
1d13a3fcde Reverting revision 21
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@24 860be788-9bd5-4423-9f1e-828f051e677b
2009-09-06 17:49:13 +00:00
mat007
f98339ea9d Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@21 860be788-9bd5-4423-9f1e-828f051e677b
2009-09-06 14:49:55 +00:00
mat007
44431e359c Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@20 860be788-9bd5-4423-9f1e-828f051e677b
2009-09-01 20:30:23 +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
135846946f Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@17 860be788-9bd5-4423-9f1e-828f051e677b
2009-09-01 10:14:00 +00:00
mat007
8015fb8a9f Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@16 860be788-9bd5-4423-9f1e-828f051e677b
2009-08-31 09:24:23 +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
2502fd8cbf Ignore list
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@12 860be788-9bd5-4423-9f1e-828f051e677b
2009-08-30 22:04:39 +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
f2f1125a1a Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@9 860be788-9bd5-4423-9f1e-828f051e677b
2009-08-29 20:05:37 +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
22d9120dc8 Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@5 860be788-9bd5-4423-9f1e-828f051e677b
2009-08-28 20:07:45 +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
2158163a27 Fix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@3 860be788-9bd5-4423-9f1e-828f051e677b
2009-08-26 22:51:44 +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
mat007
8081e7006f git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@1 860be788-9bd5-4423-9f1e-828f051e677b 2009-08-26 21:41:15 +00:00