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

« Back to documentation index

Show/hide line numbers test_m2mstring.h Source File

test_m2mstring.h

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 #ifndef TEST_M2M_STRING_H
00017 #define TEST_M2M_STRING_H
00018 
00019 #include "m2mstring.h"
00020 
00021 using namespace m2m;
00022 
00023 class Test_M2MString
00024 {
00025 public:
00026     Test_M2MString();
00027     virtual ~Test_M2MString();
00028 
00029     void test_string_and_len_constructor();
00030     void test_copy_constructor();
00031     void test_operator_assign();
00032     void test_operator_add();
00033     void test_push_back();
00034     void test_operator_equals();
00035     void test_clear();
00036     void test_size();
00037     void test_length();
00038     void test_capacity();
00039     void test_empty();
00040     void test_c_str();
00041     void test_reserve();
00042     void test_resize();
00043     void test_swap();
00044     void test_substr();
00045     void test_operator_get();
00046     void test_at();
00047     void test_erase();
00048     void test_append();
00049     void test_append_raw();
00050     void test_append_int();
00051     void test_compare();
00052     void test_find_last_of();
00053     void test_operator_lt();
00054     void test_reverse();
00055     void test_itoa_c();
00056     void test_convert_integer_to_array();
00057 
00058     String* str;
00059 };
00060 
00061 #endif // TEST_M2M_STRING_H