mbed-os/test/coap-service/unittest/coap_connection_handler/coap_connection_handlertest...

63 lines
1.3 KiB
C++

/*
* Copyright (c) 2015 ARM. All rights reserved.
*/
#include "CppUTest/TestHarness.h"
#include "test_coap_connection_handler.h"
TEST_GROUP(coap_connection_handler)
{
void setup()
{
}
void teardown()
{
}
};
TEST(coap_connection_handler, test_connection_handler_create)
{
CHECK(test_connection_handler_create());
}
TEST(coap_connection_handler, test_connection_handler_destroy)
{
CHECK(test_connection_handler_destroy());
}
TEST(coap_connection_handler, test_coap_connection_handler_open_connection)
{
CHECK(test_coap_connection_handler_open_connection());
}
TEST(coap_connection_handler, test_coap_connection_handler_send_data)
{
CHECK(test_coap_connection_handler_send_data());
}
TEST(coap_connection_handler, test_coap_connection_handler_virtual_recv)
{
CHECK(test_coap_connection_handler_virtual_recv());
}
TEST(coap_connection_handler, test_coap_connection_handler_socket_belongs_to)
{
CHECK(test_coap_connection_handler_socket_belongs_to());
}
TEST(coap_connection_handler, test_timer_callbacks)
{
CHECK(test_timer_callbacks());
}
TEST(coap_connection_handler, test_socket_api_callbacks)
{
CHECK(test_socket_api_callbacks());
}
TEST(coap_connection_handler, test_security_callbacks)
{
CHECK(test_security_callbacks());
}