James Fraser
45c4d31690
Re-instated assert from include fixture as per last commit fix.
2018-11-16 20:27:33 +11:00
James Fraser
a31a9ee38c
Added support for specifying calling conventions.
2018-11-16 02:01:11 +11:00
Kate Hart
86c5e44614
Clear fff.call_history when calling FFF_RESET_HISTORY
2018-10-11 21:31:27 -07:00
Mike Long
2c28c14e83
Merge branch 'master' into return_val_history
2018-01-28 17:24:54 +00:00
Paulo Antonio Alvarez
3000b0b6a4
Add test cases for saving the history of returned values
...
We test the following cases:
1 - Are return values set with fake.return_val saved in history?
2 - Are return values of a RETURN_SEQ saved in history?
3 - Are return values return by a CUSTOM_FAKE_SEQ saved in history?
2017-08-15 23:40:58 -03:00
usr42
68692c712c
Improve vararg tests
2017-02-06 21:36:34 +01: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
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
1aa823ea2b
Add test case for returning values from custom fakes
2012-07-06 01:36:14 +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
72ec46f852
Common test cases for Fake Function Framework
2012-05-24 17:52:00 +08:00