Commit graph

37 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
39ccffb881 Removed is_comparable which is sometimes ambiguous
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@250 860be788-9bd5-4423-9f1e-828f051e677b
2011-02-21 18:23:31 +00:00
mat007
171accfe27 Merged logging branch
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@245 860be788-9bd5-4423-9f1e-828f051e677b
2011-02-19 22:10:22 +00:00
mat007
4450ea0330 Reverted 220
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@221 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-30 08:42:23 +00:00
mat007
f7be6ea503 Merged the logging branch
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@220 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-29 21:34:45 +00:00
mat007
771d1ef783 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@209 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-28 14:26:58 +00:00
mat007
9934924853 Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@202 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-21 14:53:12 +00:00
mat007
f4ceb3cdfc Fixed a regression with mock::any needing the parameter type to be defined instead of only declared
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@190 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-15 10:03:31 +00:00
mat007
bd648e0579 Refactored to use Boost.Phoenix only if required (e.g. more than 9 parameters) and Boost.Bind instead because it uses a lot less of memory when compiling
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@188 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-14 17:09:18 +00:00
mat007
2b5385be40 Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@184 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-13 21:35:52 +00:00
mat007
be891a6480 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@182 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-11 07:49:56 +00:00
mat007
3b6e4f6d37 Refactored constraints
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@179 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-10 22:14:31 +00:00
mat007
176611c735 Enhanced custom constraints support
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@178 860be788-9bd5-4423-9f1e-828f051e677b
2011-01-10 14:22:32 +00:00
mat007
0377bccad2 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@171 860be788-9bd5-4423-9f1e-828f051e677b
2010-07-29 05:40:46 +00:00
mat007
0f33dab444 Removed MOCK_METHOD_TPL tests as it uses non standard code, see http://gcc.gnu.org/onlinedocs/gcc/Name-lookup.html
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@165 860be788-9bd5-4423-9f1e-828f051e677b
2010-07-21 15:14:31 +00:00
mat007
3109a228f0 Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@135 860be788-9bd5-4423-9f1e-828f051e677b
2010-03-02 22:13:59 +00:00
mat007
a21b3d2c2f Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@132 860be788-9bd5-4423-9f1e-828f051e677b
2010-03-01 23:08:25 +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
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
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
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
Renamed from src/tests/turtle_test/samples_test.cpp (Browse further)