unit-tests: Add facility to register testable functions
authorTobias Brunner <tobias@strongswan.org>
Thu, 28 Nov 2013 17:02:18 +0000 (18:02 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 4 Dec 2013 19:32:59 +0000 (20:32 +0100)
commit4cea186b64c573a2030a66377c51857b401dbea0
tree7b7be2fb451a199365e00cbda7eacd763e823c45
parenta24eec464901819d15d19633e13fa139ab24e748
unit-tests: Add facility to register testable functions

These can be defined in plugins, or other parts of the tested libraries.
They can even be static.
src/libstrongswan/Android.mk
src/libstrongswan/Makefile.am
src/libstrongswan/tests/test_runner.c
src/libstrongswan/utils/test.c [new file with mode: 0644]
src/libstrongswan/utils/test.h [new file with mode: 0644]