Home
last modified time | relevance | path

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

123

/Zephyr-Core-3.4.0/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-Core-3.4.0/doc/develop/test/
Dztest_deprecated.rst73 ztest_unit_test(test_sometest1),
74 ztest_unit_test(test_sometest2),
75 ztest_unit_test(test_sometest3),
76 ztest_unit_test(test_sometest4)
93 ztest_unit_test(test_sometest1)
134 ztest_unit_test(test_case0));
136 ztest_unit_test(test_case1),
137 ztest_unit_test(test_case2));
139 ztest_unit_test(test_case3),
140 ztest_unit_test(test_case4));
[all …]
Dmocking.c30 ztest_unit_test(parameter_test), in test_main()
31 ztest_unit_test(return_value_test) in test_main()
/Zephyr-Core-3.4.0/tests/ztest/base/src/
Dmain_deprecated.c40 ztest_unit_test(test_empty_test), in test_main()
41 ztest_unit_test(test_assert_tests), in test_main()
42 ztest_unit_test(test_assert_mem_equal) in test_main()
Dmain.c92 static void rule_before_each(const struct ztest_unit_test *test, void *data) in rule_before_each()
109 static void rule_after_each(const struct ztest_unit_test *test, void *data) in rule_after_each()
/Zephyr-Core-3.4.0/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-Core-3.4.0/scripts/tests/twister/test_data/testsuites/tests/
Dtest_ztest.c10 ztest_unit_test(test_unit_a), ztest_unit_test(test_unit_b),
/Zephyr-Core-3.4.0/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_new.c80 static int cleanup_test(struct ztest_unit_test *test) in cleanup_test()
210 __maybe_unused static void run_test_rules(bool is_before, struct ztest_unit_test *test, void *data) in run_test_rules()
222 static void run_test_functions(struct ztest_suite_node *suite, struct ztest_unit_test *test, in run_test_functions()
239 static int get_final_test_result(const struct ztest_unit_test *test, int ret) in get_final_test_result()
391 static int run_test(struct ztest_suite_node *suite, struct ztest_unit_test *test, void *data) in run_test()
544 struct ztest_unit_test *test = b; in test_cb()
555 static int run_test(struct ztest_suite_node *suite, struct ztest_unit_test *test, void *data) in run_test()
653 struct ztest_unit_test *z_ztest_get_next_test(const char *suite, struct ztest_unit_test *prev) in z_ztest_get_next_test()
655 struct ztest_unit_test *test = (prev == NULL) ? _ztest_unit_test_list_start : prev + 1; in z_ztest_get_next_test()
690 struct ztest_unit_test *test = NULL; in z_ztest_run_test_suite_ptr()
[all …]
/Zephyr-Core-3.4.0/subsys/testsuite/ztest/include/zephyr/
Dztest_test_new.h98 struct ztest_unit_test { struct
108 extern struct ztest_unit_test _ztest_unit_test_list_start[]; argument
109 extern struct ztest_unit_test _ztest_unit_test_list_end[];
287 struct ztest_unit_test *z_ztest_get_next_test(const char *suite, struct ztest_unit_test *prev);
343 static STRUCT_SECTION_ITERABLE(ztest_unit_test, z_ztest_unit_test__##suite##__##fn) = { \
435 typedef void (*ztest_rule_cb)(const struct ztest_unit_test *test, void *data);
Dztest_test_deprecated.h206 #define ztest_unit_test(fn) \ macro
233 #define ztest_1cpu_unit_test(fn) ztest_unit_test(fn)
/Zephyr-Core-3.4.0/include/zephyr/linker/common-rom/
Dcommon-rom-ztest.ld13 Z_LINK_ITERABLE(ztest_unit_test);
/Zephyr-Core-3.4.0/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-Core-3.4.0/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-Core-3.4.0/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-Core-3.4.0/tests/bluetooth/host/crypto/prng_init/src/
Dmain.c20 static void fff_reset_rule_before(const struct ztest_unit_test *test, void *fixture) in fff_reset_rule_before()
/Zephyr-Core-3.4.0/tests/bluetooth/host/ecc/bt_pub_key_get/src/
Dmain.c18 static void fff_reset_rule_before(const struct ztest_unit_test *test, void *fixture) in fff_reset_rule_before()
/Zephyr-Core-3.4.0/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-Core-3.4.0/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-Core-3.4.0/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-Core-3.4.0/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-Core-3.4.0/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-Core-3.4.0/tests/bluetooth/host/id/bt_le_oob_get_local/src/
Dmain.c24 static void fff_reset_rule_before(const struct ztest_unit_test *test, void *fixture) in fff_reset_rule_before()
/Zephyr-Core-3.4.0/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()

123