| /USBX-v6.2.1/test/regression/ |
| D | usbx_msrc_81231_host_prolific_inst_free_tests.c | 338 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_system_initialize failed 0x%x\n", status); in test_application_define() 345 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_initialize failed 0x%x\n", status); in test_application_define() 349 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_class_register failed 0x%x\n", status); in test_application_define() 358 … UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_initialize failed 0x%x\n", status); in test_application_define() 369 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_class_register failed 0x%x\n", statu… in test_application_define() 373 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "_ux_test_dcd_sim_slave_initialize failed 0x%x\n", st… in test_application_define() 377 … UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_hcd_register failed 0x%x\n", status); in test_application_define() 383 UX_TEST_ASSERT_MESSAGE(status == TX_SUCCESS, "tx_thread_create failed 0x%x\n", status); in test_application_define() 390 UX_TEST_ASSERT_MESSAGE(status == TX_SUCCESS, "tx_thread_create failed 0x%x\n", status); in test_application_define() 436 UX_TEST_ASSERT_MESSAGE((host_device_insertion_counter == 0 && host_device_removal_counter == 0), in tx_test_thread_host_simulation_entry() [all …]
|
| D | usbx_msrc_81232_host_gser_inst_free_tests.c | 330 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_system_initialize failed 0x%x\n", status); in test_application_define() 337 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_initialize failed 0x%x\n", status); in test_application_define() 341 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_class_register failed 0x%x\n", status); in test_application_define() 350 … UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_initialize failed 0x%x\n", status); in test_application_define() 361 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_class_register failed 0x%x\n", statu… in test_application_define() 365 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "_ux_test_dcd_sim_slave_initialize failed 0x%x\n", st… in test_application_define() 369 … UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_hcd_register failed 0x%x\n", status); in test_application_define() 375 UX_TEST_ASSERT_MESSAGE(status == TX_SUCCESS, "tx_thread_create failed 0x%x\n", status); in test_application_define() 382 UX_TEST_ASSERT_MESSAGE(status == TX_SUCCESS, "tx_thread_create failed 0x%x\n", status); in test_application_define() 428 UX_TEST_ASSERT_MESSAGE((host_device_insertion_counter == 0 && host_device_removal_counter == 0), in tx_test_thread_host_simulation_entry() [all …]
|
| D | usbx_msrc_81233_host_swar_inst_free_tests.c | 324 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_system_initialize failed 0x%x\n", status); in test_application_define() 331 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_initialize failed 0x%x\n", status); in test_application_define() 335 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_class_register failed 0x%x\n", status); in test_application_define() 344 … UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_initialize failed 0x%x\n", status); in test_application_define() 355 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_class_register failed 0x%x\n", statu… in test_application_define() 359 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "_ux_test_dcd_sim_slave_initialize failed 0x%x\n", st… in test_application_define() 363 … UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_hcd_register failed 0x%x\n", status); in test_application_define() 369 UX_TEST_ASSERT_MESSAGE(status == TX_SUCCESS, "tx_thread_create failed 0x%x\n", status); in test_application_define() 376 UX_TEST_ASSERT_MESSAGE(status == TX_SUCCESS, "tx_thread_create failed 0x%x\n", status); in test_application_define() 422 UX_TEST_ASSERT_MESSAGE((host_device_insertion_counter == 0 && host_device_removal_counter == 0), in tx_test_thread_host_simulation_entry() [all …]
|
| D | usbx_msrc_81112_host_cdc_ecm_endpoints_get_tests.c | 363 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_system_initialize failed 0x%x\n", status); in test_application_define() 370 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_initialize failed 0x%x\n", status); in test_application_define() 374 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_class_register failed 0x%x\n", status); in test_application_define() 383 … UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_initialize failed 0x%x\n", status); in test_application_define() 394 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_class_register failed 0x%x\n", statu… in test_application_define() 398 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "_ux_test_dcd_sim_slave_initialize failed 0x%x\n", st… in test_application_define() 402 … UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_hcd_register failed 0x%x\n", status); in test_application_define() 408 UX_TEST_ASSERT_MESSAGE(status == TX_SUCCESS, "tx_thread_create failed 0x%x\n", status); in test_application_define() 415 UX_TEST_ASSERT_MESSAGE(status == TX_SUCCESS, "tx_thread_create failed 0x%x\n", status); in test_application_define() 461 UX_TEST_ASSERT_MESSAGE((host_device_insertion_counter == 0 && host_device_removal_counter == 0), in tx_test_thread_host_simulation_entry() [all …]
|
| D | usbx_msrc_81142_host_storage_endpoints_get_tests.c | 328 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_system_initialize failed 0x%x\n", status); in test_application_define() 335 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_initialize failed 0x%x\n", status); in test_application_define() 339 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_class_register failed 0x%x\n", status); in test_application_define() 348 … UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_initialize failed 0x%x\n", status); in test_application_define() 359 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_class_register failed 0x%x\n", statu… in test_application_define() 363 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "_ux_test_dcd_sim_slave_initialize failed 0x%x\n", st… in test_application_define() 367 … UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_hcd_register failed 0x%x\n", status); in test_application_define() 373 UX_TEST_ASSERT_MESSAGE(status == TX_SUCCESS, "tx_thread_create failed 0x%x\n", status); in test_application_define() 380 UX_TEST_ASSERT_MESSAGE(status == TX_SUCCESS, "tx_thread_create failed 0x%x\n", status); in test_application_define() 426 UX_TEST_ASSERT_MESSAGE((host_device_insertion_counter == 0 && host_device_removal_counter == 0), in tx_test_thread_host_simulation_entry() [all …]
|
| D | usbx_msrc_81143_host_cdc_acm_endpoints_get_tests.c | 362 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_system_initialize failed 0x%x\n", status); in test_application_define() 369 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_initialize failed 0x%x\n", status); in test_application_define() 373 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_class_register failed 0x%x\n", status); in test_application_define() 382 … UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_initialize failed 0x%x\n", status); in test_application_define() 393 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_class_register failed 0x%x\n", statu… in test_application_define() 397 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "_ux_test_dcd_sim_slave_initialize failed 0x%x\n", st… in test_application_define() 401 … UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_hcd_register failed 0x%x\n", status); in test_application_define() 407 UX_TEST_ASSERT_MESSAGE(status == TX_SUCCESS, "tx_thread_create failed 0x%x\n", status); in test_application_define() 414 UX_TEST_ASSERT_MESSAGE(status == TX_SUCCESS, "tx_thread_create failed 0x%x\n", status); in test_application_define() 460 UX_TEST_ASSERT_MESSAGE((host_device_insertion_counter == 0 && host_device_removal_counter == 0), in tx_test_thread_host_simulation_entry() [all …]
|
| D | usbx_msrc_81230_host_asix_inst_free_tests.c | 383 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_system_initialize failed 0x%x\n", status); in test_application_define() 390 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_initialize failed 0x%x\n", status); in test_application_define() 394 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_class_register failed 0x%x\n", status); in test_application_define() 403 … UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_initialize failed 0x%x\n", status); in test_application_define() 414 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_class_register failed 0x%x\n", statu… in test_application_define() 418 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "_ux_test_dcd_sim_slave_initialize failed 0x%x\n", st… in test_application_define() 422 … UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_hcd_register failed 0x%x\n", status); in test_application_define() 428 UX_TEST_ASSERT_MESSAGE(status == TX_SUCCESS, "tx_thread_create failed 0x%x\n", status); in test_application_define() 435 UX_TEST_ASSERT_MESSAGE(status == TX_SUCCESS, "tx_thread_create failed 0x%x\n", status); in test_application_define() 481 UX_TEST_ASSERT_MESSAGE((host_device_insertion_counter == 0 && host_device_removal_counter == 0), in tx_test_thread_host_simulation_entry() [all …]
|
| D | usbx_msrc_81109_pictbridge_array_element_to_hexa_test.c | 143 UX_TEST_ASSERT_MESSAGE(hexa_buffer[i] == 0, "%d:%lx", i, hexa_buffer[i]); in ux_test_thread_simulation_0_entry() 145 UX_TEST_ASSERT_MESSAGE(hexa_buffer[i] == 0xFFFFFFFF, "%d:%lx", i, hexa_buffer[i]); in ux_test_thread_simulation_0_entry() 153 UX_TEST_ASSERT_MESSAGE(hexa_buffer[i] == 0x5a5a5a5a, "%d:%lx", i, hexa_buffer[i]); in ux_test_thread_simulation_0_entry() 163 UX_TEST_ASSERT_MESSAGE(hexa_buffer[i] == 0x5a5a5a5a, "%d:%lx", i, hexa_buffer[i]); in ux_test_thread_simulation_0_entry() 187 UX_TEST_ASSERT_MESSAGE(hexa_buffer[i] == 0x5a5a5a5a, "%d:%lx", i, hexa_buffer[i]); in ux_test_thread_simulation_0_entry()
|
| D | usbx_ux_host_class_video_format_frame_based_test.c | 848 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ERROR #%d: set parameters fail 0x%x\n", __LINE__, st… in tx_test_thread_host_simulation_entry() 852 … UX_TEST_ASSERT_MESSAGE(status != UX_SUCCESS, "ERROR #%d: set parameters should fail\n", __LINE__); in tx_test_thread_host_simulation_entry() 856 … UX_TEST_ASSERT_MESSAGE(status != UX_SUCCESS, "ERROR #%d: set parameters should fail\n", __LINE__); in tx_test_thread_host_simulation_entry() 862 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ERROR #%d: set parameters fail 0x%x\n", __LINE__, st… in tx_test_thread_host_simulation_entry() 866 … UX_TEST_ASSERT_MESSAGE(status != UX_SUCCESS, "ERROR #%d: set parameters should fail\n", __LINE__); in tx_test_thread_host_simulation_entry() 870 … UX_TEST_ASSERT_MESSAGE(status != UX_SUCCESS, "ERROR #%d: set parameters should fail\n", __LINE__); in tx_test_thread_host_simulation_entry() 877 UX_TEST_ASSERT_MESSAGE(status != UX_SUCCESS, "ERROR #%d: start should fail\n", __LINE__); in tx_test_thread_host_simulation_entry() 880 UX_TEST_ASSERT_MESSAGE(status != UX_SUCCESS, "ERROR #%d: start should fail\n", __LINE__); in tx_test_thread_host_simulation_entry() 886 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ERROR #%d: start fail 0x%x", __LINE__, status); in tx_test_thread_host_simulation_entry() 891 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ERROR #%d: start fail 0x%x", __LINE__, status); in tx_test_thread_host_simulation_entry()
|
| D | usbx_ux_host_class_video_format_h264_test.c | 867 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ERROR #%d: set parameters fail 0x%x\n", __LINE__, st… in tx_test_thread_host_simulation_entry() 871 … UX_TEST_ASSERT_MESSAGE(status != UX_SUCCESS, "ERROR #%d: set parameters should fail\n", __LINE__); in tx_test_thread_host_simulation_entry() 875 … UX_TEST_ASSERT_MESSAGE(status != UX_SUCCESS, "ERROR #%d: set parameters should fail\n", __LINE__); in tx_test_thread_host_simulation_entry() 881 …UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ERROR #%d: set parameters fail 0x%x\n", __LINE__, st… in tx_test_thread_host_simulation_entry() 885 … UX_TEST_ASSERT_MESSAGE(status != UX_SUCCESS, "ERROR #%d: set parameters should fail\n", __LINE__); in tx_test_thread_host_simulation_entry() 889 … UX_TEST_ASSERT_MESSAGE(status != UX_SUCCESS, "ERROR #%d: set parameters should fail\n", __LINE__); in tx_test_thread_host_simulation_entry() 896 UX_TEST_ASSERT_MESSAGE(status != UX_SUCCESS, "ERROR #%d: start should fail\n", __LINE__); in tx_test_thread_host_simulation_entry() 899 UX_TEST_ASSERT_MESSAGE(status != UX_SUCCESS, "ERROR #%d: start should fail\n", __LINE__); in tx_test_thread_host_simulation_entry() 905 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ERROR #%d: start fail 0x%x", __LINE__, status); in tx_test_thread_host_simulation_entry() 910 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ERROR #%d: start fail 0x%x", __LINE__, status); in tx_test_thread_host_simulation_entry()
|
| D | usbx_standalone_cdc_acm_basic_test.c | 881 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "test_length %ld\n", test_length); in test_cdc_acm_device_read_write_blocking() 886 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "test_length %ld\n", test_length); in test_cdc_acm_device_read_write_blocking() 893 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "test_length %ld\n", test_length); in test_cdc_acm_device_read_write_blocking() 901 UX_TEST_ASSERT_MESSAGE(host_buffer[i] == test_chr, "test_length %ld\n", test_length); in test_cdc_acm_device_read_write_blocking() 1017 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "test_length %ld\n", test_length); in test_cdc_acm_device_read_write() 1022 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "test_length %ld\n", test_length); in test_cdc_acm_device_read_write() 1028 …UX_TEST_ASSERT_MESSAGE(cdc_acm_host_reception_status == UX_SUCCESS, "test_length %ld\n", test_leng… in test_cdc_acm_device_read_write() 1037 … UX_TEST_ASSERT_MESSAGE(cdc_acm_host_read_buffer[i] == test_chr, "test_length %ld\n", test_length); in test_cdc_acm_device_read_write()
|
| D | usbx_msrc_81251_host_hid_report_add_fail_mem_test.c | 355 UX_TEST_ASSERT_MESSAGE(report != UX_NULL, "report should be added but null\n"); in tx_demo_thread_host_simulation_entry() 356 …UX_TEST_ASSERT_MESSAGE(report -> ux_host_class_hid_report_field == UX_NULL, "report_field should n… in tx_demo_thread_host_simulation_entry()
|
| D | usbx_standalone_device_cdc_acm_transmission_test.c | 741 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "test_length %ld\n", test_length); in test_cdc_acm_device_transmission() 746 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "test_length %ld\n", test_length); in test_cdc_acm_device_transmission() 751 …UX_TEST_ASSERT_MESSAGE(cdc_acm_host_reception_status == UX_SUCCESS, "test_length %ld\n", test_leng… in test_cdc_acm_device_transmission() 760 … UX_TEST_ASSERT_MESSAGE(cdc_acm_host_read_buffer[i] == test_chr, "test_length %ld\n", test_length); in test_cdc_acm_device_transmission()
|
| D | usbx_standalone_device_cdc_acm_basic_test.c | 828 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "test_length %ld\n", test_length); in test_cdc_acm_device_read_write() 833 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "test_length %ld\n", test_length); in test_cdc_acm_device_read_write() 838 …UX_TEST_ASSERT_MESSAGE(cdc_acm_host_reception_status == UX_SUCCESS, "test_length %ld\n", test_leng… in test_cdc_acm_device_read_write() 847 … UX_TEST_ASSERT_MESSAGE(cdc_acm_host_read_buffer[i] == test_chr, "test_length %ld\n", test_length); in test_cdc_acm_device_read_write()
|
| D | usbx_ux_device_stack_vendor_request_test.c | 895 …UX_TEST_ASSERT_MESSAGE(status == UX_TRANSFER_STALLED, "ERROR #%d: Vendor request status %x\n", __L… in tx_test_thread_simulation0_entry()
|
| D | usbx_class_hid_basic_test.c | 492 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "0x%x\n", status); in test_hid_report_requests()
|
| D | usbx_msrc_81323_host_pima_deactivate_no_int_ep_test.c | 1018 … UX_TEST_ASSERT_MESSAGE(pima_device == UX_NULL, "Expect device NULL but %p\n", (void*)pima_device); in test_disconnect() 1019 UX_TEST_ASSERT_MESSAGE(pima_host == UX_NULL, "Expect host NULL but %p\n", (void*)pima_host); in test_disconnect() 1026 …UX_TEST_ASSERT_MESSAGE(mem_free == ux_test_regular_memory_free(), "Memory leak %ld <> %ld\n", mem_… in test_disconnect() 1043 UX_TEST_ASSERT_MESSAGE(pima_device != UX_NULL, "Expect device but NULL\n"); in test_disconnect() 1044 UX_TEST_ASSERT_MESSAGE(pima_host != UX_NULL, "Expect host NULL but NULL\n"); in test_disconnect()
|
| D | usbx_hid_remote_control_tests.c | 576 …UX_TEST_ASSERT_MESSAGE(ux_test_check_actions_empty(), "Number of actions remaining: %d\n", ux_test… in event_buffer_test_slave_thread_entry()
|
| D | usbx_msrc_81292_host_pima_deactivate_semaphore_test.c | 1024 … UX_TEST_ASSERT_MESSAGE(pima_device == UX_NULL, "Expect device NULL but %p\n", (void*)pima_device); in test_disconnect() 1025 UX_TEST_ASSERT_MESSAGE(pima_host == UX_NULL, "Expect host NULL but %p\n", (void*)pima_host); in test_disconnect() 1049 UX_TEST_ASSERT_MESSAGE(pima_device != UX_NULL, "Expect device but NULL\n"); in test_disconnect() 1050 UX_TEST_ASSERT_MESSAGE(pima_host != UX_NULL, "Expect host NULL but NULL\n"); in test_disconnect()
|
| D | ux_test.h | 53 #define UX_TEST_ASSERT_MESSAGE(expression, ...) if (!(expression)) { printf("%s:%d Assert faile… macro
|
| D | usbx_class_printer_basic_tests.c | 698 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "#%d status 0x%x\n", __LINE__, status); in tx_test_printer_read_entry()
|