1cb7eb8c9Sopenharmony_ci 2cb7eb8c9Sopenharmony_ci/* 3cb7eb8c9Sopenharmony_ci * Copyright (c) 2024 Huawei Device Co., Ltd. 4cb7eb8c9Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 5cb7eb8c9Sopenharmony_ci * you may not use this file except in compliance with the License. 6cb7eb8c9Sopenharmony_ci * You may obtain a copy of the License at 7cb7eb8c9Sopenharmony_ci * 8cb7eb8c9Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 9cb7eb8c9Sopenharmony_ci * 10cb7eb8c9Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 11cb7eb8c9Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 12cb7eb8c9Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13cb7eb8c9Sopenharmony_ci * See the License for the specific language governing permissions and 14cb7eb8c9Sopenharmony_ci * limitations under the License. 15cb7eb8c9Sopenharmony_ci */ 16cb7eb8c9Sopenharmony_ci 17cb7eb8c9Sopenharmony_ci#include <gmock/gmock.h> 18cb7eb8c9Sopenharmony_ci#include "cloud_file_kit.h" 19cb7eb8c9Sopenharmony_ci 20cb7eb8c9Sopenharmony_cinamespace OHOS::FileManagement::CloudSync { 21cb7eb8c9Sopenharmony_ci 22cb7eb8c9Sopenharmony_ciclass CloudFileKitMock : public CloudFile::CloudFileKit { 23cb7eb8c9Sopenharmony_cipublic: 24cb7eb8c9Sopenharmony_ci MOCK_METHOD2(GetCloudUserInfo, int32_t(const int32_t userId, CloudFile::CloudUserInfo &userInfo)); 25cb7eb8c9Sopenharmony_ci MOCK_METHOD3(GetAppSwitchStatus, int32_t(const std::string &bundleName, const int32_t userId, bool &switchStatus)); 26cb7eb8c9Sopenharmony_ci}; 27cb7eb8c9Sopenharmony_ci 28cb7eb8c9Sopenharmony_ci}