Commit graph

373 commits

Author SHA1 Message Date
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
a1d2f27add Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@415 860be788-9bd5-4423-9f1e-828f051e677b
2012-02-26 13:11:01 +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
e86aebb5a8 Renamed basic_error_policy to default_error_policy
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@410 860be788-9bd5-4423-9f1e-828f051e677b
2012-02-07 22:35:40 +00:00
mat007
d1a7049505 Added hippomocks_test
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@409 860be788-9bd5-4423-9f1e-828f051e677b
2012-02-07 22:05:27 +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
7fb0b814b3 Removed obsolete mock::object::verify and mock::object::reset methods (to avoid mix-ups with user methods possibly named the same)
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@407 860be788-9bd5-4423-9f1e-828f051e677b
2012-01-14 18:09:03 +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
a82a5b275c Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@405 860be788-9bd5-4423-9f1e-828f051e677b
2012-01-14 16:43:09 +00:00
mat007
a7728caefb Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@404 860be788-9bd5-4423-9f1e-828f051e677b
2012-01-14 16:25:15 +00:00
mat007
1b7943865b Removed dead code
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@403 860be788-9bd5-4423-9f1e-828f051e677b
2012-01-14 16:20:09 +00:00
mat007
d3084ecc2d Fixed boost test
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@402 860be788-9bd5-4423-9f1e-828f051e677b
2012-01-14 16:19:44 +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
c0bc085943 Tweaks
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@391 860be788-9bd5-4423-9f1e-828f051e677b
2012-01-08 22:50:42 +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
dc27632f66 Added errors_test in msvc solution
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@389 860be788-9bd5-4423-9f1e-828f051e677b
2011-10-10 22:04:13 +00:00
mat007
7248b2867b Fixed errors tests
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@388 860be788-9bd5-4423-9f1e-828f051e677b
2011-10-10 21:43:48 +00:00
mat007
f6e0916dbd Enhanced error message for ambiguous_mock_method
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@387 860be788-9bd5-4423-9f1e-828f051e677b
2011-10-10 21:40:24 +00:00
mat007
b2103f6947 Fixed constraint_functor_not_compatible
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@386 860be788-9bd5-4423-9f1e-828f051e677b
2011-10-10 21:16:56 +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
7fc80c1035 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@384 860be788-9bd5-4423-9f1e-828f051e677b
2011-10-02 14:35:09 +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
64c638d59c Ignore list
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@382 860be788-9bd5-4423-9f1e-828f051e677b
2011-07-13 13:13:41 +00:00
mat007
ed31b9528d Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@381 860be788-9bd5-4423-9f1e-828f051e677b
2011-07-12 16:43:54 +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
ee1c42843c Added test application for Boost.Test features
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@340 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-20 08:47:18 +00:00
mat007
c1cf7e30bc Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@339 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-20 08:45:24 +00:00
mat007
9025ff2f0d Fixed a crash with Boost.Test when failed static mock objects are destroyed
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@338 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-19 20:35:34 +00:00
mat007
90cd7f7bd8 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@337 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-19 14:47:07 +00:00
mat007
92019d62b0 Removed MOCK_NUM_ARGS
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@336 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-18 22:48:54 +00:00
mat007
7d28fc0d78 More test traces to analyse
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@335 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-18 21:15:18 +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
6f49ffd551 Added automatic benchmark
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@326 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-12 10:00:24 +00:00
mat007
4c013650ed Moved applications/turtle_bench to tests/bench_test
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@325 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-11 20:08:19 +00:00
mat007
8b5623bc1d Added automatic benchmark
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@324 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-11 20:02:21 +00:00
mat007
4c03cd9bda Reduced MOCK_MAX_ARGS in tests to try and fix an internal compiler error with vc80
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@323 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-11 17:47:08 +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
989830855c Added missing check for BOOST_FT_MAX_ARITY when MOCK_MAX_ARGS was set to 21 or more
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@321 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-11 16:09:38 +00:00
mat007
13cf400e82 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@320 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-11 16:01:06 +00:00
mat007
5ba2169ec3 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@319 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-11 13:48:26 +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
f4127636d5 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@317 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-09 22:17:10 +00:00