mirror of https://github.com/ARMmbed/mbed-os.git
73 lines
1.3 KiB
C++
73 lines
1.3 KiB
C++
/*
|
|
* Copyright (c) 2015 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_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());
|
|
}
|
|
|