Lines Matching refs:teardown

1452 #define _unit_test_teardown(test, teardown) \
1453 { #test "_" #teardown, teardown, UNIT_TEST_FUNCTION_TYPE_TEARDOWN }
1455 /** Initializes a UnitTest structure with a teardown function.
1459 #define unit_test_teardown(test, teardown) \
1462 _unit_test_teardown(test, teardown)
1471 /** Initializes a UnitTest structure for a group teardown function.
1475 #define group_test_teardown(teardown) \
1476 { "group_" #teardown, teardown, UNIT_TEST_FUNCTION_TYPE_GROUP_TEARDOWN }
1480 * and a teardown function. Either setup or teardown can be NULL.
1485 #define unit_test_setup_teardown(test, setup, teardown) \
1488 _unit_test_teardown(test, teardown)
1497 /** Initializes a CMUnitTest structure with a teardown function. */
1498 #define cmocka_unit_test_teardown(f, teardown) { #f, f, NULL, teardown }
1502 * and a teardown function. Either setup or teardown can be NULL.
1504 #define cmocka_unit_test_setup_teardown(f, setup, teardown) { #f, f, setup, teardown }
1518 * @param[in] group_teardown The teardown function to be called after all
1536 * static int teardown(void **state) {
1554 * cmocka_unit_test_setup_teardown(int_test_success, setup, teardown),
1586 * @param[in] group_teardown The teardown function to be called after all
1604 * static int teardown(void **state) {
1622 * cmocka_unit_test_setup_teardown(int_test_success, setup, teardown),
1852 /* Function prototype for setup, test and teardown functions. */
1870 * NOTE: Every setup function must be paired with a teardown function. It's
1881 UnitTestFunction teardown;
1889 /* Function prototype for setup and teardown functions. */