mirror of https://github.com/ARMmbed/mbed-os.git
107 lines
2.1 KiB
C++
107 lines
2.1 KiB
C++
/*
|
|
* Copyright (c) 2015-2017 ARM. All rights reserved.
|
|
*/
|
|
#include "CppUTest/TestHarness.h"
|
|
#include "test_coap_service_api.h"
|
|
|
|
TEST_GROUP(coap_service_api)
|
|
{
|
|
void setup()
|
|
{
|
|
}
|
|
|
|
void teardown()
|
|
{
|
|
}
|
|
};
|
|
|
|
TEST(coap_service_api, test_coap_service_initialize)
|
|
{
|
|
CHECK(test_coap_service_initialize());
|
|
}
|
|
|
|
TEST(coap_service_api, test_coap_service_delete)
|
|
{
|
|
CHECK(test_coap_service_delete());
|
|
}
|
|
|
|
TEST(coap_service_api, test_coap_service_virtual_socket_recv)
|
|
{
|
|
CHECK(test_coap_service_virtual_socket_recv());
|
|
}
|
|
|
|
TEST(coap_service_api, test_coap_service_virtual_socket_set_cb)
|
|
{
|
|
CHECK(test_coap_service_virtual_socket_set_cb());
|
|
}
|
|
|
|
TEST(coap_service_api, test_coap_service_register_uri)
|
|
{
|
|
CHECK(test_coap_service_register_uri());
|
|
}
|
|
|
|
TEST(coap_service_api, test_coap_service_unregister_uri)
|
|
{
|
|
CHECK(test_coap_service_unregister_uri());
|
|
}
|
|
|
|
TEST(coap_service_api, test_coap_service_request_send)
|
|
{
|
|
CHECK(test_coap_service_request_send());
|
|
}
|
|
|
|
TEST(coap_service_api, test_coap_service_request_delete)
|
|
{
|
|
CHECK(test_coap_service_request_delete());
|
|
}
|
|
|
|
TEST(coap_service_api, test_coap_service_response_send)
|
|
{
|
|
CHECK(test_coap_service_response_send());
|
|
}
|
|
|
|
TEST(coap_service_api, test_coap_callbacks)
|
|
{
|
|
CHECK(test_coap_callbacks());
|
|
}
|
|
|
|
TEST(coap_service_api, test_eventOS_callbacks)
|
|
{
|
|
CHECK(test_eventOS_callbacks());
|
|
}
|
|
|
|
TEST(coap_service_api, test_conn_handler_callbacks)
|
|
{
|
|
CHECK(test_conn_handler_callbacks());
|
|
}
|
|
|
|
TEST(coap_service_api, test_certificate_set)
|
|
{
|
|
CHECK(test_certificate_set());
|
|
}
|
|
|
|
TEST(coap_service_api, test_handshake_timeout_set)
|
|
{
|
|
CHECK(test_handshake_timeout_set());
|
|
}
|
|
|
|
TEST(coap_service_api, test_coap_duplcate_msg_buffer_set)
|
|
{
|
|
CHECK(test_coap_duplcate_msg_buffer_set());
|
|
}
|
|
|
|
TEST(coap_service_api, test_coap_service_get_internal_timer_ticks)
|
|
{
|
|
CHECK(test_coap_service_get_internal_timer_ticks())
|
|
}
|
|
|
|
TEST(coap_service_api, test_coap_service_if_find_by_socket)
|
|
{
|
|
CHECK(test_coap_service_if_find_by_socket())
|
|
}
|
|
|
|
TEST(coap_service_api, test_coap_service_handshake_limit_set)
|
|
{
|
|
CHECK(test_coap_service_handshake_limit_set())
|
|
}
|