Lines Matching refs:suite

359 struct ztest_unit_test *z_ztest_get_next_test(const char *suite, struct ztest_unit_test *prev);
409 #define Z_TEST_P(suite, fn, t_options) \ argument
410 struct ztest_unit_test_stats z_ztest_unit_test_stats_##suite##_##fn; \
411 static void _##suite##_##fn##_wrapper(void *data); \
412 static void suite##_##fn(void *data); \
413 static STRUCT_SECTION_ITERABLE(ztest_unit_test, z_ztest_unit_test__##suite##__##fn) = { \
414 .test_suite_name = STRINGIFY(suite), \
416 .test = (_##suite##_##fn##_wrapper), \
418 .stats = &z_ztest_unit_test_stats_##suite##_##fn \
420 static void _##suite##_##fn##_wrapper(void *wrapper_data) \
422 suite##_##fn(wrapper_data); \
424 static inline void suite##_##fn(void *data)
427 #define ZTEST_P(suite, fn) Z_TEST_P(suite, fn, 0) argument
429 #define Z_TEST(suite, fn, t_options, use_fixture) \ argument
430 struct ztest_unit_test_stats z_ztest_unit_test_stats_##suite##_##fn; \
431 static void _##suite##_##fn##_wrapper(void *data); \
432 static void suite##_##fn( \
433 COND_CODE_1(use_fixture, (struct suite##_fixture *fixture), (void))); \
434 static STRUCT_SECTION_ITERABLE(ztest_unit_test, z_ztest_unit_test__##suite##__##fn) = { \
435 .test_suite_name = STRINGIFY(suite), \
437 .test = (_##suite##_##fn##_wrapper), \
439 .stats = &z_ztest_unit_test_stats_##suite##_##fn \
441 static void _##suite##_##fn##_wrapper(void *wrapper_data) \
443 COND_CODE_1(use_fixture, (suite##_##fn((struct suite##_fixture *)wrapper_data);), \
444 (ARG_UNUSED(wrapper_data); suite##_##fn();)) \
446 static inline void suite##_##fn( \
447 COND_CODE_1(use_fixture, (struct suite##_fixture *fixture), (void)))
449 #define Z_ZTEST(suite, fn, t_options) Z_TEST(suite, fn, t_options, 0) argument
450 #define Z_ZTEST_F(suite, fn, t_options) Z_TEST(suite, fn, t_options, 1) argument
482 #define ZTEST(suite, fn) Z_ZTEST(suite, fn, 0) argument
493 #define ZTEST_USER(suite, fn) Z_ZTEST(suite, fn, K_USER) argument
504 #define ZTEST_F(suite, fn) Z_ZTEST_F(suite, fn, 0) argument
515 #define ZTEST_USER_F(suite, fn) Z_ZTEST_F(suite, fn, K_USER) argument
589 #define ztest_run_test_suite(suite, shuffle, suite_iter, case_iter, param) \ argument
590 z_ztest_run_test_suite(STRINGIFY(suite), shuffle, suite_iter, case_iter, param)
598 bool (*should_suite_run)(const void *state, struct ztest_suite_node *suite);
599 bool (*should_test_run)(const char *suite, const char *test);