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

« Back to documentation index

Show/hide line numbers test_m2mserver.h Source File

test_m2mserver.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_SERVER_H
00017 #define TEST_M2M_SERVER_H
00018 
00019 #include "m2mserver.h"
00020 
00021 class Callback;
00022 
00023 class Test_M2MServer
00024 {
00025 public:
00026     Test_M2MServer();
00027     virtual ~Test_M2MServer();
00028 
00029     void test_create_resource();
00030 
00031     void test_create_resource_int();
00032 
00033     void test_delete_resource();
00034 
00035     void test_set_resource_value_int();
00036 
00037     void test_set_resource_value_string();
00038 
00039     void test_resource_value_int();
00040 
00041     void test_resource_value_string();
00042 
00043     void test_is_resource_present();
00044 
00045     void test_total_resource_count();
00046 
00047     M2MServer* server;
00048 };
00049 
00050 #endif // TEST_M2M_SERVER_H
00051