usr42
8b5e44b872
Merge remote-tracking branch 'original/master' into refactorings
2018-01-30 22:47:24 +01:00
usr42
d9082e8d17
Merge remote-tracking branch 'original/master' into refactorings
2018-01-30 21:10:17 +01:00
Mike Long
9e9438ef0b
Publish lastest fff.h header
2018-01-30 10:41:43 +01:00
Mike Long
953ff07a7d
Merge pull request #35 from alvarez86/return_val_history
...
Return val history
2018-01-28 17:36:18 +00:00
Mike Long
ffde0537d8
Merge pull request #20 from usr42/master
...
Fix for issue 13: Add function prototype to DECLARE_* macro
2018-01-28 17:35:58 +00:00
Mike Long
2c28c14e83
Merge branch 'master' into return_val_history
2018-01-28 17:24:54 +00:00
usr42
15408ba2a4
Merge remote-tracking branch 'original/master' into refactorings
2018-01-10 08:38:53 +01:00
snak3xe
e61b221827
Fix fff.h for MSVC macro compatibility.
2017-12-14 23:01:41 +01:00
Paulo Antonio Alvarez
e2292d7971
fff.h now records the history of returned values
...
With this, checks like only calling the unlock function when trylock
succeeds are easier to implement.
2017-08-15 23:42:28 -03:00
usr42
3ec2c2b326
Merge remote-tracking branch 'upstream/master' into refactorings
2017-02-04 12:44:38 +01:00
usr42
248c7906b4
Merge remote-tracking branch 'upstream/master'
2017-02-04 12:34:55 +01:00
Mike Long
74c07a8f66
Merge pull request #27 from usr42/issue26
...
Fix issue 26: Use void as parameter when no parameter exists
2017-02-03 21:02:49 +01:00
usr42
88e6ac34d1
Use void as parameter for FUNCNAME##_reset
...
FUNCNAME##_reset(void) instead of FUNCNAME##_reset()
2017-01-30 15:03:39 +01:00
usr42
7888b6e9c8
Use void as parameter when no parameter exists
2017-01-26 17:35:11 +01:00
usr42
985fbe374e
Replace empty putd with puts
2017-01-26 16:43:54 +01:00
usr42
49c814ff34
Add putdml
...
putdml is a multiline putd which adds a \ at the end of the generated macro
2017-01-26 16:40:08 +01:00
usr42
f6fd3cf5dc
indent funct with block instead of pushd and popd
2017-01-26 15:47:16 +01:00
usr42
03f61f8e9f
Use function pointer for call_history
2017-01-24 21:03:09 +01:00
usr42
d2992fef8f
Fix issue13: Add function prototype to DECLARE_*
2017-01-21 20:06:27 +01:00
usr42
190fa67039
Fix FAKE_VALUE_FUNC with 20 parameters
2017-01-16 12:00:24 +01:00
usr42
0ec5f99ef8
Refactor output_macro_counting_shortcuts
2017-01-14 23:23:07 +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
mj
daff1fb430
added helper for generating argument sequences
2016-12-18 11:25:11 +01:00
Mike Long
ff40273dba
Merge pull request #16 from CiderMan/master
...
Fix for issue 8
2016-09-25 19:32:47 +01:00
Steve Hill
df0dc5deea
Added missing #include, built and tested
2016-09-23 19:25:30 +01:00
Paulo Antonio Alvarez
218cdf7067
fff.h with support to custom fake sequences (non-variadic functions)
...
The fff.h file now supports setting a sequence of custom fakes for
non-variadic functions using the SET_CUSTOM_FAKE_SEQ macro, with
works much like the SET_RETURN_SEQ macro.
2016-09-14 01:41:27 -03:00
Rubio R. C. Terra
6392c5fa1f
Build and test with support for variadic custom fakes
2016-06-07 10:01:40 -03:00
Steve Hill
bb44ed6141
Built and tested following updates
2016-04-08 12:32:06 +01:00
Mike Long
cbe9b8b7fb
Add license file and make gtest compile with own TR1 tuple library
2014-01-09 22:04:03 +08: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
Mike Long
4edb01b8f9
Add support to return the return value from custom fakes when it is a non-void function
2012-07-06 01:36:52 +08:00
Mike Long
932760d8ff
Removed old fff.h - updated to the new fff style
2012-06-26 21:09:11 +08: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
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
f923a5ad62
Register function call when fake is called
2011-01-01 21:03:20 +01:00
Mike Long
71c66bfa3a
Removed src base directory
2011-01-01 20:13:33 +01:00