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
test_m2mresourceinstance.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_RESOURCE_INSTANCE_H 00017 #define TEST_M2M_RESOURCE_INSTANCE_H 00018 00019 #include "m2mresourceinstance.h" 00020 00021 class Handler; 00022 class Callback; 00023 class ResourceCallback; 00024 00025 class Test_M2MResourceInstance 00026 { 00027 public: 00028 Test_M2MResourceInstance(); 00029 00030 ~Test_M2MResourceInstance(); 00031 00032 void test_copy_constructor(); 00033 00034 void test_assignment_constructor(); 00035 00036 void test_static_resource_instance(); 00037 00038 void test_base_type(); 00039 00040 void test_resource_instance_type(); 00041 00042 void test_handle_observation_attribute(); 00043 00044 void test_set_execute_function(); 00045 00046 void test_execute(); 00047 00048 void test_set_value(); 00049 00050 void test_clear_value(); 00051 00052 void test_get_value(); 00053 00054 void test_value(); 00055 00056 void test_value_length(); 00057 00058 void test_handle_get_request(); 00059 00060 void test_handle_put_request(); 00061 00062 void test_set_resource_observer(); 00063 00064 void test_get_object_name(); 00065 00066 void test_get_object_instance_id(); 00067 00068 M2MResourceInstance* resource_instance; 00069 00070 Callback *callback; 00071 00072 Handler* handler; 00073 }; 00074 00075 #endif // TEST_M2M_RESOURCE_INSTANCE_H
Generated on Tue Jul 12 2022 12:28:54 by
