BA / Mbed OS BaBoRo1
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers coap_message_handlertest.cpp Source File

coap_message_handlertest.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_message_handler.h"
00019 
00020 TEST_GROUP(coap_message_handler)
00021 {
00022     void setup()
00023     {
00024     }
00025 
00026     void teardown()
00027     {
00028     }
00029 };
00030 
00031 TEST(coap_message_handler, test_coap_message_handler_init)
00032 {
00033     CHECK(test_coap_message_handler_init());
00034 }
00035 
00036 TEST(coap_message_handler, test_coap_message_handler_destroy)
00037 {
00038     CHECK(test_coap_message_handler_destroy());
00039 }
00040 
00041 TEST(coap_message_handler, test_coap_message_handler_find_transaction)
00042 {
00043     CHECK(test_coap_message_handler_find_transaction());
00044 }
00045 
00046 TEST(coap_message_handler, test_coap_message_handler_coap_msg_process)
00047 {
00048     CHECK(test_coap_message_handler_coap_msg_process());
00049 }
00050 
00051 TEST(coap_message_handler, test_coap_message_handler_request_send)
00052 {
00053     CHECK(test_coap_message_handler_request_send());
00054 }
00055 
00056 TEST(coap_message_handler, test_coap_message_handler_response_send)
00057 {
00058     CHECK(test_coap_message_handler_response_send());
00059 }
00060 
00061 TEST(coap_message_handler, test_coap_message_handler_request_delete)
00062 {
00063     CHECK(test_coap_message_handler_request_delete());
00064 }
00065 
00066 TEST(coap_message_handler, test_coap_message_handler_exec)
00067 {
00068     CHECK(test_coap_message_handler_exec());
00069 }
00070 
00071