aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/tests/test_suite.h
Commit message (Collapse)AuthorAgeFilesLines
* unit-tests: Add ability to issue a warning message for a test caseTobias Brunner2017-11-081-0/+24
| | | | | This way we can warn if we e.g. skipped actually doing something due to dependencies (otherwise the test case would just appear to have succeeded).
* unit-tests: Fix test_chunk_eq() if arguments have side-effectsTobias Brunner2017-05-241-1/+1
|
* unit-tests: Allow default test timeout to be configured via compile optionThomas Egerer2017-02-141-0/+2
| | | | Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
* unit-tests: Pass stringyfied assertion statement as non-format string argumentMartin Willi2015-04-151-3/+3
| | | | | | If the assertion contains a modulo (%) operation, test_fail_msg() handles this as printf() format specifier. Pass the assertion string as argument for an explicit "%s" in the format string, instead.
* unit-tests: Add support for Windows buildMartin Willi2014-06-041-1/+9
| | | | | Instead of signals we catch Windows exceptions. Currently not supported are timers, which is more a convenience thing anyway.
* unit-tests: Defer failures by worker threadsTobias Brunner2014-05-191-3/+15
| | | | | | | | | | | In some cases the main thread is not ready to immediately call siglongjmp(), e.g. if it currently holds a mutex that is later required during shutdown. Therefore, we delay handling errors in worker threads until the main thread performs the next check itself (or the test function ends). The same issue remains with SIGALRM.
* unit-tests: Add a ck_assert_chunk_eq() convenience macroMartin Willi2014-04-301-0/+18
|
* unit-tests: Fix apidoc for libtestTobias Brunner2013-12-041-7/+10
|
* unit-tests: Implement testing framework without "check"Martin Willi2013-11-061-61/+280
|
* unit-tests: support testing when leak-detective has not been enabledMartin Willi2013-10-111-5/+14
|
* Suppress log messages during testsTobias Brunner2013-06-111-0/+2
|
* Enable leak detective for all test casesTobias Brunner2013-06-111-0/+99