Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: blinky_max32630fthr
sn_nsdltest.cpp
00001 /* 00002 * Copyright (c) 2015 ARM. All rights reserved. 00003 */ 00004 #include "CppUTest/TestHarness.h" 00005 #include "test_sn_nsdl.h" 00006 00007 TEST_GROUP(sn_nsdl) 00008 { 00009 void setup() 00010 { 00011 } 00012 00013 void teardown() 00014 { 00015 } 00016 }; 00017 00018 TEST(sn_nsdl, test_sn_nsdl_destroy) 00019 { 00020 CHECK(test_sn_nsdl_destroy()); 00021 } 00022 00023 TEST(sn_nsdl, test_sn_nsdl_init) 00024 { 00025 CHECK(test_sn_nsdl_init()); 00026 } 00027 00028 TEST(sn_nsdl, test_sn_nsdl_register_endpoint) 00029 { 00030 CHECK(test_sn_nsdl_register_endpoint()); 00031 } 00032 00033 TEST(sn_nsdl, test_sn_nsdl_unregister_endpoint) 00034 { 00035 CHECK(test_sn_nsdl_unregister_endpoint()); 00036 } 00037 00038 TEST(sn_nsdl, test_sn_nsdl_update_registration) 00039 { 00040 CHECK(test_sn_nsdl_update_registration()); 00041 } 00042 00043 TEST(sn_nsdl, test_sn_nsdl_set_endpoint_location) 00044 { 00045 CHECK(test_sn_nsdl_set_endpoint_location()); 00046 } 00047 00048 TEST(sn_nsdl, test_sn_nsdl_nsp_lost) 00049 { 00050 CHECK(test_sn_nsdl_nsp_lost()); 00051 } 00052 00053 TEST(sn_nsdl, test_sn_nsdl_is_ep_registered) 00054 { 00055 CHECK(test_sn_nsdl_is_ep_registered()); 00056 } 00057 00058 TEST(sn_nsdl, test_sn_nsdl_send_observation_notification) 00059 { 00060 CHECK(test_sn_nsdl_send_observation_notification()); 00061 } 00062 00063 TEST(sn_nsdl, test_sn_nsdl_send_observation_notification_with_uri_path) 00064 { 00065 CHECK(test_sn_nsdl_send_observation_notification_with_uri_path()); 00066 } 00067 00068 TEST(sn_nsdl, test_sn_nsdl_oma_bootstrap) 00069 { 00070 CHECK(test_sn_nsdl_oma_bootstrap()); 00071 } 00072 00073 TEST(sn_nsdl, test_sn_nsdl_get_certificates) 00074 { 00075 CHECK(test_sn_nsdl_get_certificates()); 00076 } 00077 00078 TEST(sn_nsdl, test_sn_nsdl_update_certificates) 00079 { 00080 CHECK(test_sn_nsdl_update_certificates()); 00081 } 00082 00083 TEST(sn_nsdl, test_sn_nsdl_create_oma_device_object) 00084 { 00085 CHECK(test_sn_nsdl_create_oma_device_object()); 00086 } 00087 00088 TEST(sn_nsdl, test_sn_nsdl_get_version) 00089 { 00090 CHECK(test_sn_nsdl_get_version()); 00091 } 00092 00093 TEST(sn_nsdl, test_sn_nsdl_process_coap) 00094 { 00095 CHECK(test_sn_nsdl_process_coap()); 00096 } 00097 00098 00099 TEST(sn_nsdl, test_sn_nsdl_exec) 00100 { 00101 CHECK(test_sn_nsdl_exec()); 00102 } 00103 00104 TEST(sn_nsdl, test_sn_nsdl_get_resource) 00105 { 00106 CHECK(test_sn_nsdl_get_resource()); 00107 } 00108 00109 TEST(sn_nsdl, test_set_NSP_address) 00110 { 00111 CHECK(test_set_NSP_address()); 00112 } 00113 00114 TEST(sn_nsdl, test_sn_nsdl_list_resource) 00115 { 00116 CHECK(test_sn_nsdl_list_resource()); 00117 } 00118 00119 TEST(sn_nsdl, test_sn_nsdl_free_resource_list) 00120 { 00121 CHECK(test_sn_nsdl_free_resource_list()); 00122 } 00123 00124 TEST(sn_nsdl, test_sn_nsdl_update_resource) 00125 { 00126 CHECK(test_sn_nsdl_update_resource()); 00127 } 00128 00129 TEST(sn_nsdl, test_sn_nsdl_send_coap_message) 00130 { 00131 CHECK(test_sn_nsdl_send_coap_message()); 00132 } 00133 00134 TEST(sn_nsdl, test_sn_nsdl_create_resource) 00135 { 00136 CHECK(test_sn_nsdl_create_resource()); 00137 } 00138 00139 TEST(sn_nsdl, test_sn_nsdl_put_resource) 00140 { 00141 CHECK(test_sn_nsdl_put_resource()); 00142 } 00143 00144 TEST(sn_nsdl, test_sn_nsdl_delete_resource) 00145 { 00146 CHECK(test_sn_nsdl_delete_resource()); 00147 } 00148 00149 TEST(sn_nsdl, test_sn_nsdl_get_first_resource) 00150 { 00151 CHECK(test_sn_nsdl_get_first_resource()); 00152 } 00153 00154 TEST(sn_nsdl, test_sn_nsdl_get_next_resource) 00155 { 00156 CHECK(test_sn_nsdl_get_next_resource()); 00157 } 00158 00159 TEST(sn_nsdl, test_sn_nsdl_build_response) 00160 { 00161 CHECK(test_sn_nsdl_build_response()); 00162 } 00163 00164 TEST(sn_nsdl, test_sn_nsdl_release_allocated_coap_msg_mem) 00165 { 00166 CHECK(test_sn_nsdl_release_allocated_coap_msg_mem()); 00167 } 00168 00169 TEST(sn_nsdl, test_sn_nsdl_set_retransmission_parameters) 00170 { 00171 CHECK(test_sn_nsdl_set_retransmission_parameters()); 00172 } 00173 00174 TEST(sn_nsdl, test_sn_nsdl_set_retransmission_buffer) 00175 { 00176 CHECK(test_sn_nsdl_set_retransmission_buffer()); 00177 } 00178 00179 TEST(sn_nsdl, test_sn_nsdl_set_block_size) 00180 { 00181 CHECK(test_sn_nsdl_set_block_size()); 00182 } 00183 00184 TEST(sn_nsdl, test_sn_nsdl_set_duplicate_buffer_size) 00185 { 00186 CHECK(test_sn_nsdl_set_duplicate_buffer_size()); 00187 } 00188 00189 00190
Generated on Tue Jul 12 2022 14:21:20 by
1.7.2