Rtos API example

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers coap_service_apitest.cpp Source File

coap_service_apitest.cpp

00001 /*
00002  * Copyright (c) 2015-2017 ARM. All rights reserved.
00003  */
00004 #include "CppUTest/TestHarness.h"
00005 #include "test_coap_service_api.h"
00006 
00007 TEST_GROUP(coap_service_api)
00008 {
00009     void setup()
00010     {
00011     }
00012 
00013     void teardown()
00014     {
00015     }
00016 };
00017 
00018 TEST(coap_service_api, test_coap_service_initialize)
00019 {
00020     CHECK(test_coap_service_initialize());
00021 }
00022 
00023 TEST(coap_service_api, test_coap_service_delete)
00024 {
00025     CHECK(test_coap_service_delete());
00026 }
00027 
00028 TEST(coap_service_api, test_coap_service_virtual_socket_recv)
00029 {
00030     CHECK(test_coap_service_virtual_socket_recv());
00031 }
00032 
00033 TEST(coap_service_api, test_coap_service_virtual_socket_set_cb)
00034 {
00035     CHECK(test_coap_service_virtual_socket_set_cb());
00036 }
00037 
00038 TEST(coap_service_api, test_coap_service_register_uri)
00039 {
00040     CHECK(test_coap_service_register_uri());
00041 }
00042 
00043 TEST(coap_service_api, test_coap_service_unregister_uri)
00044 {
00045     CHECK(test_coap_service_unregister_uri());
00046 }
00047 
00048 TEST(coap_service_api, test_coap_service_request_send)
00049 {
00050     CHECK(test_coap_service_request_send());
00051 }
00052 
00053 TEST(coap_service_api, test_coap_service_request_delete)
00054 {
00055     CHECK(test_coap_service_request_delete());
00056 }
00057 
00058 TEST(coap_service_api, test_coap_service_response_send)
00059 {
00060     CHECK(test_coap_service_response_send());
00061 }
00062 
00063 TEST(coap_service_api, test_coap_callbacks)
00064 {
00065     CHECK(test_coap_callbacks());
00066 }
00067 
00068 TEST(coap_service_api, test_eventOS_callbacks)
00069 {
00070     CHECK(test_eventOS_callbacks());
00071 }
00072 
00073 TEST(coap_service_api, test_conn_handler_callbacks)
00074 {
00075     CHECK(test_conn_handler_callbacks());
00076 }
00077