├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── verify_pr.yaml ├── .gitignore ├── .travis.yml ├── CMakeLists.txt ├── LICENSE ├── README.md ├── examples ├── CMakeLists.txt ├── driver_testing │ ├── CMakeLists.txt │ ├── include │ │ ├── driver.h │ │ ├── hardware_abstraction.h │ │ └── registers.h │ └── src │ │ ├── driver.c │ │ ├── driver.test.cpp │ │ └── driver.test.fff.cpp ├── embedded_ui │ ├── CMakeLists.txt │ ├── Kata.txt │ ├── include │ │ ├── DISPLAY.h │ │ ├── SYSTEM.h │ │ └── UI.h │ └── src │ │ ├── UI.c │ │ ├── UI_test_ansic.c │ │ └── UI_test_cpp.cpp └── weak_linking │ ├── CMakeLists.txt │ ├── config │ └── config.h.in │ ├── include │ ├── bus.h │ ├── display.h │ ├── error.h │ └── sensor.h │ ├── src │ ├── bus.c │ ├── display.c │ ├── error.c │ ├── main.c │ └── sensor.c │ └── test │ ├── include │ ├── bus.fake.h │ ├── display.fake.h │ ├── error.fake.h │ ├── sensor.fake.h │ └── test_common.h │ └── src │ ├── bus.fake.c │ ├── display.fake.c │ ├── display.test.c │ ├── error.fake.c │ ├── main.test.c │ ├── sensor.fake.c │ ├── sensor.test.c │ └── test_common.c ├── fakegen.rb ├── fff.h └── test ├── CMakeLists.txt ├── include ├── c_test_framework.h ├── custom_function.hpp ├── fff_wrapper.hpp └── global_fakes.h └── src ├── fff_test_c.c ├── fff_test_cpp.cpp ├── fff_test_custom_function_template.cpp ├── fff_test_global_c.c ├── fff_test_global_cpp.cpp ├── global_fakes.c └── test_cases.include /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/verify_pr.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/.github/workflows/verify_pr.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/.travis.yml -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/README.md -------------------------------------------------------------------------------- /examples/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/CMakeLists.txt -------------------------------------------------------------------------------- /examples/driver_testing/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/driver_testing/CMakeLists.txt -------------------------------------------------------------------------------- /examples/driver_testing/include/driver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/driver_testing/include/driver.h -------------------------------------------------------------------------------- /examples/driver_testing/include/hardware_abstraction.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/driver_testing/include/hardware_abstraction.h -------------------------------------------------------------------------------- /examples/driver_testing/include/registers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/driver_testing/include/registers.h -------------------------------------------------------------------------------- /examples/driver_testing/src/driver.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/driver_testing/src/driver.c -------------------------------------------------------------------------------- /examples/driver_testing/src/driver.test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/driver_testing/src/driver.test.cpp -------------------------------------------------------------------------------- /examples/driver_testing/src/driver.test.fff.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/driver_testing/src/driver.test.fff.cpp -------------------------------------------------------------------------------- /examples/embedded_ui/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/embedded_ui/CMakeLists.txt -------------------------------------------------------------------------------- /examples/embedded_ui/Kata.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/embedded_ui/Kata.txt -------------------------------------------------------------------------------- /examples/embedded_ui/include/DISPLAY.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/embedded_ui/include/DISPLAY.h -------------------------------------------------------------------------------- /examples/embedded_ui/include/SYSTEM.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/embedded_ui/include/SYSTEM.h -------------------------------------------------------------------------------- /examples/embedded_ui/include/UI.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/embedded_ui/include/UI.h -------------------------------------------------------------------------------- /examples/embedded_ui/src/UI.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/embedded_ui/src/UI.c -------------------------------------------------------------------------------- /examples/embedded_ui/src/UI_test_ansic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/embedded_ui/src/UI_test_ansic.c -------------------------------------------------------------------------------- /examples/embedded_ui/src/UI_test_cpp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/embedded_ui/src/UI_test_cpp.cpp -------------------------------------------------------------------------------- /examples/weak_linking/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/CMakeLists.txt -------------------------------------------------------------------------------- /examples/weak_linking/config/config.h.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/config/config.h.in -------------------------------------------------------------------------------- /examples/weak_linking/include/bus.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/include/bus.h -------------------------------------------------------------------------------- /examples/weak_linking/include/display.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/include/display.h -------------------------------------------------------------------------------- /examples/weak_linking/include/error.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/include/error.h -------------------------------------------------------------------------------- /examples/weak_linking/include/sensor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/include/sensor.h -------------------------------------------------------------------------------- /examples/weak_linking/src/bus.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/src/bus.c -------------------------------------------------------------------------------- /examples/weak_linking/src/display.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/src/display.c -------------------------------------------------------------------------------- /examples/weak_linking/src/error.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/src/error.c -------------------------------------------------------------------------------- /examples/weak_linking/src/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/src/main.c -------------------------------------------------------------------------------- /examples/weak_linking/src/sensor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/src/sensor.c -------------------------------------------------------------------------------- /examples/weak_linking/test/include/bus.fake.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/test/include/bus.fake.h -------------------------------------------------------------------------------- /examples/weak_linking/test/include/display.fake.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/test/include/display.fake.h -------------------------------------------------------------------------------- /examples/weak_linking/test/include/error.fake.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/test/include/error.fake.h -------------------------------------------------------------------------------- /examples/weak_linking/test/include/sensor.fake.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/test/include/sensor.fake.h -------------------------------------------------------------------------------- /examples/weak_linking/test/include/test_common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/test/include/test_common.h -------------------------------------------------------------------------------- /examples/weak_linking/test/src/bus.fake.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/test/src/bus.fake.c -------------------------------------------------------------------------------- /examples/weak_linking/test/src/display.fake.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/test/src/display.fake.c -------------------------------------------------------------------------------- /examples/weak_linking/test/src/display.test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/test/src/display.test.c -------------------------------------------------------------------------------- /examples/weak_linking/test/src/error.fake.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/test/src/error.fake.c -------------------------------------------------------------------------------- /examples/weak_linking/test/src/main.test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/test/src/main.test.c -------------------------------------------------------------------------------- /examples/weak_linking/test/src/sensor.fake.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/test/src/sensor.fake.c -------------------------------------------------------------------------------- /examples/weak_linking/test/src/sensor.test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/test/src/sensor.test.c -------------------------------------------------------------------------------- /examples/weak_linking/test/src/test_common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/examples/weak_linking/test/src/test_common.c -------------------------------------------------------------------------------- /fakegen.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/fakegen.rb -------------------------------------------------------------------------------- /fff.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/fff.h -------------------------------------------------------------------------------- /test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/test/CMakeLists.txt -------------------------------------------------------------------------------- /test/include/c_test_framework.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/test/include/c_test_framework.h -------------------------------------------------------------------------------- /test/include/custom_function.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/test/include/custom_function.hpp -------------------------------------------------------------------------------- /test/include/fff_wrapper.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/test/include/fff_wrapper.hpp -------------------------------------------------------------------------------- /test/include/global_fakes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/test/include/global_fakes.h -------------------------------------------------------------------------------- /test/src/fff_test_c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/test/src/fff_test_c.c -------------------------------------------------------------------------------- /test/src/fff_test_cpp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/test/src/fff_test_cpp.cpp -------------------------------------------------------------------------------- /test/src/fff_test_custom_function_template.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/test/src/fff_test_custom_function_template.cpp -------------------------------------------------------------------------------- /test/src/fff_test_global_c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/test/src/fff_test_global_c.c -------------------------------------------------------------------------------- /test/src/fff_test_global_cpp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/test/src/fff_test_global_cpp.cpp -------------------------------------------------------------------------------- /test/src/global_fakes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/test/src/global_fakes.c -------------------------------------------------------------------------------- /test/src/test_cases.include: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meekrosoft/fff/HEAD/test/src/test_cases.include --------------------------------------------------------------------------------