36 int *val = (
int *)*state, *a;
54 int *a = (
int *)*state;
62 int *a = (
int *)*state;
#define assert_non_null(c)
static int prestate_teardown(void **state)
static int prestate_setup(void **state)
static void prestate_setup_test(void **state)
#define cmocka_unit_test_prestate_setup_teardown(f, setup, teardown, state)
Initialize a CMUnitTest structure with given initial state, setup and teardown function.
static int teardown_only(void **state)
static void malloc_teardown_test(void **state)
static int setup_only(void **state)
static void prestate_test(void **state)
#define cmocka_run_group_tests(group_tests, group_setup, group_teardown)
static void malloc_setup_test(void **state)
#define cmocka_unit_test_setup(f, setup)
Initializes a CMUnitTest structure with a setup function.
#define cmocka_unit_test_teardown(f, teardown)
Initializes a CMUnitTest structure with a teardown function.
#define cmocka_unit_test_prestate(f, state)
Initialize a CMUnitTest structure with given initial state.
#define assert_int_equal(a, b)