aboutsummaryrefslogtreecommitdiff
path: root/example
AgeCommit message (Expand)AuthorFilesLines
2019-10-16cmake: Make shared lib optionalArnaud Gelas3-29/+6
2019-02-19examples: Include stdint.h in simple exampleAndreas Schneider1-0/+1
2018-11-08examples: Fix memory leak in uptime testAndreas Schneider1-0/+2
2018-10-02examples: uptime: include stdint.h before cmocka.hJoel Carlson1-0/+1
2018-09-27exmaples: Use add_cmocka_test and set environment for testsAndreas Schneider2-87/+54
2018-09-27examples: Move mock example to own directoryAndreas Schneider13-5/+6
2018-09-27exmaples: Remove examples which have issues on some platformsAndreas Schneider8-434/+12
2018-09-27cmake: Update AddCMockaTestAndreas Schneider2-9/+9
2018-09-27cmake: Fix CMOCKA_DLL_PATH for WindowsAndreas Schneider1-2/+1
2018-09-25examples: Use check_expected_ptr for the path argumentAndreas Schneider1-1/+1
2018-09-11cmake: Fix linking with -fstack-protector* on SolarisAndreas Schneider1-4/+10
2018-09-10example: Remove obsolete include_directories()Andreas Schneider1-6/+0
2018-08-22cmake: Add new CompilerCheck.cmakeAndreas Schneider1-0/+2
2018-06-29example: Remove unused utmp header fileAndreas Schneider1-1/+0
2018-06-11exmaple: Improve the README of the uptime exampleAndreas Schneider1-2/+5
2018-06-07example: Explicitly cast the double to intAndreas Schneider1-1/+1
2018-06-07example: Remove dead codeAndreas Schneider1-2/+1
2018-06-06examples: Add README for uptimeAndreas Schneider1-0/+53
2018-06-06examples: Add better mocking exampleAndreas Schneider6-0/+419
2016-11-12src: Add support for compile flag -Wstrict-prototypesAdrian Friedli2-4/+4
2016-02-10cmake: Add MinGW DLL Prefix WorkaroundJoseph Ates2-25/+38
2015-02-13cmake: Disable some tests on Windows.Andreas Schneider1-0/+3
2015-02-12examples: Use WILL_FAIL instead of regular expressionAndreas Schneider1-7/+7
2015-02-12cmake: Fix running examples on Windows.Andreas Schneider1-12/+8
2015-02-12cmocka: examples: Fix assert macros usageKrzysztof Opasiak1-10/+3
2015-02-12cmake: Fix executing test examples on Windows.Andreas Schneider2-0/+46
2015-02-11include: Fix pointer casting and add check_expected_ptr()Andreas Schneider4-15/+25
2015-02-08tests: Use new cmocka test runner in our tests and examplesAndreas Schneider9-62/+66
2014-02-21Use prefix for commonly used macro PRINTF_ATTRIBUTELukas Slebodnik1-2/+2
2014-02-21Enable warning WundefLukas Slebodnik3-3/+3
2014-02-21Use static modifier for temporary_bufferLukas Slebodnik1-1/+1
2014-01-22cmake: Do not build the chef_wrap example on OSX.Andreas Schneider1-1/+2
2013-12-23tests: Add test_basics.Andreas Schneider2-63/+0
2013-12-23tests: Add test_fixtures.Andreas Schneider2-43/+0
2013-12-23tests: Add test_exception_handler_fail.Andreas Schneider2-40/+0
2013-12-21example: Define UNIT_TESTING in run_tests.c.Andreas Schneider1-0/+4
2013-12-21cmake: Fix calling the assert_module test.Andreas Schneider1-5/+3
2013-12-13example: Add the most simple test with cmocka.Andreas Schneider2-1/+25
2013-12-13example: Fix exception handler test on Solaris.Andreas Schneider1-1/+1
2013-12-11example: Add an exampele to test exception handling.Andreas Schneider2-0/+40
2013-10-27include: Fix unit_test_teardown macro.Andreas Schneider2-0/+42
2013-07-24example: Add missing stdlib.h.Andreas Schneider1-0/+1
2013-07-10example: Fix customer database test on big endian.Andreas Schneider2-4/+9
2013-06-11examples: Fix memory leaks in the waiter_test.Andreas Schneider1-0/+5
2013-06-11examples: Fix build warning in waiter_test.Andreas Schneider1-4/+4
2013-06-04example: Fix building with optimization flags.Andreas Schneider3-13/+19
2013-06-03example: Fix a build warning.Andreas Schneider1-4/+4
2013-06-03example: wrap trickJakub Hrozek6-0/+267
2012-10-20example: Use C style comments.Andreas Schneider7-46/+46
2012-10-16tests: Extend the run_tests example.Andreas Schneider1-1/+23