Rtos API example

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers coap_message_handlertest.cpp Source File

coap_message_handlertest.cpp

00001 /*
00002  * Copyright (c) 2015-2017 ARM. All rights reserved.
00003  */
00004 #include "CppUTest/TestHarness.h"
00005 #include "test_coap_message_handler.h"
00006 
00007 TEST_GROUP(coap_message_handler)
00008 {
00009     void setup()
00010     {
00011     }
00012 
00013     void teardown()
00014     {
00015     }
00016 };
00017 
00018 TEST(coap_message_handler, test_coap_message_handler_init)
00019 {
00020     CHECK(test_coap_message_handler_init());
00021 }
00022 
00023 TEST(coap_message_handler, test_coap_message_handler_destroy)
00024 {
00025     CHECK(test_coap_message_handler_destroy());
00026 }
00027 
00028 TEST(coap_message_handler, test_coap_message_handler_find_transaction)
00029 {
00030     CHECK(test_coap_message_handler_find_transaction());
00031 }
00032 
00033 TEST(coap_message_handler, test_coap_message_handler_coap_msg_process)
00034 {
00035     CHECK(test_coap_message_handler_coap_msg_process());
00036 }
00037 
00038 TEST(coap_message_handler, test_coap_message_handler_request_send)
00039 {
00040     CHECK(test_coap_message_handler_request_send());
00041 }
00042 
00043 TEST(coap_message_handler, test_coap_message_handler_response_send)
00044 {
00045     CHECK(test_coap_message_handler_response_send());
00046 }
00047 
00048 TEST(coap_message_handler, test_coap_message_handler_request_delete)
00049 {
00050     CHECK(test_coap_message_handler_request_delete());
00051 }
00052 
00053 TEST(coap_message_handler, test_coap_message_handler_exec)
00054 {
00055     CHECK(test_coap_message_handler_exec());
00056 }
00057 
00058