Marco Mayer / Mbed OS Queue
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers coap_connection_handlertest.cpp Source File

coap_connection_handlertest.cpp

00001 /*
00002  * Copyright (c) 2015-2017 ARM. All rights reserved.
00003  */
00004 #include "CppUTest/TestHarness.h"
00005 #include "test_coap_connection_handler.h"
00006 
00007 TEST_GROUP(coap_connection_handler)
00008 {
00009     void setup()
00010     {
00011     }
00012 
00013     void teardown()
00014     {
00015     }
00016 };
00017 
00018 TEST(coap_connection_handler, test_connection_handler_create)
00019 {
00020     CHECK(test_connection_handler_create());
00021 }
00022 
00023 TEST(coap_connection_handler, test_connection_handler_destroy)
00024 {
00025     CHECK(test_connection_handler_destroy());
00026 }
00027 
00028 TEST(coap_connection_handler, test_coap_connection_handler_open_connection)
00029 {
00030     CHECK(test_coap_connection_handler_open_connection());
00031 }
00032 
00033 TEST(coap_connection_handler, test_coap_connection_handler_send_data)
00034 {
00035     CHECK(test_coap_connection_handler_send_data());
00036 }
00037 
00038 TEST(coap_connection_handler, test_coap_connection_handler_virtual_recv)
00039 {
00040     CHECK(test_coap_connection_handler_virtual_recv());
00041 }
00042 
00043 TEST(coap_connection_handler, test_coap_connection_handler_socket_belongs_to)
00044 {
00045     CHECK(test_coap_connection_handler_socket_belongs_to());
00046 }
00047 
00048 TEST(coap_connection_handler, test_timer_callbacks)
00049 {
00050     CHECK(test_timer_callbacks());
00051 }
00052 
00053 TEST(coap_connection_handler, test_socket_api_callbacks)
00054 {
00055     CHECK(test_socket_api_callbacks());
00056 }
00057 
00058 TEST(coap_connection_handler, test_security_callbacks)
00059 {
00060     CHECK(test_security_callbacks());
00061 }
00062