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: TYBLE16_simple_data_logger TYBLE16_MP3_Air
coap_service_apitest.cpp
00001 /* 00002 * Copyright (c) 2015-2017, Arm Limited and affiliates. 00003 * SPDX-License-Identifier: Apache-2.0 00004 * 00005 * Licensed under the Apache License, Version 2.0 (the "License"); 00006 * you may not use this file except in compliance with the License. 00007 * You may obtain a copy of the License at 00008 * 00009 * http://www.apache.org/licenses/LICENSE-2.0 00010 * 00011 * Unless required by applicable law or agreed to in writing, software 00012 * distributed under the License is distributed on an "AS IS" BASIS, 00013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00014 * See the License for the specific language governing permissions and 00015 * limitations under the License. 00016 */ 00017 #include "CppUTest/TestHarness.h" 00018 #include "test_coap_service_api.h" 00019 00020 TEST_GROUP(coap_service_api) 00021 { 00022 void setup() { 00023 } 00024 00025 void teardown() { 00026 } 00027 }; 00028 00029 TEST(coap_service_api, test_coap_service_initialize) 00030 { 00031 CHECK(test_coap_service_initialize()); 00032 } 00033 00034 TEST(coap_service_api, test_coap_service_delete) 00035 { 00036 CHECK(test_coap_service_delete()); 00037 } 00038 00039 TEST(coap_service_api, test_coap_service_virtual_socket_recv) 00040 { 00041 CHECK(test_coap_service_virtual_socket_recv()); 00042 } 00043 00044 TEST(coap_service_api, test_coap_service_virtual_socket_set_cb) 00045 { 00046 CHECK(test_coap_service_virtual_socket_set_cb()); 00047 } 00048 00049 TEST(coap_service_api, test_coap_service_register_uri) 00050 { 00051 CHECK(test_coap_service_register_uri()); 00052 } 00053 00054 TEST(coap_service_api, test_coap_service_unregister_uri) 00055 { 00056 CHECK(test_coap_service_unregister_uri()); 00057 } 00058 00059 TEST(coap_service_api, test_coap_service_request_send) 00060 { 00061 CHECK(test_coap_service_request_send()); 00062 } 00063 00064 TEST(coap_service_api, test_coap_service_request_delete) 00065 { 00066 CHECK(test_coap_service_request_delete()); 00067 } 00068 00069 TEST(coap_service_api, test_coap_service_request_delete_by_service_id) 00070 { 00071 CHECK(test_coap_service_request_delete_by_service_id()); 00072 } 00073 00074 TEST(coap_service_api, test_coap_service_response_send) 00075 { 00076 CHECK(test_coap_service_response_send()); 00077 } 00078 00079 TEST(coap_service_api, test_coap_callbacks) 00080 { 00081 CHECK(test_coap_callbacks()); 00082 } 00083 00084 TEST(coap_service_api, test_eventOS_callbacks) 00085 { 00086 CHECK(test_eventOS_callbacks()); 00087 } 00088 00089 TEST(coap_service_api, test_conn_handler_callbacks) 00090 { 00091 CHECK(test_conn_handler_callbacks()); 00092 } 00093 00094 TEST(coap_service_api, test_certificate_set) 00095 { 00096 CHECK(test_certificate_set()); 00097 } 00098 00099 TEST(coap_service_api, test_handshake_timeout_set) 00100 { 00101 CHECK(test_handshake_timeout_set()); 00102 } 00103 00104 TEST(coap_service_api, test_coap_duplcate_msg_buffer_set) 00105 { 00106 CHECK(test_coap_duplcate_msg_buffer_set()); 00107 } 00108 00109 TEST(coap_service_api, test_coap_service_get_internal_timer_ticks) 00110 { 00111 CHECK(test_coap_service_get_internal_timer_ticks()) 00112 } 00113 00114 TEST(coap_service_api, test_coap_service_if_find_by_socket) 00115 { 00116 CHECK(test_coap_service_if_find_by_socket()) 00117 } 00118 00119 TEST(coap_service_api, test_coap_service_handshake_limit_set) 00120 { 00121 CHECK(test_coap_service_handshake_limit_set()) 00122 } 00123 00124 TEST(coap_service_api, test_coap_service_msg_prevalidate_cb_read_and_set) 00125 { 00126 CHECK(test_coap_service_msg_prevalidate_cb_read_and_set()) 00127 } 00128
Generated on Tue Jul 12 2022 13:54:12 by
