Home
last modified time | relevance | path

Searched refs:UX_TEST_ASSERT_MESSAGE (Results 1 – 21 of 21) sorted by relevance

/USBX-v6.2.1/test/regression/
Dusbx_msrc_81231_host_prolific_inst_free_tests.c338 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()
349UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_class_register failed 0x%x\n", status); in test_application_define()
358UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_initialize failed 0x%x\n", status); in test_application_define()
369UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_class_register failed 0x%x\n", statu… in test_application_define()
373UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "_ux_test_dcd_sim_slave_initialize failed 0x%x\n", st… in test_application_define()
377UX_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 …]
Dusbx_msrc_81232_host_gser_inst_free_tests.c330 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()
341UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_class_register failed 0x%x\n", status); in test_application_define()
350UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_initialize failed 0x%x\n", status); in test_application_define()
361UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_class_register failed 0x%x\n", statu… in test_application_define()
365UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "_ux_test_dcd_sim_slave_initialize failed 0x%x\n", st… in test_application_define()
369UX_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 …]
Dusbx_msrc_81233_host_swar_inst_free_tests.c324 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()
335UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_class_register failed 0x%x\n", status); in test_application_define()
344UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_initialize failed 0x%x\n", status); in test_application_define()
355UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_class_register failed 0x%x\n", statu… in test_application_define()
359UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "_ux_test_dcd_sim_slave_initialize failed 0x%x\n", st… in test_application_define()
363UX_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 …]
Dusbx_msrc_81112_host_cdc_ecm_endpoints_get_tests.c363 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()
374UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_class_register failed 0x%x\n", status); in test_application_define()
383UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_initialize failed 0x%x\n", status); in test_application_define()
394UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_class_register failed 0x%x\n", statu… in test_application_define()
398UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "_ux_test_dcd_sim_slave_initialize failed 0x%x\n", st… in test_application_define()
402UX_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 …]
Dusbx_msrc_81142_host_storage_endpoints_get_tests.c328 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()
339UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_class_register failed 0x%x\n", status); in test_application_define()
348UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_initialize failed 0x%x\n", status); in test_application_define()
359UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_class_register failed 0x%x\n", statu… in test_application_define()
363UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "_ux_test_dcd_sim_slave_initialize failed 0x%x\n", st… in test_application_define()
367UX_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 …]
Dusbx_msrc_81143_host_cdc_acm_endpoints_get_tests.c362 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()
373UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_class_register failed 0x%x\n", status); in test_application_define()
382UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_initialize failed 0x%x\n", status); in test_application_define()
393UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_class_register failed 0x%x\n", statu… in test_application_define()
397UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "_ux_test_dcd_sim_slave_initialize failed 0x%x\n", st… in test_application_define()
401UX_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 …]
Dusbx_msrc_81230_host_asix_inst_free_tests.c383 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()
394UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_host_stack_class_register failed 0x%x\n", status); in test_application_define()
403UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_initialize failed 0x%x\n", status); in test_application_define()
414UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ux_device_stack_class_register failed 0x%x\n", statu… in test_application_define()
418UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "_ux_test_dcd_sim_slave_initialize failed 0x%x\n", st… in test_application_define()
422UX_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 …]
Dusbx_msrc_81109_pictbridge_array_element_to_hexa_test.c143 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()
Dusbx_ux_host_class_video_format_frame_based_test.c848UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ERROR #%d: set parameters fail 0x%x\n", __LINE__, st… in tx_test_thread_host_simulation_entry()
852UX_TEST_ASSERT_MESSAGE(status != UX_SUCCESS, "ERROR #%d: set parameters should fail\n", __LINE__); in tx_test_thread_host_simulation_entry()
856UX_TEST_ASSERT_MESSAGE(status != UX_SUCCESS, "ERROR #%d: set parameters should fail\n", __LINE__); in tx_test_thread_host_simulation_entry()
862UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ERROR #%d: set parameters fail 0x%x\n", __LINE__, st… in tx_test_thread_host_simulation_entry()
866UX_TEST_ASSERT_MESSAGE(status != UX_SUCCESS, "ERROR #%d: set parameters should fail\n", __LINE__); in tx_test_thread_host_simulation_entry()
870UX_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()
Dusbx_ux_host_class_video_format_h264_test.c867UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ERROR #%d: set parameters fail 0x%x\n", __LINE__, st… in tx_test_thread_host_simulation_entry()
871UX_TEST_ASSERT_MESSAGE(status != UX_SUCCESS, "ERROR #%d: set parameters should fail\n", __LINE__); in tx_test_thread_host_simulation_entry()
875UX_TEST_ASSERT_MESSAGE(status != UX_SUCCESS, "ERROR #%d: set parameters should fail\n", __LINE__); in tx_test_thread_host_simulation_entry()
881UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "ERROR #%d: set parameters fail 0x%x\n", __LINE__, st… in tx_test_thread_host_simulation_entry()
885UX_TEST_ASSERT_MESSAGE(status != UX_SUCCESS, "ERROR #%d: set parameters should fail\n", __LINE__); in tx_test_thread_host_simulation_entry()
889UX_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()
Dusbx_standalone_cdc_acm_basic_test.c881 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()
1028UX_TEST_ASSERT_MESSAGE(cdc_acm_host_reception_status == UX_SUCCESS, "test_length %ld\n", test_leng… in test_cdc_acm_device_read_write()
1037UX_TEST_ASSERT_MESSAGE(cdc_acm_host_read_buffer[i] == test_chr, "test_length %ld\n", test_length); in test_cdc_acm_device_read_write()
Dusbx_msrc_81251_host_hid_report_add_fail_mem_test.c355 UX_TEST_ASSERT_MESSAGE(report != UX_NULL, "report should be added but null\n"); in tx_demo_thread_host_simulation_entry()
356UX_TEST_ASSERT_MESSAGE(report -> ux_host_class_hid_report_field == UX_NULL, "report_field should n… in tx_demo_thread_host_simulation_entry()
Dusbx_standalone_device_cdc_acm_transmission_test.c741 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()
751UX_TEST_ASSERT_MESSAGE(cdc_acm_host_reception_status == UX_SUCCESS, "test_length %ld\n", test_leng… in test_cdc_acm_device_transmission()
760UX_TEST_ASSERT_MESSAGE(cdc_acm_host_read_buffer[i] == test_chr, "test_length %ld\n", test_length); in test_cdc_acm_device_transmission()
Dusbx_standalone_device_cdc_acm_basic_test.c828 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()
838UX_TEST_ASSERT_MESSAGE(cdc_acm_host_reception_status == UX_SUCCESS, "test_length %ld\n", test_leng… in test_cdc_acm_device_read_write()
847UX_TEST_ASSERT_MESSAGE(cdc_acm_host_read_buffer[i] == test_chr, "test_length %ld\n", test_length); in test_cdc_acm_device_read_write()
Dusbx_ux_device_stack_vendor_request_test.c895UX_TEST_ASSERT_MESSAGE(status == UX_TRANSFER_STALLED, "ERROR #%d: Vendor request status %x\n", __L… in tx_test_thread_simulation0_entry()
Dusbx_class_hid_basic_test.c492 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "0x%x\n", status); in test_hid_report_requests()
Dusbx_msrc_81323_host_pima_deactivate_no_int_ep_test.c1018UX_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()
1026UX_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()
Dusbx_hid_remote_control_tests.c576UX_TEST_ASSERT_MESSAGE(ux_test_check_actions_empty(), "Number of actions remaining: %d\n", ux_test… in event_buffer_test_slave_thread_entry()
Dusbx_msrc_81292_host_pima_deactivate_semaphore_test.c1024UX_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()
Dux_test.h53 #define UX_TEST_ASSERT_MESSAGE(expression, ...) if (!(expression)) { printf("%s:%d Assert faile… macro
Dusbx_class_printer_basic_tests.c698 UX_TEST_ASSERT_MESSAGE(status == UX_SUCCESS, "#%d status 0x%x\n", __LINE__, status); in tx_test_printer_read_entry()