| /NetX-Duo-v6.2.1/test/regression/azure_iot/ |
| D | initialization_unit_test.c | 30 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) macro 125 STRING_UNSIGNED_ARGS(host_name), in demo_entry() 126 STRING_UNSIGNED_ARGS(device_id), in demo_entry() 127 STRING_UNSIGNED_ARGS(module_id), in demo_entry() 138 STRING_UNSIGNED_ARGS(host_name), in demo_entry() 139 STRING_UNSIGNED_ARGS(device_id), in demo_entry() 140 STRING_UNSIGNED_ARGS(module_id), in demo_entry() 152 STRING_UNSIGNED_ARGS(device_id), in demo_entry() 153 STRING_UNSIGNED_ARGS(module_id), in demo_entry() 164 STRING_UNSIGNED_ARGS(host_name), in demo_entry() [all …]
|
| D | nx_azure_iot_pnp_client_telemetry_unit_test.c | 43 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, sizeof(s) - 1 macro 436 STRING_UNSIGNED_ARGS(g_hostname), in test_nx_azure_iot_hub_client_connect_success() 437 STRING_UNSIGNED_ARGS(g_device_id), in test_nx_azure_iot_hub_client_connect_success() 438 STRING_UNSIGNED_ARGS(""), in test_nx_azure_iot_hub_client_connect_success() 449 STRING_UNSIGNED_ARGS(g_pnp_model_id)), in test_nx_azure_iot_hub_client_connect_success() 477 STRING_UNSIGNED_ARGS(g_hostname), in test_nx_azure_iot_hub_client_connect_with_cert_success() 478 STRING_UNSIGNED_ARGS(g_device_id), in test_nx_azure_iot_hub_client_connect_with_cert_success() 479 STRING_UNSIGNED_ARGS(""), in test_nx_azure_iot_hub_client_connect_with_cert_success() 490 STRING_UNSIGNED_ARGS(g_pnp_model_id)), in test_nx_azure_iot_hub_client_connect_with_cert_success() 517 STRING_UNSIGNED_ARGS(g_hostname), in test_nx_azure_iot_hub_client_connect_async_success() [all …]
|
| D | nx_azure_iot_json_writer_unit_test.c | 37 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) macro 73 … STRING_UNSIGNED_ARGS("id"), 1))) in generate_test_sample_json() 79 … STRING_UNSIGNED_ARGS("value"), in generate_test_sample_json() 86 … STRING_UNSIGNED_ARGS("description"), in generate_test_sample_json() 87 … STRING_UNSIGNED_ARGS("Unit test sample json")))) in generate_test_sample_json() 92 …tatus = nx_azure_iot_json_writer_append_property_name(writer_ptr, STRING_UNSIGNED_ARGS("list_value… in generate_test_sample_json() 112 …if ((status = nx_azure_iot_json_writer_append_string(writer_ptr, STRING_UNSIGNED_ARGS("unit test")… in generate_test_sample_json() 127 …tatus = nx_azure_iot_json_writer_append_property_name(writer_ptr, STRING_UNSIGNED_ARGS("object_val… in generate_test_sample_json() 137 …azure_iot_json_writer_append_property_with_bool_value(writer_ptr, STRING_UNSIGNED_ARGS("test"), 1)… in generate_test_sample_json() 147 …tatus = nx_azure_iot_json_writer_append_property_name(writer_ptr, STRING_UNSIGNED_ARGS("json_value… in generate_test_sample_json() [all …]
|
| D | d2c_unit_test.c | 32 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) macro 91 STRING_UNSIGNED_ARGS(host_name), in demo_entry() 92 STRING_UNSIGNED_ARGS(device_id), in demo_entry() 93 STRING_UNSIGNED_ARGS(""), in demo_entry() 171 … STRING_UNSIGNED_ARGS(property_name), in demo_entry() 172 … STRING_UNSIGNED_ARGS(property_value), in demo_entry() 179 … STRING_UNSIGNED_ARGS(property_value), in demo_entry() 185 … STRING_UNSIGNED_ARGS(property_name), in demo_entry() 194 … STRING_UNSIGNED_ARGS(large_property_name), in demo_entry() 195 … STRING_UNSIGNED_ARGS(property_value), in demo_entry() [all …]
|
| D | nx_azure_iot_json_reader_unit_test.c | 32 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) macro 59 if ((status = nx_packet_data_append(packet_ptr, STRING_UNSIGNED_ARGS("["), in generate_test_sample_json() 71 if ((status = nx_packet_data_append(packet_ptr, STRING_UNSIGNED_ARGS(","), in generate_test_sample_json() 78 if ((status = nx_packet_data_append(packet_ptr, STRING_UNSIGNED_ARGS(test_sample_json), in generate_test_sample_json() 87 if ((status = nx_packet_data_append(packet_ptr, STRING_UNSIGNED_ARGS("]"), in generate_test_sample_json() 127 … !nx_azure_iot_json_reader_token_is_text_equal(reader_ptr, STRING_UNSIGNED_ARGS("uint_id")) || in read_test_sample_json() 137 … !nx_azure_iot_json_reader_token_is_text_equal(reader_ptr, STRING_UNSIGNED_ARGS("int_value")) || in read_test_sample_json() 147 … !nx_azure_iot_json_reader_token_is_text_equal(reader_ptr, STRING_UNSIGNED_ARGS("double_value")) || in read_test_sample_json() 158 … !nx_azure_iot_json_reader_token_is_text_equal(reader_ptr, STRING_UNSIGNED_ARGS("bool_value1")) || in read_test_sample_json() 169 … !nx_azure_iot_json_reader_token_is_text_equal(reader_ptr, STRING_UNSIGNED_ARGS("bool_value2")) || in read_test_sample_json() [all …]
|
| D | connection_unit_test.c | 30 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) macro 72 STRING_UNSIGNED_ARGS(host_name), in demo_entry() 73 STRING_UNSIGNED_ARGS(device_id), in demo_entry() 94 …assert_int_not_equal(nx_azure_iot_hub_client_model_id_set(NX_NULL, STRING_UNSIGNED_ARGS("test::pnp… in demo_entry() 98 …assert_int_equal(nx_azure_iot_hub_client_model_id_set(&iot_client, STRING_UNSIGNED_ARGS("test::pnp… in demo_entry() 103 …assert_int_not_equal(nx_azure_iot_hub_client_symmetric_key_set(NX_NULL, STRING_UNSIGNED_ARGS("SGVs… in demo_entry() 107 …assert_int_equal(nx_azure_iot_hub_client_symmetric_key_set(&iot_client, STRING_UNSIGNED_ARGS("SGVs… in demo_entry()
|
| D | trusted_cert_unit_test.c | 33 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) macro 92 STRING_UNSIGNED_ARGS(host_name), in demo_entry() 93 STRING_UNSIGNED_ARGS(device_id), in demo_entry() 94 STRING_UNSIGNED_ARGS(""), in demo_entry()
|
| D | connection_sas_expiry_ram_test.c | 32 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) macro 362 STRING_UNSIGNED_ARGS(host_name), in demo_entry() 363 STRING_UNSIGNED_ARGS(device_id), in demo_entry() 364 STRING_UNSIGNED_ARGS(""), in demo_entry() 377 …assert_int_equal(nx_azure_iot_hub_client_symmetric_key_set(&iot_client, STRING_UNSIGNED_ARGS(symme… in demo_entry()
|
| D | device_cert_unit_test.c | 33 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) macro 84 STRING_UNSIGNED_ARGS(host_name), in demo_entry() 85 STRING_UNSIGNED_ARGS(device_id), in demo_entry() 86 STRING_UNSIGNED_ARGS(""), in demo_entry()
|
| D | connection_non_block_ram_test.c | 32 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) macro 360 STRING_UNSIGNED_ARGS(host_name), in demo_entry() 361 STRING_UNSIGNED_ARGS(device_id), in demo_entry() 362 STRING_UNSIGNED_ARGS(""), in demo_entry()
|
| D | api_unit_test.c | 33 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) macro 117 STRING_UNSIGNED_ARGS("host_name"), in api_no_model_id_test() 118 STRING_UNSIGNED_ARGS("device_id"), in api_no_model_id_test() 119 STRING_UNSIGNED_ARGS(""), in api_no_model_id_test() 336 STRING_UNSIGNED_ARGS("host_name"), in api_model_id_test() 337 STRING_UNSIGNED_ARGS("device_id"), in api_model_id_test() 338 STRING_UNSIGNED_ARGS(""), in api_model_id_test()
|
| D | c2d_property_unit_test.c | 33 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) macro 97 STRING_UNSIGNED_ARGS(host_name), in demo_entry() 98 STRING_UNSIGNED_ARGS(device_id), in demo_entry() 99 STRING_UNSIGNED_ARGS(""), in demo_entry()
|
| D | user_agent_string_unit_test.c | 32 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) macro 91 STRING_UNSIGNED_ARGS(host_name), in demo_entry() 92 STRING_UNSIGNED_ARGS(device_id), in demo_entry() 93 STRING_UNSIGNED_ARGS(""), in demo_entry()
|
| D | nx_azure_iot_pnp_client_properties_unit_test.c | 45 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, sizeof(s) - 1 macro 469 … STRING_UNSIGNED_ARGS(g_test_component)))) in generate_test_properties() 476 … STRING_UNSIGNED_ARGS(g_test_reported_property_name), in generate_test_properties() 526 … STRING_UNSIGNED_ARGS(g_test_component)))) in generate_test_properties_with_status() 534 … STRING_UNSIGNED_ARGS(g_test_reported_property_name), in generate_test_properties_with_status() 536 … STRING_UNSIGNED_ARGS(g_test_reported_ack_description)))) in generate_test_properties_with_status() 695 STRING_UNSIGNED_ARGS(g_hostname), in test_suit_begin() 696 STRING_UNSIGNED_ARGS(g_device_id), in test_suit_begin() 697 STRING_UNSIGNED_ARGS(""), in test_suit_begin() 708 STRING_UNSIGNED_ARGS(g_pnp_model_id)), in test_suit_begin()
|
| D | nx_azure_iot_pnp_client_command_unit_test.c | 43 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, sizeof(s) - 1 macro 408 STRING_UNSIGNED_ARGS(g_hostname), in test_suit_begin() 409 STRING_UNSIGNED_ARGS(g_device_id), in test_suit_begin() 410 STRING_UNSIGNED_ARGS(""), in test_suit_begin() 421 STRING_UNSIGNED_ARGS(g_pnp_model_id)), in test_suit_begin()
|
| D | c2d_unit_test.c | 35 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) macro 113 STRING_UNSIGNED_ARGS(host_name), in demo_entry() 114 STRING_UNSIGNED_ARGS(device_id), in demo_entry() 115 STRING_UNSIGNED_ARGS(""), in demo_entry()
|
| D | nx_azure_iot_adu_agent_unit_test.c | 44 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, sizeof(s) - 1 macro 754 STRING_UNSIGNED_ARGS(g_hostname), in test_suit_begin() 755 STRING_UNSIGNED_ARGS(g_device_id), in test_suit_begin() 756 STRING_UNSIGNED_ARGS(""), in test_suit_begin() 767 STRING_UNSIGNED_ARGS(g_pnp_model_id)), in test_suit_begin() 1769 STRING_UNSIGNED_ARGS(g_pnp_model_id)), in test_nx_azure_iot_adu_agent_start_fail_with_no_pnp()
|