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

18 Commits

Author SHA1 Message Date
usr42
190fa67039 Fix FAKE_VALUE_FUNC with 20 parameters 2017-01-16 12:00:24 +01:00
Paulo Antonio Alvarez
961289f578 Added two test cases for SET_CUSTOM_FAKE_SEQ
Using a function that sets a value on a variable via a char pointer, we
test the following:
1 - Does the custom fakes are called in the expected order?
2 - When the sequence length is exhausted, do we only call the last
    custom fake in the sequence from then on?
2016-09-14 01:33:20 -03:00
Mike Long
c38a1343a4 Add support for up to 20 arguments 2013-06-26 07:43:25 +08:00
Mike Long
cd896ccaf9 fix include file name 2012-07-06 01:33:34 +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
5f914c5af7 Factor out common test cases into a common include file 2012-05-24 17:41:50 +08:00
Mike Long
1f2b89ba12 Add custom fake tests 2012-05-22 15:46:59 +08:00
Mike Long
1bcf41ff8a Moved fake variables into struct to avoid polluting global namespace 2012-04-25 18:02:48 +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
c1d80c74a5 memset return values in reset function 2011-03-10 12:30:39 +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
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