1
0
mirror of https://github.com/meekrosoft/fff synced 2026-01-23 00:15:59 +01:00
Commit Graph

27 Commits

Author SHA1 Message Date
Mike Long
4edb01b8f9 Add support to return the return value from custom fakes when it is a non-void function 2012-07-06 01:36:52 +08:00
Mike Long
480c88e1af Added helper macro to generate fake reset function 2012-05-29 08:33:23 +08:00
Mike Long
7aee4ece7b Cleanup generator 2012-05-29 07:57:11 +08:00
Mike Long
3d6cfd218b Moved global variables into struct so they don't pollute the global namespace 2012-05-29 07:46:21 +08:00
Mike Long
fef801e995 Cleanup generator to remove deleted code 2012-05-28 07:19:57 +08:00
Mike Long
3345f90d12 Unified cpp and c fake definitions 2012-05-25 17:44:41 +08:00
Mike Long
039f3d93a1 Clean up indentation 2012-05-25 08:05:49 +08:00
Mike Long
f145ecd3ad Add global definition macro and remove cpp static initializer 2012-05-24 17:36:49 +08:00
Mike Long
c8fcb22b06 Separate declaration and definition of fakes to enable global fakes 2012-05-22 15:47:46 +08:00
Mike Long
e256f6f776 Added custom fakes 2012-04-27 13:47:41 +01:00
Mike Long
887be4dc5a Change reset function to memset 2012-04-26 11:01:50 +01:00
Mike Long
1bcf41ff8a Moved fake variables into struct to avoid polluting global namespace 2012-04-25 18:02:48 +01:00
Mike Long
0a15a67527 Cleanup in code generator 2012-04-24 09:04:02 +01:00
Mike Long
3ade1768a7 Added INCREMENT_CALL_COUNT and RESET_FAKE_RESULT helpers 2012-04-23 19:07:02 +01:00
Mike Long
3df78df67e Add more helpers 2012-04-23 17:14:01 +01:00
Mike Long
9187775817 Add more helpers 2012-04-21 10:50:59 +01:00
Mike Long
c505d084ea Create helper functions 2012-04-21 09:48:11 +01:00
Mike Long
3c8beeaa58 Add googletest library and update makefiles 2012-04-21 07:45:37 +01:00
Mike Long
e34f577a4f New feature: no longer need to specify argument count in the declaration 2011-04-26 17:20:48 +01:00
Mike Long
01aebe40e0 Add overrides for argument and call histories 2011-03-23 09:49:00 +01:00
Mike Long
c44f725fb7 Adding return value sequences 2011-03-22 21:42:04 +01:00
Mike Long
0631d2efc8 Make cpp reset function static 2011-03-22 20:16:22 +01:00
Mike Long
c1d80c74a5 memset return values in reset function 2011-03-10 12:30:39 +01:00
Mike Long
6cbdb1c676 Clear argument history when RESET_FAKE called 2011-02-19 20:47:31 +01:00
Mike Long
f12810c3f9 Added basic argument history of fixed size 2011-02-14 21:57:59 +01:00
Mike Long
f923a5ad62 Register function call when fake is called 2011-01-01 21:03:20 +01:00
Mike Long
71c66bfa3a Removed src base directory 2011-01-01 20:13:33 +01:00