/Zephyr-latest/tests/ztest/zexpect/src/ |
D | main.c | 11 #include <zephyr/ztest.h> 16 ZTEST(expect, test_fail_later) in ZTEST() function 29 ZTEST(expect, test_pass_expect_true) in ZTEST() function 35 ZTEST(expect, test_fail_expect_true) in ZTEST() function 40 ZTEST(expect, test_expect_false) in ZTEST() function 46 ZTEST(expect, test_fail_expect_false) in ZTEST() function 51 ZTEST(expect, test_expect_ok) in ZTEST() function 57 ZTEST(expect, test_fail_expect_ok) in ZTEST() function 62 ZTEST(expect, test_expect_not_ok) in ZTEST() function 68 ZTEST(expect, test_fail_expect_not_ok) in ZTEST() function [all …]
|
/Zephyr-latest/tests/unit/math_extras/ |
D | portable.c | 12 ZTEST(math_extras_portable, test_portable_u32_add) { in ZTEST() function 16 ZTEST(math_extras_portable, test_portable_u32_mul) { in ZTEST() function 20 ZTEST(math_extras_portable, test_portable_u64_add) { in ZTEST() function 24 ZTEST(math_extras_portable, test_portable_u64_mul) { in ZTEST() function 28 ZTEST(math_extras_portable, test_portable_size_add) { in ZTEST() function 32 ZTEST(math_extras_portable, test_portable_size_mul) { in ZTEST() function 36 ZTEST(math_extras_portable, test_portable_u32_clz) { in ZTEST() function 40 ZTEST(math_extras_portable, test_portable_u64_clz) { in ZTEST() function 44 ZTEST(math_extras_portable, test_portable_u32_ctz) { in ZTEST() function 48 ZTEST(math_extras_portable, test_portable_u64_ctz) { in ZTEST() function
|
D | main.c | 12 ZTEST(math_extras, test_u32_add) { in ZTEST() function 16 ZTEST(math_extras, test_u32_mul) { in ZTEST() function 20 ZTEST(math_extras, test_u64_add) { in ZTEST() function 24 ZTEST(math_extras, test_u64_mul) { in ZTEST() function 28 ZTEST(math_extras, test_size_add) { in ZTEST() function 32 ZTEST(math_extras, test_size_mul) { in ZTEST() function 36 ZTEST(math_extras, test_u32_clz) { in ZTEST() function 40 ZTEST(math_extras, test_u64_clz) { in ZTEST() function 44 ZTEST(math_extras, test_u32_ctz) { in ZTEST() function 48 ZTEST(math_extras, test_u64_ctz) { in ZTEST() function
|
/Zephyr-latest/tests/drivers/sensor/sbs_gauge/src/ |
D | test_sbs_gauge.c | 9 #include <zephyr/ztest.h> 38 ZTEST(sbs_gauge, test_get_gauge_voltage) in ZTEST() function 43 ZTEST(sbs_gauge, test_get_gauge_avg_current) in ZTEST() function 48 ZTEST(sbs_gauge, test_get_gauge_get_temperature) in ZTEST() function 53 ZTEST(sbs_gauge, test_get_state_of_charge) in ZTEST() function 58 ZTEST(sbs_gauge, test_get_full_charge_capacity) in ZTEST() function 63 ZTEST(sbs_gauge, test_get_rem_charge_capacity) in ZTEST() function 68 ZTEST(sbs_gauge, test_get_nom_avail_capacity) in ZTEST() function 73 ZTEST(sbs_gauge, test_get_full_avail_capacity) in ZTEST() function 78 ZTEST(sbs_gauge, test_get_average_time_to_empty) in ZTEST() function [all …]
|
/Zephyr-latest/tests/lib/net_buf/buf_simple/src/ |
D | main.c | 42 ZTEST(net_buf_simple_test_suite, test_net_buf_simple_clone) in ZTEST() function 51 ZTEST(net_buf_simple_test_suite, test_net_buf_simple_pull_le16) in ZTEST() function 59 ZTEST(net_buf_simple_test_suite, test_net_buf_simple_pull_be16) in ZTEST() function 67 ZTEST(net_buf_simple_test_suite, test_net_buf_simple_add_le16) in ZTEST() function 75 ZTEST(net_buf_simple_test_suite, test_net_buf_simple_add_be16) in ZTEST() function 83 ZTEST(net_buf_simple_test_suite, test_net_buf_simple_pull_le24) in ZTEST() function 91 ZTEST(net_buf_simple_test_suite, test_net_buf_simple_pull_be24) in ZTEST() function 99 ZTEST(net_buf_simple_test_suite, test_net_buf_simple_add_le24) in ZTEST() function 107 ZTEST(net_buf_simple_test_suite, test_net_buf_simple_add_be24) in ZTEST() function 115 ZTEST(net_buf_simple_test_suite, test_net_buf_simple_pull_le32) in ZTEST() function [all …]
|
/Zephyr-latest/tests/bluetooth/addr/src/ |
D | test_bt_addr_from_str.c | 6 #include <zephyr/ztest.h> 10 ZTEST(bt_addr_from_str, test_reject_empty_string) in ZTEST() function 18 ZTEST(bt_addr_from_str, test_reject_missing_octet) in ZTEST() function 26 ZTEST(bt_addr_from_str, test_reject_empty_octet) in ZTEST() function 34 ZTEST(bt_addr_from_str, test_reject_short_octet) in ZTEST() function 42 ZTEST(bt_addr_from_str, test_reject_trailing_colon) in ZTEST() function 50 ZTEST(bt_addr_from_str, test_reject_octet_colon_a) in ZTEST() function 58 ZTEST(bt_addr_from_str, test_reject_octet_colon_b) in ZTEST() function 66 ZTEST(bt_addr_from_str, test_reject_octet_space_a) in ZTEST() function 74 ZTEST(bt_addr_from_str, test_reject_octet_space_b) in ZTEST() function [all …]
|
D | test_bt_addr_le_eq.c | 6 #include <zephyr/ztest.h> 10 ZTEST(bt_addr_le_eq, test_all_zero) in ZTEST() function 18 ZTEST(bt_addr_le_eq, test_type_not_zero) in ZTEST() function 26 ZTEST(bt_addr_le_eq, test_type_matters) in ZTEST() function 36 ZTEST(bt_addr_le_eq, test_address_matters_start) in ZTEST() function 46 ZTEST(bt_addr_le_eq, test_address_matters_end) in ZTEST() function 56 ZTEST(bt_addr_le_eq, test_only_type_and_address_matters) in ZTEST() function 72 ZTEST(bt_addr_le_eq, test_same_object) in ZTEST() function
|
/Zephyr-latest/tests/ztest/base/ |
D | testcase.yaml | 5 testing.ztest.base: 7 testing.ztest.base.cpp: 14 testing.ztest.base.verbose_0: 18 testing.ztest.base.verbose_0_userspace: 27 testing.ztest.base.verbose_1: 31 testing.ztest.base.verbose_2:
|
/Zephyr-latest/tests/bluetooth/uuid/src/ |
D | test_bt_uuid_to_str.c | 11 #include <zephyr/ztest.h> 41 ZTEST(bt_uuid_to_str, test_null_terminated_type_16) in ZTEST() function 46 ZTEST(bt_uuid_to_str, test_null_terminated_type_32) in ZTEST() function 51 ZTEST(bt_uuid_to_str, test_null_terminated_type_128) in ZTEST() function 56 ZTEST(bt_uuid_to_str, test_padding_type_16) in ZTEST() function 61 ZTEST(bt_uuid_to_str, test_padding_type_32) in ZTEST() function 66 ZTEST(bt_uuid_to_str, test_padding_type_128) in ZTEST() function 72 ZTEST(bt_uuid_to_str, test_ordering_type_16) in ZTEST() function 78 ZTEST(bt_uuid_to_str, test_ordering_type_32) in ZTEST() function 83 ZTEST(bt_uuid_to_str, test_ordering_type_128) in ZTEST() function
|
/Zephyr-latest/tests/drivers/uart/uart_async_api/ |
D | testcase.yaml | 12 harness: ztest 18 harness: ztest 36 harness: ztest 44 harness: ztest 67 harness: ztest 71 harness: ztest 95 harness: ztest 108 harness: ztest 119 harness: ztest
|
/Zephyr-latest/tests/subsys/display/cfb/basic/src/ |
D | draw_text_rectspace1016.c | 8 #include <zephyr/ztest.h> 67 ZTEST(draw_text_rectspace1016, test_draw_text_at_0_0) in ZTEST() function 75 ZTEST(draw_text_rectspace1016, test_draw_text_at_1_1) in ZTEST() function 86 ZTEST(draw_text_rectspace1016, test_draw_text_at_9_15) in ZTEST() function 94 ZTEST(draw_text_rectspace1016, test_draw_text_at_10_16) in ZTEST() function 102 ZTEST(draw_text_rectspace1016, test_draw_text_at_11_17) in ZTEST() function 113 ZTEST(draw_text_rectspace1016, test_draw_text_at_0_0_kerning_3) in ZTEST() function 122 ZTEST(draw_text_rectspace1016, test_draw_text_at_1_1_kerning_3) in ZTEST() function 131 ZTEST(draw_text_rectspace1016, test_draw_text_at_9_15_kerning_3) in ZTEST() function 140 ZTEST(draw_text_rectspace1016, test_draw_text_at_10_16_kerning_3) in ZTEST() function [all …]
|
D | print_rectspace1016.c | 8 #include <zephyr/ztest.h> 67 ZTEST(print_rectspace1016, test_print_at_0_0) in ZTEST() function 75 ZTEST(print_rectspace1016, test_print_at_1_1) in ZTEST() function 86 ZTEST(print_rectspace1016, test_print_at_9_15) in ZTEST() function 94 ZTEST(print_rectspace1016, test_print_at_10_16) in ZTEST() function 102 ZTEST(print_rectspace1016, test_print_at_11_17) in ZTEST() function 113 ZTEST(print_rectspace1016, test_print_at_0_0_kerning_3) in ZTEST() function 122 ZTEST(print_rectspace1016, test_print_at_1_1_kerning_3) in ZTEST() function 131 ZTEST(print_rectspace1016, test_print_at_9_15_kerning_3) in ZTEST() function 140 ZTEST(print_rectspace1016, test_print_at_10_16_kerning_3) in ZTEST() function [all …]
|
D | draw_point.c | 8 #include <zephyr/ztest.h> 50 ZTEST(draw_point, test_draw_point_at_0_0) in ZTEST() function 60 ZTEST(draw_point, test_draw_point_at_1_1) in ZTEST() function 73 ZTEST(draw_point, test_draw_pont_at_9_15) in ZTEST() function 83 ZTEST(draw_point, test_draw_point_at_10_16) in ZTEST() function 93 ZTEST(draw_point, test_draw_point_at_11_17) in ZTEST() function 103 ZTEST(draw_point, test_draw_point_twice_on_same_tile) in ZTEST() function 122 ZTEST(draw_point, test_draw_point_outside_top_left) in ZTEST() function 132 ZTEST(draw_point, test_draw_point_outside_top_right) in ZTEST() function 142 ZTEST(draw_point, test_draw_point_outside_bottom_right) in ZTEST() function [all …]
|
D | invert_area.c | 8 #include <zephyr/ztest.h> 47 ZTEST(invert_area, test_invert_area_whole_screen) in ZTEST() function 55 ZTEST(invert_area, test_invert_area_overlapped_2times) in ZTEST() function 67 ZTEST(invert_area, test_invert_area_overlap_top_left) in ZTEST() function 75 ZTEST(invert_area, test_invert_area_overlap_top_right) in ZTEST() function 83 ZTEST(invert_area, test_invert_area_overlap_bottom_left) in ZTEST() function 91 ZTEST(invert_area, test_invert_area_overlap_bottom_right) in ZTEST() function 102 ZTEST(invert_area, test_invert_area_outside_top_left) in ZTEST() function 107 ZTEST(invert_area, test_invert_area_outside_bottom_right) in ZTEST() function
|
/Zephyr-latest/tests/drivers/can/shell/src/ |
D | main.c | 14 #include <zephyr/ztest.h> 91 ZTEST(can_shell, test_can_start) in ZTEST() function 101 ZTEST(can_shell, test_can_stop) in ZTEST() function 111 ZTEST(can_shell, test_can_show) in ZTEST() function 127 ZTEST(can_shell, test_can_bitrate_missing_value) in ZTEST() function 156 ZTEST(can_shell, test_can_bitrate) in ZTEST() function 161 ZTEST(can_shell, test_can_bitrate_sample_point) in ZTEST() function 166 ZTEST(can_shell, test_can_dbitrate_missing_value) in ZTEST() function 201 ZTEST(can_shell, test_can_dbitrate) in ZTEST() function 206 ZTEST(can_shell, test_can_dbitrate_sample_point) in ZTEST() function [all …]
|
/Zephyr-latest/tests/misc/kconfigoptions/src/ |
D | main.c | 7 #include <zephyr/ztest.h> 13 ZTEST(kconfigoptions, test_kconfigoptions_array_hex) in ZTEST() function 19 ZTEST(kconfigoptions, test_kconfigoptions_array_int) in ZTEST() function 25 ZTEST(kconfigoptions, test_kconfigoptions_addr_nodelabel) in ZTEST() function 31 ZTEST(kconfigoptions, test_kconfigoptions_size_nodelabel) in ZTEST() function
|
/Zephyr-latest/tests/drivers/regulator/api/src/ |
D | main.c | 8 #include <zephyr/ztest.h> 39 ZTEST(regulator_api, test_parent_dvs_state_set_not_implemented) in ZTEST() function 46 ZTEST(regulator_api, test_parent_dvs_state_set_ok) in ZTEST() function 58 ZTEST(regulator_api, test_parent_dvs_state_set_fail) in ZTEST() function 70 ZTEST(regulator_api, test_parent_ship_mode_not_implemented) in ZTEST() function 77 ZTEST(regulator_api, test_parent_ship_mode_ok) in ZTEST() function 88 ZTEST(regulator_api, test_parent_ship_mode_fail) in ZTEST() function 99 ZTEST(regulator_api, test_common_config) in ZTEST() function 138 ZTEST(regulator_api, test_common_is_init_enabled) in ZTEST() function 148 ZTEST(regulator_api, test_enable_disable) in ZTEST() function [all …]
|
/Zephyr-latest/tests/modules/thrift/ThriftTest/src/ |
D | client.cpp | 7 #include <zephyr/ztest.h> 24 ZTEST(thrift, test_void) in ZTEST() function 29 ZTEST(thrift, test_string) in ZTEST() function 36 ZTEST(thrift, test_bool) in ZTEST() function 42 ZTEST(thrift, test_byte) in ZTEST() function 52 ZTEST(thrift, test_i32) in ZTEST() function 62 ZTEST(thrift, test_i64) in ZTEST() function 72 ZTEST(thrift, test_double) in ZTEST() function 83 ZTEST(thrift, test_binary) in ZTEST() function 95 ZTEST(thrift, test_struct) in ZTEST() function [all …]
|
/Zephyr-latest/tests/drivers/stepper/shell/src/ |
D | main.c | 14 #include <zephyr/ztest.h> 43 ZTEST(stepper_shell, test_stepper_enable) in ZTEST() function 58 ZTEST(stepper_shell, test_stepper_move_by) in ZTEST() function 67 ZTEST(stepper_shell, test_stepper_set_max_velocity) in ZTEST() function 76 ZTEST(stepper_shell, test_stepper_set_micro_step_res) in ZTEST() function 86 ZTEST(stepper_shell, test_stepper_set_micro_step_res_invalid_value) in ZTEST() function 94 ZTEST(stepper_shell, test_stepper_get_micro_step_res) in ZTEST() function 102 ZTEST(stepper_shell, test_stepper_set_reference_position) in ZTEST() function 112 ZTEST(stepper_shell, test_stepper_get_actual_position) in ZTEST() function 120 ZTEST(stepper_shell, test_stepper_move_to) in ZTEST() function [all …]
|
/Zephyr-latest/tests/subsys/pm/power_mgmt_soc/src/ |
D | main.c | 10 #include <zephyr/ztest.h> 17 ZTEST(power_mgmt, test_pm_dummyinit) in ZTEST() function 22 ZTEST(power_mgmt, test_pm_singlethread) in ZTEST() function 27 ZTEST(power_mgmt, test_pm_multithread) in ZTEST() function
|
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/dummy/agnostic/group2/src/ |
D | main.c | 7 #include <zephyr/ztest.h> 17 * This test verifies various assert macros provided by ztest. 20 ZTEST(a2_tests, test_assert1) in ZTEST() function 30 ZTEST(a2_tests, test_assert2) in ZTEST() function 40 ZTEST(a3_tests, test_assert1) in ZTEST() function
|
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/dummy/agnostic_cpp/group2/src/ |
D | main.cpp | 7 #include <zephyr/ztest.h> 20 * This test verifies various assert macros provided by ztest. 23 ZTEST(a2_tests, test_assert1) in ZTEST() function 33 ZTEST(a2_tests, test_assert2) in ZTEST() function 43 ZTEST(a3_tests, test_assert1) in ZTEST() function
|
/Zephyr-latest/tests/subsys/bindesc/definition/src/ |
D | main.c | 7 #include <zephyr/ztest.h> 23 ZTEST(bindesc_define, test_version_number) in ZTEST() function 29 ZTEST(bindesc_define, test_custom_bindesc_str) in ZTEST() function 35 ZTEST(bindesc_define, test_custom_bindesc_uint) in ZTEST() function 41 ZTEST(bindesc_define, test_custom_bindesc_bytes) in ZTEST() function
|
/Zephyr-latest/tests/kernel/obj_core/obj_core/src/ |
D | main.c | 7 #include <zephyr/ztest.h> 127 ZTEST(obj_core, test_obj_core_thread) in ZTEST() function 175 ZTEST(obj_core, test_obj_core_system) in ZTEST() function 195 ZTEST(obj_core, test_obj_core_sys_mem_block) in ZTEST() function 201 ZTEST(obj_core, test_obj_core_mem_slab) in ZTEST() function 208 ZTEST(obj_core, test_obj_core_timer) in ZTEST() function 215 ZTEST(obj_core, test_obj_core_stack) in ZTEST() function 222 ZTEST(obj_core, test_obj_core_fifo) in ZTEST() function 229 ZTEST(obj_core, test_obj_core_lifo) in ZTEST() function 236 ZTEST(obj_core, test_obj_core_pipe) in ZTEST() function [all …]
|
/Zephyr-latest/tests/ztest/ztest_param/pytest/ |
D | test_parameters.py | 8 lines = shell.exec_command('ztest shuffle -c 1 -s 1') 16 lines = shell.exec_command('ztest run-testcase ztest_params::test_dummy') 22 lines = shell.exec_command('ztest run-testcase ztest_params::test_dummy -r 2') 29 lines = shell.exec_command('ztest run-testsuite ztest_params -r 2') 36 lines = shell.exec_command('ztest run-testsuite ztest_params') 42 lines = shell.exec_command('ztest run-testcase ztest_params::test_int_param -p 44') 49 … lines = shell.exec_command(f'ztest run-testcase ztest_params::test_string_param -p {test_input}')
|