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

232 Commits

Author SHA1 Message Date
Mike Long
b034fe2822 Updated to new fff style 2012-06-26 21:07:44 +08:00
Mike Long
1609a5199e Update to counting fake generation macro 2012-06-26 21:07:20 +08:00
Mike Long
522a972d2e Update to counting fake generation macro 2012-06-26 21:07:10 +08:00
Mike Long
899f5617a0 Some small tidying 2012-06-26 20:35:33 +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
6f07a118d7 Generated file 2012-05-25 08:06:12 +08:00
Mike Long
039f3d93a1 Clean up indentation 2012-05-25 08:05:49 +08:00
Mike Long
72ec46f852 Common test cases for Fake Function Framework 2012-05-24 17:52:00 +08:00
Mike Long
f8af106f31 Test suite for global fakes from a cpp context 2012-05-24 17:51:20 +08:00
Mike Long
8ee3ba7261 A simple test framework for C code with googletest compatibility 2012-05-24 17:49:35 +08:00
Mike Long
2e0bb77ac7 Add fakes for common test cases 2012-05-24 17:47:13 +08:00
Mike Long
54fae16407 Add fakes for common test cases 2012-05-24 17:45:40 +08:00
Mike Long
09a747232c Add common test cases 2012-05-24 17:43:45 +08:00
Mike Long
5f914c5af7 Factor out common test cases into a common include file 2012-05-24 17:41:50 +08:00
Mike Long
8a1ccaf25c Factor out common test cases into a common include file 2012-05-24 17:41:18 +08:00
Mike Long
b89df060ac Build global cpp test suite 2012-05-24 17:39:21 +08:00
Mike Long
e98ee5036b Generated file 2012-05-24 17:37:02 +08:00
Mike Long
f145ecd3ad Add global definition macro and remove cpp static initializer 2012-05-24 17:36:49 +08:00
Mike Long
5d89d72d16 Add global definitions and full reset calls 2012-05-24 15:07:32 +08:00
Mike Long
4438bf2b71 Add fff global definitions 2012-05-24 14:58:07 +08:00
Mike Long
952b251a9c Run global cpp tests 2012-05-24 08:08:23 +08:00
Mike Long
33d4b0c8d1 Initial tests for global fakes 2012-05-22 15:48:18 +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
1f2b89ba12 Add custom fake tests 2012-05-22 15:46:59 +08:00
Mike Long
fbcd099ec9 Generated file 2012-05-22 15:45:24 +08:00
Mike Long
0476f0237b Build global fakes tests 2012-05-22 15:44:49 +08:00
Mike Long
65da4e650c Run global fakes tests 2012-05-22 15:44:05 +08:00
Mike Long
e256f6f776 Added custom fakes 2012-04-27 13:47:41 +01:00
Mike Long
8e9a4c07f9 Create xml test report during run and also run examples 2012-04-26 18:01:01 +01:00
Mike Long
c10aca2b6b Update the cpp example to use the new fff header 2012-04-26 17:36:04 +01:00
Mike Long
1fe87ba155 Update the examples to use the new fff header 2012-04-26 16:54:56 +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
329b83f15a Fix typo in readme 2011-04-26 20:06:29 +01:00
Mike Long
b98825d20a Update documentation with new declaration style 2011-04-26 17:38:00 +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
7f0890916a Fix typo 2011-03-22 21:51:32 +01:00
Mike Long
f02e387a40 Adding documentation for return value sequences 2011-03-22 21:50:10 +01:00
Mike Long
c44f725fb7 Adding return value sequences 2011-03-22 21:42:04 +01:00