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

25 Commits

Author SHA1 Message Date
James Fraser
a31a9ee38c Added support for specifying calling conventions. 2018-11-16 02:01:11 +11:00
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
Rubio R. C. Terra
88864216d3 Added test case for FAKE_VALUE_FUNC_VARARG. 2016-06-07 10:01:36 -03:00
Mike Long
c38a1343a4 Add support for up to 20 arguments 2013-06-26 07:43:25 +08:00
Mike Long
0f9f1d939d Merged varargs support with const support 2013-06-23 22:22:34 +08:00
Micha Hoiting
ef62856fc3 Implement minimal support for varargs 2012-11-09 01:33:10 +01:00
Micha Hoiting
e35ae98cac Add test with const parameters 2012-11-07 22:56:45 +01:00
Mike Long
d14ea470e8 Add tests for returning custom fake return values on non-void custom fakes 2012-07-06 03:29:10 +08:00
Mike Long
aacca34887 fix include file name 2012-07-06 01:33:18 +08:00
Mike Long
899f5617a0 Some small tidying 2012-06-26 20:35:33 +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
8a1ccaf25c Factor out common test cases into a common include file 2012-05-24 17:41:18 +08:00
Mike Long
e256f6f776 Added custom fakes 2012-04-27 13:47:41 +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
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