Commit Graph

66 Commits

Author SHA1 Message Date
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
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
19f0c41e00 Cleaned up example 2011-02-21 20:43:18 +01:00
Mike Long
f732f951c7 Merge branch 'docs' 2011-02-19 21:36:39 +01:00
Mike Long
49281bd779 Add details for the other method of checking dropped histories 2011-02-19 21:36:25 +01:00
Mike Long
637ddd5eae Merge branch 'argument_history' 2011-02-19 21:33:35 +01:00
Mike Long
567971a703 Added another method for checking dropped histories 2011-02-19 21:33:16 +01:00
Mike Long
e8475e8e47 Fixed tabs for spaces 2011-02-19 21:23:28 +01:00
Mike Long
a6eeacdaf0 Added initial documentation for argument histories 2011-02-19 21:05:29 +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
2043a11291 Added tests from C context 2011-01-15 21:35:17 +01:00
Mike Long
d43e9c9243 Fix typo 2011-01-03 20:05:08 +01:00
Mike Long
023f09edf2 Fix typo 2011-01-03 20:04:20 +01:00
Mike Long
e75a8cdfba Add cheat sheet 2011-01-03 19:55:36 +01:00
Mike Long
aa9a9edd90 Explain header-only 2011-01-03 12:24:51 +01:00