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.
mbed-client/test/mbedclient/utest/m2mstring/test_m2mstring.h@0:06ee5f8a484a, 2017-03-18 (annotated)
- Committer:
- djmeyers
- Date:
- Sat Mar 18 22:37:16 2017 +0000
- Revision:
- 0:06ee5f8a484a
Initial commit
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| djmeyers | 0:06ee5f8a484a | 1 | /* |
| djmeyers | 0:06ee5f8a484a | 2 | * Copyright (c) 2015 ARM Limited. All rights reserved. |
| djmeyers | 0:06ee5f8a484a | 3 | * SPDX-License-Identifier: Apache-2.0 |
| djmeyers | 0:06ee5f8a484a | 4 | * Licensed under the Apache License, Version 2.0 (the License); you may |
| djmeyers | 0:06ee5f8a484a | 5 | * not use this file except in compliance with the License. |
| djmeyers | 0:06ee5f8a484a | 6 | * You may obtain a copy of the License at |
| djmeyers | 0:06ee5f8a484a | 7 | * |
| djmeyers | 0:06ee5f8a484a | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| djmeyers | 0:06ee5f8a484a | 9 | * |
| djmeyers | 0:06ee5f8a484a | 10 | * Unless required by applicable law or agreed to in writing, software |
| djmeyers | 0:06ee5f8a484a | 11 | * distributed under the License is distributed on an AS IS BASIS, WITHOUT |
| djmeyers | 0:06ee5f8a484a | 12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| djmeyers | 0:06ee5f8a484a | 13 | * See the License for the specific language governing permissions and |
| djmeyers | 0:06ee5f8a484a | 14 | * limitations under the License. |
| djmeyers | 0:06ee5f8a484a | 15 | */ |
| djmeyers | 0:06ee5f8a484a | 16 | #ifndef TEST_M2M_STRING_H |
| djmeyers | 0:06ee5f8a484a | 17 | #define TEST_M2M_STRING_H |
| djmeyers | 0:06ee5f8a484a | 18 | |
| djmeyers | 0:06ee5f8a484a | 19 | #include "m2mstring.h" |
| djmeyers | 0:06ee5f8a484a | 20 | |
| djmeyers | 0:06ee5f8a484a | 21 | using namespace m2m; |
| djmeyers | 0:06ee5f8a484a | 22 | |
| djmeyers | 0:06ee5f8a484a | 23 | class Test_M2MString |
| djmeyers | 0:06ee5f8a484a | 24 | { |
| djmeyers | 0:06ee5f8a484a | 25 | public: |
| djmeyers | 0:06ee5f8a484a | 26 | Test_M2MString(); |
| djmeyers | 0:06ee5f8a484a | 27 | virtual ~Test_M2MString(); |
| djmeyers | 0:06ee5f8a484a | 28 | |
| djmeyers | 0:06ee5f8a484a | 29 | void test_string_and_len_constructor(); |
| djmeyers | 0:06ee5f8a484a | 30 | void test_copy_constructor(); |
| djmeyers | 0:06ee5f8a484a | 31 | void test_operator_assign(); |
| djmeyers | 0:06ee5f8a484a | 32 | void test_operator_add(); |
| djmeyers | 0:06ee5f8a484a | 33 | void test_push_back(); |
| djmeyers | 0:06ee5f8a484a | 34 | void test_operator_equals(); |
| djmeyers | 0:06ee5f8a484a | 35 | void test_clear(); |
| djmeyers | 0:06ee5f8a484a | 36 | void test_size(); |
| djmeyers | 0:06ee5f8a484a | 37 | void test_length(); |
| djmeyers | 0:06ee5f8a484a | 38 | void test_capacity(); |
| djmeyers | 0:06ee5f8a484a | 39 | void test_empty(); |
| djmeyers | 0:06ee5f8a484a | 40 | void test_c_str(); |
| djmeyers | 0:06ee5f8a484a | 41 | void test_reserve(); |
| djmeyers | 0:06ee5f8a484a | 42 | void test_resize(); |
| djmeyers | 0:06ee5f8a484a | 43 | void test_swap(); |
| djmeyers | 0:06ee5f8a484a | 44 | void test_substr(); |
| djmeyers | 0:06ee5f8a484a | 45 | void test_operator_get(); |
| djmeyers | 0:06ee5f8a484a | 46 | void test_at(); |
| djmeyers | 0:06ee5f8a484a | 47 | void test_erase(); |
| djmeyers | 0:06ee5f8a484a | 48 | void test_append(); |
| djmeyers | 0:06ee5f8a484a | 49 | void test_append_raw(); |
| djmeyers | 0:06ee5f8a484a | 50 | void test_append_int(); |
| djmeyers | 0:06ee5f8a484a | 51 | void test_compare(); |
| djmeyers | 0:06ee5f8a484a | 52 | void test_find_last_of(); |
| djmeyers | 0:06ee5f8a484a | 53 | void test_operator_lt(); |
| djmeyers | 0:06ee5f8a484a | 54 | void test_reverse(); |
| djmeyers | 0:06ee5f8a484a | 55 | void test_itoa_c(); |
| djmeyers | 0:06ee5f8a484a | 56 | void test_convert_integer_to_array(); |
| djmeyers | 0:06ee5f8a484a | 57 | |
| djmeyers | 0:06ee5f8a484a | 58 | String* str; |
| djmeyers | 0:06ee5f8a484a | 59 | }; |
| djmeyers | 0:06ee5f8a484a | 60 | |
| djmeyers | 0:06ee5f8a484a | 61 | #endif // TEST_M2M_STRING_H |