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.
Dependencies: MAX44000 PWM_Tone_Library nexpaq_mdk
Fork of LED_Demo by
m2mconnectionsecurity_mbedtlstest.cpp
00001 /* 00002 * Copyright (c) 2015 ARM Limited. All rights reserved. 00003 * SPDX-License-Identifier: Apache-2.0 00004 * Licensed under the Apache License, Version 2.0 (the License); you may 00005 * not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an AS IS BASIS, WITHOUT 00012 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 //CppUTest includes should be after your and system includes 00017 #include "CppUTest/TestHarness.h" 00018 #include "test_m2mconnectionsecurity_mbedtls.h" 00019 00020 00021 TEST_GROUP(M2MConnectionSecurity_mbedtls) 00022 { 00023 Test_M2MConnectionSecurity* inst; 00024 00025 void setup() 00026 { 00027 inst = new Test_M2MConnectionSecurity(); 00028 } 00029 void teardown() 00030 { 00031 delete inst; 00032 } 00033 }; 00034 00035 TEST(M2MConnectionSecurity_mbedtls, Create) 00036 { 00037 CHECK(inst != NULL); 00038 } 00039 00040 TEST(M2MConnectionSecurity_mbedtls, test_constructor) 00041 { 00042 inst->test_constructor(); 00043 } 00044 00045 TEST(M2MConnectionSecurity_mbedtls, test_destructor) 00046 { 00047 inst->test_destructor(); 00048 } 00049 00050 TEST(M2MConnectionSecurity_mbedtls, test_reset) 00051 { 00052 inst->test_reset(); 00053 } 00054 00055 TEST(M2MConnectionSecurity_mbedtls, test_init) 00056 { 00057 inst->test_init(); 00058 } 00059 00060 TEST(M2MConnectionSecurity_mbedtls, test_connect) 00061 { 00062 inst->test_connect(); 00063 } 00064 00065 TEST(M2MConnectionSecurity_mbedtls, test_start_connecting_non_blocking) 00066 { 00067 inst->test_start_connecting_non_blocking(); 00068 } 00069 00070 TEST(M2MConnectionSecurity_mbedtls, test_continue_connecting) 00071 { 00072 inst->test_continue_connecting(); 00073 } 00074 00075 TEST(M2MConnectionSecurity_mbedtls, test_send_message) 00076 { 00077 inst->test_send_message(); 00078 } 00079 00080 TEST(M2MConnectionSecurity_mbedtls, test_read) 00081 { 00082 inst->test_read(); 00083 } 00084 00085 TEST(M2MConnectionSecurity_mbedtls, test_set_random_number_callback) 00086 { 00087 inst->test_set_random_number_callback(); 00088 } 00089 00090 TEST(M2MConnectionSecurity_mbedtls, test_set_entropy_callback) 00091 { 00092 inst->test_set_entropy_callback(); 00093 } 00094
Generated on Tue Jul 12 2022 12:28:36 by
