Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed-TFT-example-NCS36510 mbed-Accelerometer-example-NCS36510 mbed-Accelerometer-example-NCS36510
coap_security_handlertest.cpp
00001 /* 00002 * Copyright (c) 2015 ARM. All rights reserved. 00003 */ 00004 #include "CppUTest/TestHarness.h" 00005 #include "test_coap_security_handler.h" 00006 #include "mbedtls_stub.h" 00007 #include "nsdynmemLIB_stub.h" 00008 00009 TEST_GROUP(coap_security_handler) 00010 { 00011 void setup() 00012 { 00013 nsdynmemlib_stub.returnCounter = 0; 00014 mbedtls_stub.useCounter = false; 00015 } 00016 00017 void teardown() 00018 { 00019 } 00020 }; 00021 00022 TEST(coap_security_handler, test_thread_security_create) 00023 { 00024 CHECK(test_thread_security_create()); 00025 } 00026 00027 TEST(coap_security_handler, test_thread_security_destroy) 00028 { 00029 CHECK(test_thread_security_destroy()); 00030 } 00031 00032 TEST(coap_security_handler, test_coap_security_handler_connect) 00033 { 00034 CHECK(test_coap_security_handler_connect()); 00035 } 00036 00037 TEST(coap_security_handler, test_coap_security_handler_continue_connecting) 00038 { 00039 CHECK(test_coap_security_handler_continue_connecting()); 00040 } 00041 00042 TEST(coap_security_handler, test_coap_security_handler_send_message) 00043 { 00044 CHECK(test_coap_security_handler_send_message()); 00045 } 00046 00047 TEST(coap_security_handler, test_thread_security_send_close_alert) 00048 { 00049 CHECK(test_thread_security_send_close_alert()); 00050 } 00051 00052 TEST(coap_security_handler, test_coap_security_handler_read) 00053 { 00054 CHECK(test_coap_security_handler_read()); 00055 }
Generated on Tue Jul 12 2022 11:02:35 by
