Go to the source code of this file.
◆ CASE
◆ CASE1
◆ MAKE_TEST_MODULE
| #define MAKE_TEST_MODULE |
( |
|
name | ) |
|
Value: { \
#name, \
tests_##name, \
sizeof(tests_##name) / sizeof(tests_##name[0]) \
}
Definition at line 27 of file unit_test.h.
◆ MAX_ARGS
◆ MAX_SUBPROCESSES
| #define MAX_SUBPROCESSES 16 |
◆ REPEAT_TEST
◆ REPEAT_TEST_MULT
| #define REPEAT_TEST_MULT |
( |
|
fn, |
|
|
|
multiplier |
|
) |
| |
Value: static void fn(void) { \
int i; \
int repeat =
COUNT * (multiplier); \
for (i = 0; i < repeat; i++) \
fn##_internal(); \
}
Definition at line 35 of file unit_test.h.
◆ run_test_fn
◆ setup_ctx_fn
| typedef int(* setup_ctx_fn) (void) |
◆ teardown_fn
| typedef int(* teardown_fn) (void) |
◆ test_fn
| typedef void(* test_fn) (void) |
◆ tf_init()
| static int tf_init |
( |
struct tf_framework * |
tf, |
|
|
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
◆ tf_run()