usr42
190fa67039
Fix FAKE_VALUE_FUNC with 20 parameters
2017-01-16 12:00:24 +01:00
mj
0cf75a229e
Added auto counting of parameters for declaration and definition of fake functions for global use. Adjusted unit tests of global functions
2016-12-18 15:03:15 +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
3cf610ea97
Add support for const parameters in fakes (C only)
2012-11-08 23:14:02 +01:00
Micha Hoiting
e35ae98cac
Add test with const parameters
2012-11-07 22:56:45 +01:00
Mike Long
899f5617a0
Some small tidying
2012-06-26 20:35:33 +08:00
Mike Long
54fae16407
Add fakes for common test cases
2012-05-24 17:45:40 +08:00
Mike Long
33d4b0c8d1
Initial tests for global fakes
2012-05-22 15:48:18 +08:00