Testing

bool

bool Description Function pointer type for test functions.

Read More

deadend_test_driver

deadend_test_driver Description Run an array of deadend test functions (all expecting failure).

Read More

run_test_suite

run_test_suite Description Main test driver that handles both normal and deadend tests.

Read More

simple_test_driver

simple_test_driver Description Run an array of simple test functions.

Read More

SysAbort

SysAbort Description Custom abort function that can be redirected for testing purposes. By default, this calls the standard abort() function. If a callback is set via SysSetAbortCallback, it calls the callback instead.

Read More

SysSetAbortCallback

SysSetAbortCallback Description Set a custom callback function for SysAbort. If no callback is set, SysAbort will call the standard abort() function.

Read More

test_deadend

test_deadend Description Run a specific test function using setjmp/longjmp to capture aborts. This is used for deadend tests that are expected to call LOG_FATAL.

Read More