Home
last modified time | relevance | path

Searched refs:ztest_unit_test (Results 1 – 25 of 57) sorted by relevance

123

/Zephyr-latest/scripts/tests/twister/test_data/testsuites/tests/test_a/
Dtest_ztest_error.c16 ztest_unit_test(1a), ztest_unit_test(test_1b), in test_main()
17 ztest_unit_test(test_1c) in test_main()
22 ztest_unit_test(test_2a), in test_main()
23 ztest_unit_test(test_2b) in test_main()
Dtest_ztest_error_1.c8 ztest_unit_test(test_unit_1a),
10 ztest_unit_test(test_unit_1b),
12 ztest_unit_test(test_Unit_1c)
/Zephyr-latest/scripts/tests/twister/test_data/testsuites/tests/test_d/
Dtest_ztest_error_register_test_suite.c8 ztest_unit_test(test_unit_1a),
9 ztest_unit_test(test_unit_1b));
/Zephyr-latest/scripts/tests/twister/test_data/testsuites/tests/
Dtest_ztest.c10 ztest_unit_test(test_unit_a), ztest_unit_test(test_unit_b),
/Zephyr-latest/subsys/testsuite/ztest/src/
Dztest_rules.c10 static void one_cpu_rule_before_each(const struct ztest_unit_test *test, void *data) in one_cpu_rule_before_each()
16 static void one_cpu_rule_after_each(const struct ztest_unit_test *test, void *data) in one_cpu_rule_after_each()
Dztest.c85 static int cleanup_test(struct ztest_unit_test *test) in cleanup_test()
312 __maybe_unused static void run_test_rules(bool is_before, struct ztest_unit_test *test, void *data) in run_test_rules()
324 static void run_test_functions(struct ztest_suite_node *suite, struct ztest_unit_test *test, in run_test_functions()
333 static int get_final_test_result(const struct ztest_unit_test *test, int ret) in get_final_test_result()
488 static int run_test(struct ztest_suite_node *suite, struct ztest_unit_test *test, void *data) in run_test()
649 struct ztest_unit_test *test = b; in test_cb()
666 static int run_test(struct ztest_suite_node *suite, struct ztest_unit_test *test, void *data) in run_test()
762 struct ztest_unit_test *z_ztest_get_next_test(const char *suite, struct ztest_unit_test *prev) in z_ztest_get_next_test()
764 struct ztest_unit_test *test = (prev == NULL) ? _ztest_unit_test_list_start : prev + 1; in z_ztest_get_next_test()
802 struct ztest_unit_test *test = NULL; in z_ztest_run_test_suite_ptr()
[all …]
/Zephyr-latest/doc/develop/test/
Dmocking.c30 ztest_unit_test(parameter_test), in test_main()
31 ztest_unit_test(return_value_test) in test_main()
/Zephyr-latest/subsys/testsuite/ztest/include/zephyr/
Dztest_test.h109 struct ztest_unit_test { struct
119 extern struct ztest_unit_test _ztest_unit_test_list_start[]; argument
120 extern struct ztest_unit_test _ztest_unit_test_list_end[];
359 struct ztest_unit_test *z_ztest_get_next_test(const char *suite, struct ztest_unit_test *prev);
413 static STRUCT_SECTION_ITERABLE(ztest_unit_test, z_ztest_unit_test__##suite##__##fn) = { \
434 static STRUCT_SECTION_ITERABLE(ztest_unit_test, z_ztest_unit_test__##suite##__##fn) = { \
526 typedef void (*ztest_rule_cb)(const struct ztest_unit_test *test, void *data);
/Zephyr-latest/include/zephyr/linker/common-rom/
Dcommon-rom-ztest.ld13 Z_LINK_ITERABLE(ztest_unit_test);
/Zephyr-latest/tests/bluetooth/host/id/bt_br_oob_get_local/src/
Dmain.c18 static void fff_reset_rule_before(const struct ztest_unit_test *test, void *fixture) in fff_reset_rule_before()
/Zephyr-latest/tests/bluetooth/host/crypto/bt_encrypt_be/src/
Dmain.c18 static void fff_reset_rule_before(const struct ztest_unit_test *test, void *fixture) in fff_reset_rule_before()
/Zephyr-latest/tests/bluetooth/host/crypto/bt_encrypt_le/src/
Dmain.c18 static void fff_reset_rule_before(const struct ztest_unit_test *test, void *fixture) in fff_reset_rule_before()
/Zephyr-latest/drivers/comparator/
Dcomparator_fake_comp.c42 static void fake_comp_reset_rule_before(const struct ztest_unit_test *test, void *fixture) in fake_comp_reset_rule_before()
/Zephyr-latest/tests/bluetooth/audio/cap_initiator/src/
Dmain.c27 static void mock_init_rule_before(const struct ztest_unit_test *test, void *fixture) in mock_init_rule_before()
32 static void mock_destroy_rule_after(const struct ztest_unit_test *test, void *fixture) in mock_destroy_rule_after()
/Zephyr-latest/tests/bluetooth/audio/cap_commander/src/
Dmain.c22 static void mock_init_rule_before(const struct ztest_unit_test *test, void *fixture) in mock_init_rule_before()
27 static void mock_destroy_rule_after(const struct ztest_unit_test *test, void *fixture) in mock_destroy_rule_after()
/Zephyr-latest/tests/bluetooth/host/id/bt_le_oob_set_legacy_tk/src/
Dmain.c19 static void fff_reset_rule_before(const struct ztest_unit_test *test, void *fixture) in fff_reset_rule_before()
/Zephyr-latest/tests/bluetooth/host/crypto/bt_rand/src/
Dmain.c20 static void fff_reset_rule_before(const struct ztest_unit_test *test, void *fixture) in fff_reset_rule_before()
/Zephyr-latest/tests/bluetooth/host/id/bt_id_init/src/
Dmain.c23 static void fff_reset_rule_before(const struct ztest_unit_test *test, void *fixture) in fff_reset_rule_before()
/Zephyr-latest/tests/ztest/base/src/
Dmain.c110 static void rule_before_each(const struct ztest_unit_test *test, void *data) in rule_before_each()
127 static void rule_after_each(const struct ztest_unit_test *test, void *data) in rule_after_each()
/Zephyr-latest/drivers/pwm/
Dpwm_fake.c29 static void fake_pwm_reset_rule_before(const struct ztest_unit_test *test, void *fixture) in fake_pwm_reset_rule_before()
/Zephyr-latest/tests/bluetooth/host/id/bt_le_oob_set_sc_data/src/
Dmain.c19 static void fff_reset_rule_before(const struct ztest_unit_test *test, void *fixture) in fff_reset_rule_before()
/Zephyr-latest/tests/bluetooth/host/id/bt_le_oob_get_sc_data/src/
Dmain.c19 static void fff_reset_rule_before(const struct ztest_unit_test *test, void *fixture) in fff_reset_rule_before()
/Zephyr-latest/drivers/eeprom/
Deeprom_fake.c36 static void fake_eeprom_reset_rule_before(const struct ztest_unit_test *test, void *fixture) in fake_eeprom_reset_rule_before()
/Zephyr-latest/tests/bluetooth/host/id/bt_lookup_id_addr/src/
Dmain.c23 static void fff_reset_rule_before(const struct ztest_unit_test *test, void *fixture) in fff_reset_rule_before()
/Zephyr-latest/tests/bluetooth/host/id/bt_le_ext_adv_oob_get_local/src/
Dmain.c22 static void fff_reset_rule_before(const struct ztest_unit_test *test, void *fixture) in fff_reset_rule_before()

123