Commit graph

143 commits

Author SHA1 Message Date
mat007
783d24a89f Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@437 860be788-9bd5-4423-9f1e-828f051e677b
2012-04-01 21:20:23 +00:00
mat007
6d601f26ed Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@435 860be788-9bd5-4423-9f1e-828f051e677b
2012-04-01 21:18:45 +00:00
mat007
d1eed46173 Added support for mocking constructors
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@433 860be788-9bd5-4423-9f1e-828f051e677b
2012-03-31 13:36:25 +00:00
mat007
2768c8b172 Fixed phoenix and lambda functors logging
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@432 860be788-9bd5-4423-9f1e-828f051e677b
2012-03-24 06:23:47 +00:00
mat007
bfab83e7c2 Added test for serialization of bind, phoenix and lambda functors
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@431 860be788-9bd5-4423-9f1e-828f051e677b
2012-03-23 07:58:27 +00:00
mat007
f09c5540d0 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@425 860be788-9bd5-4423-9f1e-828f051e677b
2012-03-15 21:43:09 +00:00
mat007
209ffa986f Fixed a bug that caused an object to remain invalid forever after being invalid and verified once
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@424 860be788-9bd5-4423-9f1e-828f051e677b
2012-03-15 21:42:01 +00:00
mat007
45d2d58000 Renamed MOCK_STATIC_FUNCTION to MOCK_STATIC_METHOD
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@423 860be788-9bd5-4423-9f1e-828f051e677b
2012-03-15 07:40:29 +00:00
mat007
395bdecc2d Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@421 860be788-9bd5-4423-9f1e-828f051e677b
2012-03-07 22:24:41 +00:00
mat007
076ca8e084 Reverted 419
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@420 860be788-9bd5-4423-9f1e-828f051e677b
2012-03-05 23:10:16 +00:00
mat007
3fa0d17785 Added a much better workaround to the comma-in-macro problem
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@419 860be788-9bd5-4423-9f1e-828f051e677b
2012-03-05 22:50:45 +00:00
mat007
e725d1c006 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@418 860be788-9bd5-4423-9f1e-828f051e677b
2012-03-05 20:27:26 +00:00
mat007
27f76b9d01 Added test to check that a template class conversion operator can be mocked using MOCK_CONVERSION_OPERATOR
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@417 860be788-9bd5-4423-9f1e-828f051e677b
2012-03-03 23:24:42 +00:00
mat007
c830e13c83 Added support for mocking static methods of template classes
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@416 860be788-9bd5-4423-9f1e-828f051e677b
2012-03-02 22:53:48 +00:00
mat007
97eedfc240 Warning fix for gcc
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@414 860be788-9bd5-4423-9f1e-828f051e677b
2012-02-26 12:21:59 +00:00
mat007
6e1e22c559 Added specialization to log unsigned chars as integers
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@413 860be788-9bd5-4423-9f1e-828f051e677b
2012-02-26 12:21:39 +00:00
mat007
47cf8b3e47 Added specialization to log unsigned chars as integers
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@412 860be788-9bd5-4423-9f1e-828f051e677b
2012-02-26 11:20:18 +00:00
mat007
f66e06f4fe Added checkpoint notification to error policy
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@411 860be788-9bd5-4423-9f1e-828f051e677b
2012-02-07 23:00:31 +00:00
mat007
96ad4b068b Added support for mock::verify and mock::reset for functors
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@408 860be788-9bd5-4423-9f1e-828f051e677b
2012-01-16 11:02:34 +00:00
mat007
6d3968db1e Added protected destructor to mock::object
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@406 860be788-9bd5-4423-9f1e-828f051e677b
2012-01-14 17:41:27 +00:00
mat007
40cf39aae7 Merged functions branch back to trunk
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@401 860be788-9bd5-4423-9f1e-828f051e677b
2012-01-14 16:12:29 +00:00
mat007
ee338d40bb Removed limitation on the operator() of a custom constraint which was required to be const
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@390 860be788-9bd5-4423-9f1e-828f051e677b
2011-10-10 22:21:53 +00:00
mat007
db36244dfc Wrapped constraints parameters with boost::addressof where needed in order to support types with overloaded operator&
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@385 860be788-9bd5-4423-9f1e-828f051e677b
2011-10-02 14:57:25 +00:00
mat007
ad40a1a9cf Removed all std::string to spare unnecessary memory allocations
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@383 860be788-9bd5-4423-9f1e-828f051e677b
2011-10-02 10:47:27 +00:00
mat007
f2fe1ad574 Fix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@380 860be788-9bd5-4423-9f1e-828f051e677b
2011-07-09 18:41:36 +00:00
mat007
a7c62e523a Merged refactoring branch
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@379 860be788-9bd5-4423-9f1e-828f051e677b
2011-07-09 15:16:03 +00:00
mat007
bec0c8aafa Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@342 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-20 10:49:16 +00:00
mat007
9336d101ec Removed alternate experimental macros
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@334 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-17 20:54:28 +00:00
mat007
10eed34ad7 Fixed a bug with const smart pointers as first argument to MOCK_EXPECT being invalid
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@327 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-12 20:00:52 +00:00
mat007
4f918457bc Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@322 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-11 16:09:59 +00:00
mat007
b9f50e0c4f Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@318 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-11 13:47:36 +00:00
mat007
febd21a724 Fix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@314 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-08 18:00:59 +00:00
mat007
5f651655c6 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@311 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-08 17:44:49 +00:00
mat007
8d7b34792d Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@310 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-05 20:08:09 +00:00
mat007
909e37da70 Refactored tests
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@308 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-05 16:47:50 +00:00
mat007
ea501c3e00 Refactored tests
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@307 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-05 16:35:03 +00:00
mat007
d6850d9c20 Added support for logging std::auto_ptr, boost::shared_ptr and boost::weak_ptr
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@305 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-01 19:55:10 +00:00
mat007
5ad7562d65 Fixed a bug preventing non-const pointer to be logged properly
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@304 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-01 19:47:48 +00:00
mat007
c7169dd8c4 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@300 860be788-9bd5-4423-9f1e-828f051e677b
2011-04-19 22:01:49 +00:00
mat007
817334e069 Added mock::affirm constraint which is equivalent to !mock::negate
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@299 860be788-9bd5-4423-9f1e-828f051e677b
2011-04-16 20:09:20 +00:00
mat007
b3954c469c Reverted 296 and 297
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@298 860be788-9bd5-4423-9f1e-828f051e677b
2011-04-15 21:57:42 +00:00
mat007
dbaadfa7f2 Added test for a mock class defined within test case
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@297 860be788-9bd5-4423-9f1e-828f051e677b
2011-04-15 21:30:52 +00:00
mat007
7b31aea1b3 Added test for a mock class defined within test case
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@296 860be788-9bd5-4423-9f1e-828f051e677b
2011-04-15 21:20:52 +00:00
mat007
ba3a53ec1b Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@294 860be788-9bd5-4423-9f1e-828f051e677b
2011-04-12 21:35:06 +00:00
mat007
f1b8550c84 Added support for boost::cref and boost::ref for mock::assign and mock::retrieve for uniformity
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@286 860be788-9bd5-4423-9f1e-828f051e677b
2011-04-07 22:46:29 +00:00
mat007
9a74e73a03 Added support for boost::cref and boost::ref in built-in constraints and mock::format
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@284 860be788-9bd5-4423-9f1e-828f051e677b
2011-04-05 22:11:08 +00:00
mat007
57848d082c Added support for boost::cref and boost::ref in built-in constraints and mock::format
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@283 860be788-9bd5-4423-9f1e-828f051e677b
2011-04-05 21:08:36 +00:00
mat007
29975de820 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@278 860be788-9bd5-4423-9f1e-828f051e677b
2011-03-21 21:48:28 +00:00
mat007
76a5c5b3ec Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@277 860be788-9bd5-4423-9f1e-828f051e677b
2011-03-21 21:43:04 +00:00
mat007
6fb5d614b4 Fix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@276 860be788-9bd5-4423-9f1e-828f051e677b
2011-03-20 23:23:17 +00:00