| /USBX-v6.2.1/test/regression/ |
| D | usbx_hub_hub_device_connect_test.c | 35 UX_TEST_ASSERT(g_host_change_count == 2); in post_init_host() 38 UX_TEST_ASSERT(g_host_change_logs[0].event == UX_DEVICE_INSERTION); in post_init_host() 39 UX_TEST_ASSERT(g_host_change_logs[0].class != UX_NULL); in post_init_host() 40 UX_TEST_ASSERT(g_host_change_logs[0].instance != UX_NULL); in post_init_host() 43 UX_TEST_ASSERT(g_host_change_logs[1].event == UX_DEVICE_CONNECTION); in post_init_host() 44 UX_TEST_ASSERT(g_host_change_logs[1].class == UX_NULL); in post_init_host() 45 UX_TEST_ASSERT(g_host_change_logs[1].instance != UX_NULL); in post_init_host() 54 UX_TEST_ASSERT(g_host_change_count == 2); in post_init_host() 57 UX_TEST_ASSERT(g_host_change_logs[0].event == UX_DEVICE_REMOVAL); in post_init_host() 58 UX_TEST_ASSERT(g_host_change_logs[0].class != UX_NULL); in post_init_host() [all …]
|
| D | usbx_ux_utility_descriptor_struct_test.c | 145 …UX_TEST_ASSERT((_ux_utility_descriptor_parse_size(_ux_system_endpoint_descriptor_structure, UX_END… in ux_test_thread_simulation_0_entry() 146 …UX_TEST_ASSERT((_ux_utility_descriptor_parse_size(_ux_system_device_descriptor_structure, UX_DEVIC… in ux_test_thread_simulation_0_entry() 147 …UX_TEST_ASSERT((_ux_utility_descriptor_parse_size(_ux_system_configuration_descriptor_structure, U… in ux_test_thread_simulation_0_entry() 148 …UX_TEST_ASSERT((_ux_utility_descriptor_parse_size(_ux_system_interface_descriptor_structure, UX_IN… in ux_test_thread_simulation_0_entry() 149 …UX_TEST_ASSERT((_ux_utility_descriptor_parse_size(_ux_system_interface_association_descriptor_stru… in ux_test_thread_simulation_0_entry() 150 …UX_TEST_ASSERT((_ux_utility_descriptor_parse_size(_ux_system_string_descriptor_structure, UX_STRIN… in ux_test_thread_simulation_0_entry() 152 …UX_TEST_ASSERT((_ux_utility_descriptor_parse_size(_ux_system_dfu_functional_descriptor_structure, … in ux_test_thread_simulation_0_entry() 154 …UX_TEST_ASSERT((_ux_utility_descriptor_parse_size(_ux_system_bos_descriptor_structure, UX_BOS_DESC… in ux_test_thread_simulation_0_entry() 155 …UX_TEST_ASSERT((_ux_utility_descriptor_parse_size(_ux_system_usb_2_0_extension_descriptor_structur… in ux_test_thread_simulation_0_entry() 156 …UX_TEST_ASSERT((_ux_utility_descriptor_parse_size(_ux_system_container_id_descriptor_structure, UX… in ux_test_thread_simulation_0_entry() [all …]
|
| D | usbx_cdc_ecm_mac_address_test.c | 56 UX_TEST_ASSERT(cdc_ecm_host->ux_host_class_cdc_ecm_node_id[0] == 0xaa); in post_init_host() 57 UX_TEST_ASSERT(cdc_ecm_host->ux_host_class_cdc_ecm_node_id[1] == 0x01); in post_init_host() 58 UX_TEST_ASSERT(cdc_ecm_host->ux_host_class_cdc_ecm_node_id[2] == 0x23); in post_init_host() 59 UX_TEST_ASSERT(cdc_ecm_host->ux_host_class_cdc_ecm_node_id[3] == 0x4b); in post_init_host() 60 UX_TEST_ASSERT(cdc_ecm_host->ux_host_class_cdc_ecm_node_id[4] == 0xcd); in post_init_host() 61 UX_TEST_ASSERT(cdc_ecm_host->ux_host_class_cdc_ecm_node_id[5] == 0xef); in post_init_host() 66 UX_TEST_ASSERT(UX_DESCRIPTOR_CORRUPTED == _ux_host_class_cdc_ecm_mac_address_get(cdc_ecm_host)); in post_init_host() 69 UX_TEST_ASSERT(UX_DESCRIPTOR_CORRUPTED == _ux_host_class_cdc_ecm_mac_address_get(cdc_ecm_host)); in post_init_host() 72 UX_TEST_ASSERT(UX_SUCCESS == _ux_host_class_cdc_ecm_mac_address_get(cdc_ecm_host)); in post_init_host()
|
| D | usbx_msrc_81109_pictbridge_array_element_to_hexa_test.c | 139 UX_TEST_ASSERT(hexa_buffer[0] == 0x88); in ux_test_thread_simulation_0_entry() 140 UX_TEST_ASSERT(hexa_buffer[1] == 0x99); in ux_test_thread_simulation_0_entry() 141 UX_TEST_ASSERT(hexa_buffer[2] == 0x10); in ux_test_thread_simulation_0_entry() 160 UX_TEST_ASSERT(hexa_buffer[0] == 0x1111); in ux_test_thread_simulation_0_entry() 161 UX_TEST_ASSERT(hexa_buffer[1] == 0); in ux_test_thread_simulation_0_entry() 170 UX_TEST_ASSERT(hexa_buffer[0] == 0x11111111); in ux_test_thread_simulation_0_entry() 171 UX_TEST_ASSERT(hexa_buffer[1] == 0x22222222); in ux_test_thread_simulation_0_entry() 172 UX_TEST_ASSERT(hexa_buffer[2] == 0x33); in ux_test_thread_simulation_0_entry() 173 UX_TEST_ASSERT(hexa_buffer[3] == 0x44); in ux_test_thread_simulation_0_entry() 174 UX_TEST_ASSERT(hexa_buffer[4] == 0x55); in ux_test_thread_simulation_0_entry() [all …]
|
| D | usbx_ux_device_class_hid_receiver_test.c | 387 UX_TEST_ASSERT(status == UX_SUCCESS); in tx_demo_thread_host_simulation_entry() 388 UX_TEST_ASSERT(test_hid_receiver_event_callback_count == 0); in tx_demo_thread_host_simulation_entry() 390 UX_TEST_ASSERT(status != UX_SUCCESS); in tx_demo_thread_host_simulation_entry() 392 UX_TEST_ASSERT(status != UX_SUCCESS); in tx_demo_thread_host_simulation_entry() 397 UX_TEST_ASSERT(status == UX_SUCCESS); in tx_demo_thread_host_simulation_entry() 399 UX_TEST_ASSERT(status == UX_SUCCESS); in tx_demo_thread_host_simulation_entry() 400 UX_TEST_ASSERT(test_hid_receiver_event_callback_count == 1); in tx_demo_thread_host_simulation_entry() 403 UX_TEST_ASSERT(status == UX_SUCCESS); in tx_demo_thread_host_simulation_entry() 404 UX_TEST_ASSERT(test_hid_receiver_event_callback_count == 2); in tx_demo_thread_host_simulation_entry() 407 UX_TEST_ASSERT(status == UX_SUCCESS); in tx_demo_thread_host_simulation_entry() [all …]
|
| D | usbx_audio20_device_basic_test.c | 527 UX_TEST_ASSERT(slave_audio_rx_transfer); in slave_audio_rx_simulate_one_frame() 945 UX_TEST_ASSERT(callback_invoke_count == 3); in tx_test_thread_host_simulation_entry() 946 UX_TEST_ASSERT(callback_invoke_log[0].func == slave_audio_tx_stream_change); in tx_test_thread_host_simulation_entry() 947 UX_TEST_ASSERT(callback_invoke_log[0].param1 == slave_audio_tx_stream); in tx_test_thread_host_simulation_entry() 948 UX_TEST_ASSERT(callback_invoke_log[0].param2 == (VOID*)1); in tx_test_thread_host_simulation_entry() 949 UX_TEST_ASSERT(callback_invoke_log[1].func == slave_audio_tx_stream_change); in tx_test_thread_host_simulation_entry() 950 UX_TEST_ASSERT(callback_invoke_log[1].param1 == slave_audio_tx_stream); in tx_test_thread_host_simulation_entry() 951 UX_TEST_ASSERT(callback_invoke_log[1].param2 == 0); in tx_test_thread_host_simulation_entry() 959 UX_TEST_ASSERT(callback_invoke_count == 3); in tx_test_thread_host_simulation_entry() 960 UX_TEST_ASSERT(callback_invoke_log[0].func == slave_audio_rx_stream_change); in tx_test_thread_host_simulation_entry() [all …]
|
| D | usbx_audio20_device_feedback_test.c | 587 UX_TEST_ASSERT(slave_audio_rx_transfer); in slave_audio_rx_simulate_one_frame() 1023 UX_TEST_ASSERT(callback_invoke_count == 3); in tx_test_thread_host_simulation_entry() 1024 UX_TEST_ASSERT(callback_invoke_log[0].func == slave_audio_tx_stream_change); in tx_test_thread_host_simulation_entry() 1025 UX_TEST_ASSERT(callback_invoke_log[0].param1 == slave_audio_tx_stream); in tx_test_thread_host_simulation_entry() 1026 UX_TEST_ASSERT(callback_invoke_log[0].param2 == (VOID*)1); in tx_test_thread_host_simulation_entry() 1027 UX_TEST_ASSERT(callback_invoke_log[1].func == slave_audio_tx_stream_change); in tx_test_thread_host_simulation_entry() 1028 UX_TEST_ASSERT(callback_invoke_log[1].param1 == slave_audio_tx_stream); in tx_test_thread_host_simulation_entry() 1029 UX_TEST_ASSERT(callback_invoke_log[1].param2 == 0); in tx_test_thread_host_simulation_entry() 1037 UX_TEST_ASSERT(callback_invoke_count == 3); in tx_test_thread_host_simulation_entry() 1038 UX_TEST_ASSERT(callback_invoke_log[0].func == slave_audio_rx_stream_change); in tx_test_thread_host_simulation_entry() [all …]
|
| D | usbx_ux_device_class_hid_read_test.c | 379 UX_TEST_ASSERT(status == UX_SUCCESS); in tx_demo_thread_host_simulation_entry() 380 UX_TEST_ASSERT(device_read_count == 1); in tx_demo_thread_host_simulation_entry() 381 UX_TEST_ASSERT(device_read_status == UX_SUCCESS); in tx_demo_thread_host_simulation_entry() 382 UX_TEST_ASSERT(device_read_actual_length == 0); in tx_demo_thread_host_simulation_entry() 388 UX_TEST_ASSERT(status == UX_SUCCESS); in tx_demo_thread_host_simulation_entry() 389 UX_TEST_ASSERT(device_read_count == 2); in tx_demo_thread_host_simulation_entry() 390 UX_TEST_ASSERT(device_read_status == UX_SUCCESS); in tx_demo_thread_host_simulation_entry() 391 UX_TEST_ASSERT(device_read_actual_length == 1); in tx_demo_thread_host_simulation_entry() 392 UX_TEST_ASSERT(device_buffer[0] == host_buffer[0]); in tx_demo_thread_host_simulation_entry() 393 UX_TEST_ASSERT(device_buffer[1] == 0X37); in tx_demo_thread_host_simulation_entry() [all …]
|
| D | usbx_audio20_device_controls_test.c | 598 UX_TEST_ASSERT(slave_audio_rx_transfer); in slave_audio_rx_simulate_one_frame() 1011 UX_TEST_ASSERT(callback_invoke_count == 3); in tx_test_thread_host_simulation_entry() 1012 UX_TEST_ASSERT(callback_invoke_log[0].func == slave_audio_tx_stream_change); in tx_test_thread_host_simulation_entry() 1013 UX_TEST_ASSERT(callback_invoke_log[0].param1 == slave_audio_tx_stream); in tx_test_thread_host_simulation_entry() 1014 UX_TEST_ASSERT(callback_invoke_log[0].param2 == (VOID*)1); in tx_test_thread_host_simulation_entry() 1015 UX_TEST_ASSERT(callback_invoke_log[1].func == slave_audio_tx_stream_change); in tx_test_thread_host_simulation_entry() 1016 UX_TEST_ASSERT(callback_invoke_log[1].param1 == slave_audio_tx_stream); in tx_test_thread_host_simulation_entry() 1017 UX_TEST_ASSERT(callback_invoke_log[1].param2 == 0); in tx_test_thread_host_simulation_entry() 1025 UX_TEST_ASSERT(callback_invoke_count == 3); in tx_test_thread_host_simulation_entry() 1026 UX_TEST_ASSERT(callback_invoke_log[0].func == slave_audio_rx_stream_change); in tx_test_thread_host_simulation_entry() [all …]
|
| D | usbx_audio10_iad_device_basic_test.c | 505 UX_TEST_ASSERT(slave_audio_rx_transfer); in slave_audio_rx_simulate_one_frame() 895 UX_TEST_ASSERT(callback_invoke_count == 3); in tx_test_thread_host_simulation_entry() 896 UX_TEST_ASSERT(callback_invoke_log[0].func == slave_audio_tx_stream_change); in tx_test_thread_host_simulation_entry() 897 UX_TEST_ASSERT(callback_invoke_log[0].param1 == slave_audio_tx_stream); in tx_test_thread_host_simulation_entry() 898 UX_TEST_ASSERT(callback_invoke_log[0].param2 == (VOID*)1); in tx_test_thread_host_simulation_entry() 899 UX_TEST_ASSERT(callback_invoke_log[1].func == slave_audio_tx_stream_change); in tx_test_thread_host_simulation_entry() 900 UX_TEST_ASSERT(callback_invoke_log[1].param1 == slave_audio_tx_stream); in tx_test_thread_host_simulation_entry() 901 UX_TEST_ASSERT(callback_invoke_log[1].param2 == 0); in tx_test_thread_host_simulation_entry() 909 UX_TEST_ASSERT(callback_invoke_count == 3); in tx_test_thread_host_simulation_entry() 910 UX_TEST_ASSERT(callback_invoke_log[0].func == slave_audio_rx_stream_change); in tx_test_thread_host_simulation_entry() [all …]
|
| D | usbx_audio10_iad_host_basic_test.c | 526 UX_TEST_ASSERT(slave_audio_rx_transfer); in slave_audio_rx_simulate_one_frame() 1098 UX_TEST_ASSERT(callback_invoke_count == 1); in _feature_control_tests() 1099 UX_TEST_ASSERT(callback_invoke_log[0].func == slave_audio_control_process); in _feature_control_tests() 1100 …UX_TEST_ASSERT(callback_invoke_log[0].param1 == slave_audio_rx_stream->ux_device_class_audio_strea… in _feature_control_tests() 1107 UX_TEST_ASSERT(callback_invoke_count == 2); in _feature_control_tests() 1108 UX_TEST_ASSERT(callback_invoke_log[1].func == slave_audio_control_process); in _feature_control_tests() 1109 …UX_TEST_ASSERT(callback_invoke_log[1].param1 == slave_audio_rx_stream->ux_device_class_audio_strea… in _feature_control_tests() 1115 UX_TEST_ASSERT(callback_invoke_count == 3); in _feature_control_tests() 1116 UX_TEST_ASSERT(callback_invoke_log[2].func == slave_audio_control_process); in _feature_control_tests() 1117 …UX_TEST_ASSERT(callback_invoke_log[2].param1 == slave_audio_rx_stream->ux_device_class_audio_strea… in _feature_control_tests() [all …]
|
| D | usbx_audio10_device_basic_test.c | 495 UX_TEST_ASSERT(slave_audio_rx_transfer); in slave_audio_rx_simulate_one_frame() 920 UX_TEST_ASSERT(callback_invoke_count == 3); in tx_test_thread_host_simulation_entry() 921 UX_TEST_ASSERT(callback_invoke_log[0].func == slave_audio_tx_stream_change); in tx_test_thread_host_simulation_entry() 922 UX_TEST_ASSERT(callback_invoke_log[0].param1 == slave_audio_tx_stream); in tx_test_thread_host_simulation_entry() 923 UX_TEST_ASSERT(callback_invoke_log[0].param2 == (VOID*)1); in tx_test_thread_host_simulation_entry() 924 UX_TEST_ASSERT(callback_invoke_log[1].func == slave_audio_tx_stream_change); in tx_test_thread_host_simulation_entry() 925 UX_TEST_ASSERT(callback_invoke_log[1].param1 == slave_audio_tx_stream); in tx_test_thread_host_simulation_entry() 926 UX_TEST_ASSERT(callback_invoke_log[1].param2 == 0); in tx_test_thread_host_simulation_entry() 934 UX_TEST_ASSERT(callback_invoke_count == 3); in tx_test_thread_host_simulation_entry() 935 UX_TEST_ASSERT(callback_invoke_log[0].func == slave_audio_rx_stream_change); in tx_test_thread_host_simulation_entry() [all …]
|
| D | usbx_audio10_device_feedback_test.c | 555 UX_TEST_ASSERT(slave_audio_rx_transfer); in slave_audio_rx_simulate_one_frame() 969 UX_TEST_ASSERT(callback_invoke_count == 3); in tx_test_thread_host_simulation_entry() 970 UX_TEST_ASSERT(callback_invoke_log[0].func == slave_audio_tx_stream_change); in tx_test_thread_host_simulation_entry() 971 UX_TEST_ASSERT(callback_invoke_log[0].param1 == slave_audio_tx_stream); in tx_test_thread_host_simulation_entry() 972 UX_TEST_ASSERT(callback_invoke_log[0].param2 == (VOID*)1); in tx_test_thread_host_simulation_entry() 973 UX_TEST_ASSERT(callback_invoke_log[1].func == slave_audio_tx_stream_change); in tx_test_thread_host_simulation_entry() 974 UX_TEST_ASSERT(callback_invoke_log[1].param1 == slave_audio_tx_stream); in tx_test_thread_host_simulation_entry() 975 UX_TEST_ASSERT(callback_invoke_log[1].param2 == 0); in tx_test_thread_host_simulation_entry() 983 UX_TEST_ASSERT(callback_invoke_count == 3); in tx_test_thread_host_simulation_entry() 984 UX_TEST_ASSERT(callback_invoke_log[0].func == slave_audio_rx_stream_change); in tx_test_thread_host_simulation_entry() [all …]
|
| D | usbx_audio20_host_basic_test.c | 563 UX_TEST_ASSERT(slave_audio_rx_transfer); in slave_audio_rx_simulate_one_frame() 1274 UX_TEST_ASSERT(callback_invoke_count == 1); in _feature_control_tests() 1275 UX_TEST_ASSERT(callback_invoke_log[0].func == slave_audio_control_process); in _feature_control_tests() 1276 …UX_TEST_ASSERT(callback_invoke_log[0].param1 == slave_audio_rx_stream->ux_device_class_audio_strea… in _feature_control_tests() 1283 UX_TEST_ASSERT(callback_invoke_count == 2); in _feature_control_tests() 1284 UX_TEST_ASSERT(callback_invoke_log[1].func == slave_audio_control_process); in _feature_control_tests() 1285 …UX_TEST_ASSERT(callback_invoke_log[1].param1 == slave_audio_rx_stream->ux_device_class_audio_strea… in _feature_control_tests() 1291 UX_TEST_ASSERT(callback_invoke_count == 3); in _feature_control_tests() 1292 UX_TEST_ASSERT(callback_invoke_log[2].func == slave_audio_control_process); in _feature_control_tests() 1293 …UX_TEST_ASSERT(callback_invoke_log[2].param1 == slave_audio_rx_stream->ux_device_class_audio_strea… in _feature_control_tests() [all …]
|
| D | usbx_msrc_73716_cdc_ecm_mac_get_desc_check.c | 31 UX_TEST_ASSERT(status == UX_DEVICE_HANDLE_UNKNOWN); in post_init_host() 35 UX_TEST_ASSERT(status == UX_SUCCESS && device -> ux_device_state != UX_DEVICE_CONFIGURED); in post_init_host() 41 UX_TEST_ASSERT(status == UX_DEVICE_HANDLE_UNKNOWN); in post_init_host() 45 UX_TEST_ASSERT(status == UX_SUCCESS && device -> ux_device_state != UX_DEVICE_CONFIGURED); in post_init_host() 51 UX_TEST_ASSERT(status == UX_DEVICE_HANDLE_UNKNOWN); in post_init_host() 55 UX_TEST_ASSERT(status == UX_SUCCESS && device -> ux_device_state != UX_DEVICE_CONFIGURED); in post_init_host()
|
| D | usbx_ux_device_class_video_basic_tests.c | 492 UX_TEST_ASSERT(device_video_rx_transfer); in device_video_rx_simulate_one_payload() 901 UX_TEST_ASSERT(callback_invoke_count == 3); in tx_test_thread_host_simulation_entry() 902 UX_TEST_ASSERT(callback_invoke_log[0].func == device_video_tx_stream_change); in tx_test_thread_host_simulation_entry() 903 UX_TEST_ASSERT(callback_invoke_log[0].param1 == device_video_tx_stream); in tx_test_thread_host_simulation_entry() 904 UX_TEST_ASSERT(callback_invoke_log[0].param2 == (VOID*)1); in tx_test_thread_host_simulation_entry() 905 UX_TEST_ASSERT(callback_invoke_log[1].func == device_video_tx_stream_change); in tx_test_thread_host_simulation_entry() 906 UX_TEST_ASSERT(callback_invoke_log[1].param1 == device_video_tx_stream); in tx_test_thread_host_simulation_entry() 907 UX_TEST_ASSERT(callback_invoke_log[1].param2 == 0); in tx_test_thread_host_simulation_entry() 915 UX_TEST_ASSERT(callback_invoke_count == 3); in tx_test_thread_host_simulation_entry() 916 UX_TEST_ASSERT(callback_invoke_log[0].func == device_video_rx_stream_change); in tx_test_thread_host_simulation_entry() [all …]
|
| D | usbx_ux_host_class_cdc_ecm_entry_test.c | 31 UX_TEST_ASSERT(_ux_host_class_cdc_ecm_entry(&command) != UX_SUCCESS); in post_init_host() 38 UX_TEST_ASSERT(_ux_host_class_cdc_ecm_entry(&command) != UX_SUCCESS); in post_init_host() 45 UX_TEST_ASSERT(_ux_host_class_cdc_ecm_entry(&command) != UX_SUCCESS); in post_init_host() 54 UX_TEST_ASSERT(_ux_host_class_cdc_ecm_entry(&command) != UX_SUCCESS); in post_init_host() 62 UX_TEST_ASSERT(_ux_host_class_cdc_ecm_entry(&command) != UX_SUCCESS); in post_init_host() 71 UX_TEST_ASSERT(_ux_host_class_cdc_ecm_entry(&command) != UX_SUCCESS); in post_init_host()
|
| D | usbx_audio10_iad_device_control_test.c | 509 UX_TEST_ASSERT(slave_audio_rx_transfer); in slave_audio_rx_simulate_one_frame() 916 … UX_TEST_ASSERT(g_slave_audio10_control[test_n].ux_device_class_audio10_control_changed == 0); in tx_test_thread_host_simulation_entry() 922 …UX_TEST_ASSERT(g_slave_audio10_control[test_n].ux_device_class_audio10_control_changed == UX_DEVIC… in tx_test_thread_host_simulation_entry() 923 … UX_TEST_ASSERT(g_slave_audio10_control[test_n].ux_device_class_audio10_control_mute[0] == 1); in tx_test_thread_host_simulation_entry() 929 …UX_TEST_ASSERT(g_slave_audio10_control[test_n].ux_device_class_audio10_control_changed == UX_DEVIC… in tx_test_thread_host_simulation_entry() 930 … UX_TEST_ASSERT(g_slave_audio10_control[test_n].ux_device_class_audio10_control_mute[0] == 0); in tx_test_thread_host_simulation_entry() 936 …UX_TEST_ASSERT(g_slave_audio10_control[test_n].ux_device_class_audio10_control_changed == UX_DEVIC… in tx_test_thread_host_simulation_entry() 937 … UX_TEST_ASSERT(g_slave_audio10_control[test_n].ux_device_class_audio10_control_mute[0] == 1); in tx_test_thread_host_simulation_entry() 946 …UX_TEST_ASSERT(g_slave_audio10_control[test_n].ux_device_class_audio10_control_changed == UX_DEVIC… in tx_test_thread_host_simulation_entry() 947 …UX_TEST_ASSERT(g_slave_audio10_control[test_n].ux_device_class_audio10_control_volume[0] == 0x0003… in tx_test_thread_host_simulation_entry() [all …]
|
| D | usbx_msrc_81428_81429_host_audio_ac_search_test.c | 1002 UX_TEST_ASSERT(host_audio_ac == UX_NULL); in _msrc_81428_audio_ac_type_tests() 1003 UX_TEST_ASSERT(host_audio_rx == UX_NULL); in _msrc_81428_audio_ac_type_tests() 1004 UX_TEST_ASSERT(host_audio_tx == UX_NULL); in _msrc_81428_audio_ac_type_tests() 1018 UX_TEST_ASSERT(host_audio_ac != UX_NULL); in _msrc_81428_audio_ac_type_tests() 1019 UX_TEST_ASSERT(host_audio_rx != UX_NULL); in _msrc_81428_audio_ac_type_tests() 1020 UX_TEST_ASSERT(host_audio_tx != UX_NULL); in _msrc_81428_audio_ac_type_tests() 1021 UX_TEST_ASSERT(host_audio_ac->ux_host_class_audio_as_count == 2); in _msrc_81428_audio_ac_type_tests() 1022 UX_TEST_ASSERT(host_audio_ac->ux_host_class_audio_as[0] == host_audio_rx); in _msrc_81428_audio_ac_type_tests() 1023 UX_TEST_ASSERT(host_audio_ac->ux_host_class_audio_as[1] == host_audio_tx); in _msrc_81428_audio_ac_type_tests() 1024 UX_TEST_ASSERT(host_audio_rx -> ux_host_class_audio_ac == host_audio_ac); in _msrc_81428_audio_ac_type_tests() [all …]
|
| D | usbx_ux_host_stack_device_string_get_test.c | 390 UX_TEST_ASSERT(host_in_buffer[0] == 4); in tx_demo_thread_host_simulation_entry() 391 UX_TEST_ASSERT(host_in_buffer[1] == UX_STRING_DESCRIPTOR_ITEM); in tx_demo_thread_host_simulation_entry() 392 UX_TEST_ASSERT(host_in_buffer[2] == 0x09); in tx_demo_thread_host_simulation_entry() 393 UX_TEST_ASSERT(host_in_buffer[3] == 0x04); in tx_demo_thread_host_simulation_entry() 402 UX_TEST_ASSERT(host_in_buffer[0] >= 10); in tx_demo_thread_host_simulation_entry() 403 UX_TEST_ASSERT(host_in_buffer[1] == UX_STRING_DESCRIPTOR_ITEM); in tx_demo_thread_host_simulation_entry() 404 UX_TEST_ASSERT(host_in_buffer[2] == 0x30); in tx_demo_thread_host_simulation_entry() 405 UX_TEST_ASSERT(host_in_buffer[3] == 0x00); in tx_demo_thread_host_simulation_entry() 406 UX_TEST_ASSERT(host_in_buffer[4] == 0x30); in tx_demo_thread_host_simulation_entry() 407 UX_TEST_ASSERT(host_in_buffer[5] == 0x00); in tx_demo_thread_host_simulation_entry() [all …]
|
| D | usbx_class_hid_basic_test.c | 440 UX_TEST_ASSERT(status == UX_SUCCESS); in test_hid_idle_requests() 443 UX_TEST_ASSERT(status == UX_SUCCESS); in test_hid_idle_requests() 449 UX_TEST_ASSERT(status == UX_SUCCESS); in test_hid_idle_requests() 451 UX_TEST_ASSERT(status == UX_SUCCESS); in test_hid_idle_requests() 452 UX_TEST_ASSERT(idle_time == test_idles[i]); in test_hid_idle_requests() 455 …UX_TEST_ASSERT(mem_level == _ux_system -> ux_system_memory_byte_pool[UX_MEMORY_BYTE_POOL_REGULAR] … in test_hid_idle_requests() 470 UX_TEST_ASSERT(status == UX_SUCCESS); in test_hid_report_requests() 488 UX_TEST_ASSERT(status == UX_SUCCESS); in test_hid_report_requests() 493 UX_TEST_ASSERT(*(UCHAR *)tmp_bytes == i); in test_hid_report_requests() 496 …UX_TEST_ASSERT(mem_level == _ux_system -> ux_system_memory_byte_pool[UX_MEMORY_BYTE_POOL_REGULAR] … in test_hid_report_requests() [all …]
|
| D | usbx_hid_report_multiple_reports_ids_test.c | 374 UX_TEST_ASSERT(test_log_count == 0); in tx_demo_thread_host_simulation_entry() 415 UX_TEST_ASSERT(test_log_count == 3); in tx_demo_thread_host_simulation_entry() 418 UX_TEST_ASSERT(test_log_report_id[c] == 0); in tx_demo_thread_host_simulation_entry() 419 UX_TEST_ASSERT(test_log_report_data_len[c] == 2); in tx_demo_thread_host_simulation_entry() 420 UX_TEST_ASSERT(test_log_report_data[c][0] == 0); in tx_demo_thread_host_simulation_entry() 421 UX_TEST_ASSERT(test_log_report_data[c][1] == (0x30 + c)); in tx_demo_thread_host_simulation_entry() 462 UX_TEST_ASSERT(test_log_count == test_device_report_count); in tx_demo_thread_host_simulation_entry() 465 UX_TEST_ASSERT(test_log_report_id[c] == test_device_report_id); in tx_demo_thread_host_simulation_entry() 466 UX_TEST_ASSERT(test_log_report_data_len[c] == test_device_report_len+1); in tx_demo_thread_host_simulation_entry() 467 UX_TEST_ASSERT(test_log_report_data[c][0] == test_device_report_id); in tx_demo_thread_host_simulation_entry() [all …]
|
| D | usbx_msrc_81489_81570_host_cdc_acm_standalone_ac_search_test.c | 375 … UX_TEST_ASSERT(cdc_acm_host_data -> ux_host_class_cdc_acm_control == cdc_acm_host_control); in demo_system_host_change_function() 498 UX_TEST_ASSERT(status == TX_SUCCESS); in test_application_define() 505 UX_TEST_ASSERT(status == TX_SUCCESS); in test_application_define() 525 UX_TEST_ASSERT(cdc_acm_host_control == UX_NULL); in _msrc_81489_81570_cdc_activate_data_control_search_link_tests() 526 UX_TEST_ASSERT(cdc_acm_host_data == UX_NULL); in _msrc_81489_81570_cdc_activate_data_control_search_link_tests() 559 UX_TEST_ASSERT(cdc_acm_host_control != UX_NULL); in _msrc_81489_81570_cdc_activate_data_control_search_link_tests() 560 UX_TEST_ASSERT(cdc_acm_host_data != UX_NULL); in _msrc_81489_81570_cdc_activate_data_control_search_link_tests() 562 UX_TEST_ASSERT(cdc_acm_host_control -> ux_host_class_cdc_acm_control == cdc_acm_host_control); in _msrc_81489_81570_cdc_activate_data_control_search_link_tests() 563 UX_TEST_ASSERT(cdc_acm_host_data -> ux_host_class_cdc_acm_control == cdc_acm_host_control); in _msrc_81489_81570_cdc_activate_data_control_search_link_tests() 565 UX_TEST_ASSERT(fake_cdc[0].ux_host_class_cdc_acm_control == UX_NULL); in _msrc_81489_81570_cdc_activate_data_control_search_link_tests() [all …]
|
| D | usbx_hub_basic_test.c | 34 UX_TEST_ASSERT(g_hub_device != UX_NULL); in post_init_host() 58 UX_TEST_ASSERT(g_hub_device == UX_NULL); in post_init_host() 59 UX_TEST_ASSERT(g_hub_host_from_system_change_function == UX_NULL); in post_init_host()
|
| D | usbx_ux_host_class_video_format_frame_based_test.c | 827 UX_TEST_ASSERT(status == UX_HOST_CLASS_VIDEO_WRONG_TYPE); in tx_test_thread_host_simulation_entry() 830 UX_TEST_ASSERT(status == UX_SUCCESS); in tx_test_thread_host_simulation_entry() 831 …UX_TEST_ASSERT(format_data.ux_host_class_video_parameter_format_subtype == UX_HOST_CLASS_VIDEO_VS_… in tx_test_thread_host_simulation_entry() 832 UX_TEST_ASSERT(format_data.ux_host_class_video_parameter_format_guid == UX_NULL); in tx_test_thread_host_simulation_entry() 833 UX_TEST_ASSERT(format_data.ux_host_class_video_parameter_number_frame_descriptors == 1); in tx_test_thread_host_simulation_entry() 836 UX_TEST_ASSERT(status == UX_SUCCESS); in tx_test_thread_host_simulation_entry() 837 …UX_TEST_ASSERT(format_data.ux_host_class_video_parameter_format_subtype == UX_HOST_CLASS_VIDEO_VS_… in tx_test_thread_host_simulation_entry() 838 UX_TEST_ASSERT(format_data.ux_host_class_video_parameter_format_guid != UX_NULL); in tx_test_thread_host_simulation_entry() 839 UX_TEST_ASSERT(format_data.ux_host_class_video_parameter_format_guid[0] == 'H'); in tx_test_thread_host_simulation_entry() 840 UX_TEST_ASSERT(format_data.ux_host_class_video_parameter_format_guid[1] == '2'); in tx_test_thread_host_simulation_entry() [all …]
|