Ram Gandikota / Mbed OS ABCD
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers m2mstringbufferbasetest.cpp Source File

m2mstringbufferbasetest.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_m2mstringbufferbase.h"
00019 
00020 TEST_GROUP(M2Mstringbufferbase)
00021 {
00022   Test_M2Mstringbufferbase* stringbufferbase;
00023 
00024   void setup()
00025   {
00026     stringbufferbase = new Test_M2Mstringbufferbase();
00027   }
00028   void teardown()
00029   {
00030     delete stringbufferbase;
00031   }
00032 };
00033 
00034 TEST(M2Mstringbufferbase, Create)
00035 {
00036     CHECK(stringbufferbase != NULL);
00037 }
00038 
00039 TEST(M2Mstringbufferbase, ensure_space)
00040 {
00041     stringbufferbase->test_ensure_space();
00042 }
00043 
00044 TEST(M2Mstringbufferbase, append)
00045 {
00046     stringbufferbase->test_append();
00047 }
00048 
00049 TEST(M2Mstringbufferbase, append_int)
00050 {
00051     stringbufferbase->test_append_int();
00052 }
00053 
00054 TEST(M2Mstringbufferbase, find_last_of)
00055 {
00056     stringbufferbase->test_find_last_of();
00057 }
00058