1 /* 2 * Copyright (c) 2025 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #ifndef MC_COMMAND_TEST_H 17 #define MC_COMMAND_TEST_H 18 19 #include "gtest/gtest.h" 20 21 #define private public 22 #define protected public 23 #include "mc_command_base.h" 24 #include "mc_command_factory.h" 25 #include "mc_get_mech_camera_tracking_layout_cmd.h" 26 #include "mc_get_mech_capability_info_cmd.h" 27 #include "mc_register_mech_camera_key_event_cmd.h" 28 #include "mc_register_mech_control_result_cmd.h" 29 #include "mc_register_mech_position_info_cmd.h" 30 #include "mc_register_mech_state_info_cmd.h" 31 #include "mc_register_mech_wheel_data_cmd.h" 32 #include "mc_set_mech_camera_info_cmd.h" 33 #include "mc_set_mech_camera_tracking_frame_cmd.h" 34 #include "mc_set_mech_camera_tracking_layout_cmd.h" 35 #include "mc_set_mech_config_cmd.h" 36 #include "mc_set_mech_rotation_by_speed_cmd.h" 37 #include "mc_set_mech_rotation_cmd.h" 38 #include "mc_set_mech_rotation_trace_cmd.h" 39 #include "mc_set_mech_stop_cmd.h" 40 #undef private 41 #undef protected 42 43 namespace OHOS { 44 namespace MechBodyController { 45 class MechCommandTest : public testing::Test { 46 public: 47 static void SetUpTestCase(); 48 static void TearDownTestCase(); 49 void SetUp(); 50 void TearDown(); 51 }; 52 } // namespace MechBodyController 53 } // namespace OHOS 54 #endif // MC_COMMAND_TEST_H 55