1
0
mirror of https://github.com/meekrosoft/fff synced 2026-01-22 16:05:59 +01:00

44 Commits

Author SHA1 Message Date
Jakub Dudarewicz
5111c61e1e Add GTest with FetchContent (#120)
* Add missing GTest linking
* Add unit testing switch
* Rename UNIT_TESTING to be fff-specific
* Add fff.h generation toggle
* Use options instead of variables for disabling build elements
* Add interface library for when the header is not regenerated
* Update build script and README
2023-05-22 19:31:38 +10:00
Yuval Peress
3ede05133f Update the docs to demonstrate custom function signatures
Update the GCC specific example of nested functions to support capturing
lambdas when a custom function signature is used with std::function.

Signed-off-by: Yuval Peress <peress@google.com>
2022-08-28 09:11:40 -06:00
Yuval Peress
2eb067e5a1 Migrate build to CMake and standard github workflows
Replace makefiles with CMakeLists.txt. This will allow for IDE and
platform agnostic builds of FFF.

Update the CI for FFF to use github workflows which don't depend on MS VC.
The workflow added will verify the pull requests sent to master buy
running 'buildandtest' which mirrors the developer workflow.

Signed-off-by: Yuval Peress <peress@google.com>
2022-08-05 11:48:54 -06:00
James Fraser
ab47e7fc5b Update README.md 2019-03-02 16:01:24 +11:00
James Fraser
f9c08aec81 Update README.md 2019-03-02 16:00:41 +11:00
James Fraser
cf2c4780ef Update README.md 2019-03-02 15:59:49 +11:00
James Fraser
995f26b939 Update README.md 2019-02-18 22:46:16 +11:00
James Fraser
0b9e9f5064 Squashed commit of the following:
commit e5a5749971eb9274679699020a54c91d4053ed79
Author: James Fraser <wulfgar.pro@gmail.com>
Date:   Sun Feb 3 19:57:31 2019 +1100

    PR #47: Minor review fixes to tests files.

commit e9f11b9ec8de8f8d1f0de7b6959c575e15894526
Author: James Fraser <wulfgar.pro@gmail.com>
Date:   Sun Feb 3 19:57:04 2019 +1100

    PR #47: Minor review fixes.

commit 0a7fbeceec
Author: Pauli Salmenrinne <pauli.salmenrinne@pexraytech.com>
Date:   Tue Jan 22 15:11:10 2019 +0200

    Add example for the weak linking

commit 647737304d
Author: susundberg <susundberg@gmail.com>
Date:   Wed Mar 21 13:14:05 2018 +0200

    Add "FFF_FUNCTION_ATTRIBUTES" definition that can be used to declare attributes for functions. More specifically, allow __weak__ attribute.
2019-02-03 20:23:52 +11:00
Alain
b76c7c7168 Custom return value delegate sequences for variadic functions (#63)
* Custom return value delegate sequences for variadic functions
* Added unit tests for variadic functions custom return value delegate sequences
* Fixes in code style
* Variadic functions custom delegates also tested in C++
* Fixed some compilation warnings
* Added test for variadic function custom delegates sequence reset
* Updated documentation with variadic functions custom delegate sequences
* Update README.md
* Minor style changes.

Thank you very much @oliviera9!
2018-12-05 23:36:32 +11:00
James Fraser
35b26878a7 Update README.md 2018-12-04 21:26:48 +11:00
James Fraser
eabb622ea0 Update README.md 2018-12-04 20:49:24 +11:00
James Fraser
4e031416d6 Update README.md 2018-12-04 20:49:00 +11:00
James Fraser
5b930a1382 Updated cheat sheet with variadic examples 2018-12-04 20:47:16 +11:00
James Fraser
8e0e312556 Added TOC to README.md 2018-12-04 20:28:37 +11:00
James Fraser
6011dfde79 Updated README.md with AppVeyor status badge. 2018-11-28 09:11:34 +11:00
James Fraser
a31a9ee38c Added support for specifying calling conventions. 2018-11-16 02:01:11 +11:00
Mike Long
2c28c14e83 Merge branch 'master' into return_val_history 2018-01-28 17:24:54 +00:00
Mike Long
b359c2391b Merge pull request #30 from rubiot/vararg_readme
Adding a section explaining how to fake variadic functions
2018-01-28 17:21:05 +00:00
Mike Long
82eab51659 Update to readme to correct misinformation on C standard
It turns out that nested functions are a gcc thing - not standard C.

Closes #34
2017-12-18 19:57:20 +01:00
nabijaczleweli
fcc7f1c46f Use markdown instead of inline HTML in README 2017-10-08 01:44:10 +02:00
nabijaczleweli
a795833cba Add syntax highlighting to README 2017-10-08 01:39:36 +02:00
Paulo Antonio Alvarez
fdbac79ada Update README to explain the history of returned values
Gives some motivation as well as a simple example taken from the test
suite of fff.
2017-08-15 23:49:07 -03:00
Rubio R. C. Terra
7cb667102d Adding a section explaining how to fake variadic functions 2017-02-06 18:14:02 -02:00
Stephan Creutz
dc50381b24 Fix typos in README 2017-01-24 21:31:37 +01:00
mj
2c47f8aa49 Added simple explanation and example to readme file 2016-12-18 15:19:08 +01:00
Paulo Antonio Alvarez
0daa84efe6 README: Update README.md to give example of SET_CUSTOM_FAKE_SEQ macro
The readme now contains an example taken from the test suite of how to
use the SET_CUSTOM_FAKE_SEQ macro.
2016-09-26 22:58:32 -03:00
Mike Long
3cd33eda54 Add travis build status to readme 2016-07-06 10:41:08 +02:00
Mike Long
2afa7273b7 Added the tips from Micha into the readme 2013-07-20 13:43:51 +08:00
Mike Long
3612b9e84e Update the readme with Micha's information on return by reference 2013-07-04 17:10:30 +08:00
Mike Long
82c6df459c Added custom fake information to the readme documentation 2012-09-14 08:11:00 +08:00
Mike Long
b034fe2822 Updated to new fff style 2012-06-26 21:07:44 +08:00
Mike Long
329b83f15a Fix typo in readme 2011-04-26 20:06:29 +01:00
Mike Long
b98825d20a Update documentation with new declaration style 2011-04-26 17:38:00 +01:00
Mike Long
01aebe40e0 Add overrides for argument and call histories 2011-03-23 09:49:00 +01:00
Mike Long
7f0890916a Fix typo 2011-03-22 21:51:32 +01:00
Mike Long
f02e387a40 Adding documentation for return value sequences 2011-03-22 21:50:10 +01:00
Mike Long
49281bd779 Add details for the other method of checking dropped histories 2011-02-19 21:36:25 +01:00
Mike Long
a6eeacdaf0 Added initial documentation for argument histories 2011-02-19 21:05:29 +01:00
Mike Long
d43e9c9243 Fix typo 2011-01-03 20:05:08 +01:00
Mike Long
023f09edf2 Fix typo 2011-01-03 20:04:20 +01:00
Mike Long
e75a8cdfba Add cheat sheet 2011-01-03 19:55:36 +01:00
Mike Long
aa9a9edd90 Explain header-only 2011-01-03 12:24:51 +01:00
Mike Long
e034598562 Fixed typo in example 2011-01-03 12:13:05 +01:00
Mike Long
64c57b015d Changed readme to markdown and added more details 2011-01-01 15:32:26 +01:00