Home
last modified time | relevance | path

Searched full:test (Results 1 – 25 of 1551) sorted by relevance

12345678910>>...63

/NetX-Duo-v6.2.1/test/regression/nx_secure_test/
Dnx_secure_tls_nxe_api_test.c96 /* Print out test information banner. */ in thread_0_entry()
97 printf("NetX Secure Test: TLS NXE API Test..................................."); in thread_0_entry()
100 /* Test the nxe uninitialized session checking */ in thread_0_entry()
215 /* Test the nxe_secure_tls_session_protocol_version_override api */ in thread_0_entry()
218 /* Test NULL session. */ in thread_0_entry()
222 /* Test unknown TLS version. */ in thread_0_entry()
226 /* Test unsupported TLS version. */ in thread_0_entry()
232 /* Test the nxe_secure_tls_packet_allocate api */ in thread_0_entry()
235 /* Test uninitialized session. */ in thread_0_entry()
248 /* Test the nxe_secure_tls_session_packet_buffer_set api */ in thread_0_entry()
[all …]
Dnx_secure_tls_branch_test.c89 /* Define the test threads. */
94 /* Print out some test information banners. */ in thread_0_entry()
95 printf("NetX Secure Test: TLS Branch Test...................................."); in thread_0_entry()
104 /* Test _nx_secure_tls_record_hash_update. */ in thread_0_entry()
106 tx_thread_create(&thread_for_assert, "Assert Test thread", thread_for_assert_entry, 0, in thread_0_entry()
112 /* Let test thread run. */ in thread_0_entry()
115 /* Terminate the test thread. */ in thread_0_entry()
120 /* Test _nx_secure_tls_record_hash_calculate. */ in thread_0_entry()
122 tx_thread_create(&thread_for_assert, "Assert Test thread", thread_for_assert_entry, 0, in thread_0_entry()
128 /* Let test thread run. */ in thread_0_entry()
[all …]
Dnx_secure_dtls_nxe_api_test.c1 /* Test DTLS APIs */
49 /* Print out test information banner. */ in thread_0_entry()
50 printf("NetX Secure Test: DTLS NXE API Test.................................."); in thread_0_entry()
55 /* Test the nxe uninitialized session checking */ in thread_0_entry()
108 /* Test the _nxe_secure_dtls_client_protocol_version_override api */ in thread_0_entry()
114 /* Test the _nxe_secure_dtls_client_session_start api */ in thread_0_entry()
120 /* Test the _nxe_secure_dtls_packet_allocate api */ in thread_0_entry()
126 /* Test the _nxe_secure_dtls_server_create api */ in thread_0_entry()
134 /* Test the _nxe_secure_dtls_server_delete api */ in thread_0_entry()
140 /* Test the _nxe_secure_dtls_server_local_certificate_add api */ in thread_0_entry()
[all …]
/NetX-Duo-v6.2.1/test/regression/dns_test/
Dnetx_dns_function_test.c1 /* This NetX test concentrates on the basic UDP operation. */
80 /* DNS retransmit test. */
232 /* Define the test threads. */
443 /* The DNS test initialize. */ in thread_0_entry()
446 /* Test the DNS A type function. */ in thread_0_entry()
449 /* DNS retransmit test. */ in thread_0_entry()
453 /* Test the DNS AAAA type function. */ in thread_0_entry()
459 /* Test the DNS A + CNAME type function. */ in thread_0_entry()
462 /* Test the DNS MX type function. */ in thread_0_entry()
465 /* Test the DNS MX type with addtional A type function. */ in thread_0_entry()
[all …]
/NetX-Duo-v6.2.1/test/regression/netxduo_test/
Dnetx_ipv6_branch_test.c1 /* This NetX test concentrates on the code coverage for IPv6 functions,
113 /* Define the test threads. */
136 /* Print out some test information banners. */ in thread_0_entry()
137 printf("NetX Test: IPv6 Branch Test.........................................."); in thread_0_entry()
205 /* Test _nx_ip_header_add(). */ in thread_0_entry()
209 tx_thread_create(&thread_for_assert, "Assert Test thread", thread_for_assert_entry, 0, in thread_0_entry()
215 /* Let test thread run. */ in thread_0_entry()
218 /* Terminate the test thread. */ in thread_0_entry()
223 /* Test _nxd_ipv6_destination_table_find_next_hop */ in thread_0_entry()
226 tx_thread_create(&thread_for_assert, "Assert Test thread", thread_for_assert_entry, 0, in thread_0_entry()
[all …]
Dnetx_tcp_branch_test.c1 /* This NetX test concentrates on the code coverage for TCP functions,
292 /* Print out some test information banners. */ in test_application_define()
293 printf("NetX Test: TCP Branch Test..........................................."); in test_application_define()
352 /* Define the test threads. */
408 /* Test bind again. */ in thread_0_entry()
431 … tx_thread_create(&thread_for_assert[i], "Assert Test thread", thread_for_assert_entry[i], 0, in thread_0_entry()
435 /* Let test thread run. */ in thread_0_entry()
438 /* Terminate the test thread. */ in thread_0_entry()
462 /* Test for invalid nx_tcp_socket_id */ in thread_0_entry()
474 /* Test for Thread state in ISR. */ in thread_0_entry()
[all …]
Dnetx_http_proxy_error_response_test.c77 static UCHAR test_data[] = "HTTP Proxy Basic Test!";
97 tx_thread_create(&server_thread, "Test Server thread", thread_server_entry, 0, in test_application_define()
107 status = nx_packet_pool_create(&server_pool, "Test Server Packet Pool", PACKET_SIZE, in test_application_define()
114 status = nx_ip_create(&server_ip, "Test Server IP", TEST_SERVER_ADDRESS, in test_application_define()
133 /* Create the Test Client thread. */ in test_application_define()
134 status = tx_thread_create(&client_thread, "Test Client", thread_client_entry, 0, in test_application_define()
142 status = nx_packet_pool_create(&client_pool, "Test Client Packet Pool", PACKET_SIZE, in test_application_define()
149 status = nx_ip_create(&client_ip, "Test Client IP", TEST_CLIENT_ADDRESS, in test_application_define()
225 status = nx_tcp_socket_create(&client_ip, &test_client, "Test Client Socket", in thread_client_entry()
241 /* Wait test server started. */ in thread_client_entry()
[all …]
Dnetx_http_proxy_disconnect_test.c66 static UCHAR test_data[] = "HTTP Proxy Basic Test!";
86 tx_thread_create(&server_thread, "Test Server thread", thread_server_entry, 0, in test_application_define()
96 status = nx_packet_pool_create(&server_pool, "Test Server Packet Pool", PACKET_SIZE, in test_application_define()
103 status = nx_ip_create(&server_ip, "Test Server IP", TEST_SERVER_ADDRESS, in test_application_define()
122 /* Create the Test Client thread. */ in test_application_define()
123 status = tx_thread_create(&client_thread, "Test Client", thread_client_entry, 0, in test_application_define()
131 status = nx_packet_pool_create(&client_pool, "Test Client Packet Pool", PACKET_SIZE, in test_application_define()
138 status = nx_ip_create(&client_ip, "Test Client IP", TEST_CLIENT_ADDRESS, in test_application_define()
220 status = nx_tcp_socket_create(&client_ip, &test_client, "Test Client Socket", in thread_client_entry()
236 /* Wait test server started. */ in thread_client_entry()
[all …]
/NetX-Duo-v6.2.1/test/regression/dhcp_test/
Dnetx_dhcp_client_nxe_api_test.c44 printf("NetX Test: DHCP Client Error Checking Test.........................."); in test_application_define()
80 /* Test _nxe_dhcp_create */ in error_checking_test()
88 /* Test _nxe_dhcp_clear_broadcast_flag */ in error_checking_test()
91 /* Test _nxe_dhcp_interface_clear_broadcast_flag */ in error_checking_test()
96 /* Test _nxe_dhcp_packet_pool_set */ in error_checking_test()
102 /* Test _nxe_dhcp_reinitialize */ in error_checking_test()
105 /* Test _nxe_dhcp_interface_reinitialize */ in error_checking_test()
112 /* Test _nxe_dhcp_request_client_ip */ in error_checking_test()
116 /* Test _nxe_dhcp_interface_request_client_ip */ in error_checking_test()
120 /* Test _nxe_dhcp_delete */ in error_checking_test()
[all …]
/NetX-Duo-v6.2.1/test/regression/azure_iot/
Ddevice_twin_unit_test.c28 /* Include main.c in the test case since we need to disable DHCP in this test. */
49 static UCHAR g_hostname[] = "unit-test.iot-azure.com";
455 /* Record number of available packet before test */ in test_suit_begin()
481 /* Hook executed before every test */
496 * Test device twin enable with invalid argument failed.
501 printf("test starts =>: %s\n", __func__); in test_nx_azure_iot_hub_client_device_twin_enable_invalid_argument_failure()
508 * Test device twin enable with unsuccessful subscribe failed.
513 printf("test starts =>: %s\n", __func__); in test_nx_azure_iot_hub_client_device_twin_enable_failure()
526 * Test device twin enable succeeds.
531 printf("test starts =>: %s\n", __func__); in test_nx_azure_iot_hub_client_device_twin_enable_success()
[all …]
Diot_provisioning_client_unit_test.c30 /* Include main.c in the test case since we need to disable DHCP in this test. */
78 …\"createdDateTimeUtc\":\"2019-12-27T19:51:41.6630592Z\",\"assignedHub\":\"test.azure-iothub.com\",…
91 static const CHAR *assigned_hub_name = "test.azure-iothub.com";
101 …\"createdDateTimeUtc\":\"2019-12-27T19:51:41.6630592Z\",\"assignedHub\":\"test.azure-iothub.com\",…
110 …\"createdDateTimeUtc\":\"2019-12-27T19:51:41.6630592Z\",\"assignedHub\":\"test.azure-iothub.com\",…
119 …\"createdDateTimeUtc\":\"2019-12-27T19:51:41.6630592Z\",\"assignedHub\":\"test.azure-iothub.com\",…
616 /* Hook executed before every test */
621 /* Record number of available packet before test */ in test_begin()
634 * Test provisioning client initialization with invalid parameter
739 * Test provisioning client set device cert with invalid parameter
[all …]
Ddirect_method_unit_test.c28 /* Include main.c in the test case since we need to disable DHCP in this test. */
46 static UCHAR g_hostname[] = "unit-test.iot-azure.com";
340 /* Record number of available packet before test */ in test_suit_begin()
379 /* Hook executed before every test */
391 * Test direct method enable with invalid argument failed.
396 printf("test starts =>: %s\n", __func__); in test_nx_azure_iot_hub_client_direct_method_enable_invalid_argument_failure()
403 * Test direct method enable with unsuccessful subscribe failed.
408 printf("test starts =>: %s\n", __func__); in test_nx_azure_iot_hub_client_direct_method_enable_failure()
416 * Test direct method enable succeeds.
421 printf("test starts =>: %s\n", __func__); in test_nx_azure_iot_hub_client_direct_method_enable_success()
[all …]
Dnx_azure_iot_pnp_client_properties_unit_test.c30 /* Include main.c in the test case since we need to disable DHCP in this test. */
55 static const UCHAR g_hostname[] = "unit-test.iot-azure.com";
749 /* Hook executed before every test */
754 /* Record number of available packet before test */ in test_begin()
766 * Test invalid argument failure.
778 printf("test starts =>: %s\n", __func__); in test_nx_azure_iot_hub_client_invalid_argument_fail()
928 * Test successful pnp property send.
938 printf("test starts =>: %s\n", __func__); in test_nx_azure_iot_hub_client_property_send_success()
959 * Test successful pnp property send with NO_WAIT.
967 printf("test starts =>: %s\n", __func__); in test_nx_azure_iot_hub_client_property_send_async_success()
[all …]
Dnx_azure_iot_pnp_client_telemetry_unit_test.c28 /* Include main.c in the test case since we need to disable DHCP in this test. */
49 static const UCHAR g_hostname[] = "unit-test.iot-azure.com";
348 /* Hook executed before every test */
353 /* Record number of available packet before test */ in test_begin()
365 * Test invalid argument failure.
372 printf("test starts =>: %s\n", __func__); in test_nx_azure_iot_hub_client_invalid_argument_fail()
374 /*********** Test nx_azure_iot_hub_client_model_id_set() ***********/ in test_nx_azure_iot_hub_client_invalid_argument_fail()
390 /*********** Test nx_azure_iot_hub_client_component_add() ***********/ in test_nx_azure_iot_hub_client_invalid_argument_fail()
406 /*********** Test nx_azure_iot_hub_client_telemetry_component_set() ***********/ in test_nx_azure_iot_hub_client_invalid_argument_fail()
427 * Test successful pnp connect.
[all …]
/NetX-Duo-v6.2.1/test/regression/mdns_test/
Dnetx_mdns_announcement_repeat_test.c45 /* Define the counters used in the test application... */
103 /* Create the test thread. */ in test_application_define()
110 /* Define the test threads. */
117 printf("NetX Test: MDNS Announcement Repeat Test............................."); in ntest_0_entry()
156 /* Test default timer parameters. */ in ntest_0_entry()
172 …nx_mdns_service_add(&mdns_0, "test", (CHAR *)"_ipp._tcp", NX_NULL, NX_NULL, 100, 0, 0, 80, NX_MDNS… in ntest_0_entry()
182 nx_mdns_service_delete(&mdns_0, "test", (CHAR *)"_ipp._tcp", NX_NULL); in ntest_0_entry()
189 /* Test default timer parameters. */ in ntest_0_entry()
205 …nx_mdns_service_add(&mdns_0, "test", (CHAR *)"_ipp._tcp", NX_NULL, NX_NULL, 100, 0, 0, 80, NX_MDNS… in ntest_0_entry()
215 nx_mdns_service_delete(&mdns_0, "test", (CHAR *)"_ipp._tcp", NX_NULL); in ntest_0_entry()
[all …]
/NetX-Duo-v6.2.1/test/regression/web_test/
Dnetx_https_api_test.c14 #define TEST(prefix, name) void prefix ## _ ##name() macro
121 printf("NetX Test: HTTPS API Test............................................"); in test_application_define()
130 /* Create the test thread. */ in test_application_define()
131 status = tx_thread_create(&test_thread, "HTTPS API Test Thread", test_thread_entry, 0, in test_application_define()
480 /************************ Begin test cases. **************************/
508 /* Proper usage test for cases below. */ in nx_web_http_client_create_test()
540 /* Create web server instance for test. */ in nx_web_http_client_delete_test()
563 CHAR *resource = "test"; in nx_web_http_client_get_start_test()
575 /* Create instance for test. */ in nx_web_http_client_get_start_test()
604 CHAR *resource = "test"; in nx_web_http_client_put_start_test()
[all …]
Dnetx_https_testcontrol.c1 /* This is the test control routine the NetX TCP/IP stack. All tests are dispatched from this rout…
23 /* Define the test control ThreadX objects... */
30 /* Define the test control global variables. */
44 /* Define test entry pointer type. */
53 /* Define the prototypes for the test entry points. */
112 /* Define the array of test entry points. */
242 /* Create the test control thread. */ in tx_application_define()
243 tx_thread_create(&test_control_thread, "test control thread", test_control_thread_entry, 0, in tx_application_define()
249 /* Create the test control semaphore. */ in tx_application_define()
250 tx_semaphore_create(&test_control_sema, "HTTPS Test control semaphore", 0); in tx_application_define()
[all …]
/NetX-Duo-v6.2.1/test/regression/crypto_test/
Dcryptotestcontrol.c1 /* This is the test control routine the NetX TCP/IP stack. All tests are dispatched from this rout…
45 /* Define the test control ThreadX objects... */
53 /* Define the test control global variables. */
67 /* Define test entry pointer type. */
76 /* Define the prototypes for the test entry points. */
124 /* Define the array of test entry points. */
132 /* Crypto test. */
265 /* Fork test process. */ in fork_child()
314 …printf("**** Test Summary: Tests Passed: %lu Tests Warning: %lu Tests Failed: %lu\n", test… in fork_child()
325 /* Dispatch the test. */ in tx_application_define()
[all …]
/NetX-Duo-v6.2.1/test/regression/rtsp_test/
Dnetx_rtsp_api_test.c68 tx_thread_create(&test_thread, "Test thread", test_entry, 0, in test_application_define()
88 /* Print out test information banner. */ in test_entry()
89 printf("NetX Test: RTSP API Test............................................."); in test_entry()
93 /* Test nx_rtsp_server_create. */ in test_entry()
112 /* Test nx_rtsp_server_delete. */ in test_entry()
118 /* Test nx_rtsp_server_start. */ in test_entry()
124 /* Test nx_rtsp_server_stop. */ in test_entry()
137 /* Test nx_rtsp_server_sdp_set. */ in test_entry()
161 /* Test nx_rtsp_server_rtp_info_set. */ in test_entry()
184 /* Test nx_rtsp_server_range_npt_set. */ in test_entry()
[all …]
/NetX-Duo-v6.2.1/test/regression/websocket_test/
Dnetx_websocket_multi_instance_test.c49 #define TEST_URI_PATH "/test"
50 #define TEST_PROTOCOL "test"
63 0x74, 0x65, 0x73, 0x74, 0x0d, 0x0a, // test
107 #define TEST1_URI_PATH "/test"
108 #define TEST1_PROTOCOL "test"
121 0x74, 0x65, 0x73, 0x74, 0x0d, 0x0a, // test
164 tx_thread_create(&server_thread, "Test Server thread", thread_server_entry, 0, in test_application_define()
171 tx_thread_create(&server1_thread, "Test Server1 thread", thread_server1_entry, 0, in test_application_define()
181 status = nx_packet_pool_create(&server_pool, "Test Server Packet Pool", PACKET_SIZE, in test_application_define()
188 status = nx_ip_create(&server_ip, "Test Server IP", TEST_SERVER_ADDRESS, in test_application_define()
[all …]
Dnetx_websocket_delete_test.c49 #define TEST_URI_PATH "/test"
50 #define TEST_PROTOCOL "test"
63 0x74, 0x65, 0x73, 0x74, 0x0d, 0x0a, // test
104 tx_thread_create(&server_thread, "Test Server thread", thread_server_entry, 0, in test_application_define()
114 status = nx_packet_pool_create(&server_pool, "Test Server Packet Pool", PACKET_SIZE, in test_application_define()
121 status = nx_ip_create(&server_ip, "Test Server IP", TEST_SERVER_ADDRESS, in test_application_define()
139 /* Create the Test Client thread. */ in test_application_define()
140 status = tx_thread_create(&client_thread, "Test Client", thread_client_entry, 0, in test_application_define()
148 status = nx_packet_pool_create(&client_pool, "Test Client Packet Pool", PACKET_SIZE, in test_application_define()
155 status = nx_ip_create(&client_ip, "Test Client IP", TEST_CLIENT_ADDRESS, in test_application_define()
[all …]
Dnetx_websocket_connect_test.c72 #define TEST_URI_PATH "/test"
73 #define TEST_PROTOCOL "test"
86 0x74, 0x65, 0x73, 0x74, 0x0d, 0x0a, // test
105 0x74, 0x65, 0x73, 0x74, 0x0d, 0x0a, // test
145 tx_thread_create(&server_thread, "Test Server thread", thread_server_entry, 0, in test_application_define()
155 status = nx_packet_pool_create(&server_pool, "Test Server Packet Pool", PACKET_SIZE, in test_application_define()
162 status = nx_ip_create(&server_ip, "Test Server IP", TEST_SERVER_ADDRESS, in test_application_define()
181 /* Create the Test Client thread. */ in test_application_define()
182 status = tx_thread_create(&client_thread, "Test Client", thread_client_entry, 0, in test_application_define()
190 status = nx_packet_pool_create(&client_pool, "Test Client Packet Pool", PACKET_SIZE, in test_application_define()
[all …]
Dnetx_websocket_non_block_test.c1 /* This case test websocket in non-blocking mode. */
75 #define TEST_URI_PATH "/test"
76 #define TEST_PROTOCOL "test"
89 0x74, 0x65, 0x73, 0x74, 0x0d, 0x0a, // test
129 tx_thread_create(&server_thread, "Test Server thread", thread_server_entry, 0, in test_application_define()
139 status = nx_packet_pool_create(&server_pool, "Test Server Packet Pool", PACKET_SIZE, in test_application_define()
146 status = nx_ip_create(&server_ip, "Test Server IP", TEST_SERVER_ADDRESS, in test_application_define()
165 /* Create the Test Client thread. */ in test_application_define()
166 status = tx_thread_create(&client_thread, "Test Client", thread_client_entry, 0, in test_application_define()
174 status = nx_packet_pool_create(&client_pool, "Test Client Packet Pool", PACKET_SIZE, in test_application_define()
[all …]
/NetX-Duo-v6.2.1/test/regression/mqtt_test/
Dnetx_mqtt_testcontrol.c1 /* This is the test control routine the NetX TCP/IP stack. All tests are dispatched from this rout…
22 /* Define the test control ThreadX objects... */
29 /* Define the test control global variables. */
43 /* Define test entry pointer type. */
52 /* Define the prototypes for the test entry points. */
93 /* Define the array of test entry points. */
199 /* Create the test control thread. */ in tx_application_define()
200 tx_thread_create(&test_control_thread, "test control thread", test_control_thread_entry, 0, in tx_application_define()
206 /* Create the test control semaphore. */ in tx_application_define()
207 tx_semaphore_create(&test_control_sema, "Test control semaphore", 0); in tx_application_define()
[all …]
/NetX-Duo-v6.2.1/test/regression/rtp_test/
Dnetx_rtp_api_test.c44 tx_thread_create(&test_thread, "Test thread", test_entry, 0, in test_application_define()
60 /* Print out test information banner. */ in test_entry()
61 printf("NetX Test: RTP API Test............................................"); in test_entry()
65 /* Test and check nx_rtp_sender_create */ in test_entry()
75 /* Test and check nx_rtp_sender_delete */ in test_entry()
79 /* Test and check nx_rtp_sender_port_get */ in test_entry()
87 /* Test and check nx_rtp_sender_session_create */ in test_entry()
95 /* Test and check nx_rtp_sender_session_packet_allocate */ in test_entry()
101 /* Test and check nx_rtp_sender_session_sequence_number_get */ in test_entry()
107 /* Test and check nx_rtp_sender_session_ssrc_get */ in test_entry()
[all …]

12345678910>>...63