Commit graph

804 commits

Author SHA1 Message Date
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
mat007
14e80c37dc Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@316 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-09 21:48:01 +00:00
mat007
07f4a1e89f Refactored tests
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@315 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-08 18:13:32 +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
0ffc9c47a4 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@313 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-08 17:49:50 +00:00
mat007
2231896aba Fix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@312 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-08 17:47:25 +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
7f6bef390e Refactored tests
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@309 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-05 20:05:42 +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
8e3420f735 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@306 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-02 20:07:23 +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
103eed82cb Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@303 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-01 15:11:24 +00:00
mat007
73fadc7151 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@302 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-01 08:54:25 +00:00
mat007
6a66b47970 More test traces to analyse
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@301 860be788-9bd5-4423-9f1e-828f051e677b
2011-05-01 08:40:01 +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