1 /* 2 * Copyright (c) 2023 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 #include <gmock/gmock.h> 17 #include <gtest/gtest.h> 18 19 #include "download_asset_callback_client.h" 20 #include "asset_callback_mock.h" 21 #include "dfs_error.h" 22 #include "utils_log.h" 23 24 namespace OHOS { 25 namespace FileManagement::CloudSync { 26 namespace Test { 27 using namespace testing::ext; 28 using namespace std; 29 30 class DownloadAssetCallbackClientTest : public testing::Test { 31 public: 32 static void SetUpTestCase(void); 33 static void TearDownTestCase(void); 34 void SetUp(); 35 void TearDown(); 36 }; 37 SetUpTestCase(void)38void DownloadAssetCallbackClientTest::SetUpTestCase(void) 39 { 40 std::cout << "SetUpTestCase" << std::endl; 41 } 42 TearDownTestCase(void)43void DownloadAssetCallbackClientTest::TearDownTestCase(void) 44 { 45 std::cout << "TearDownTestCase" << std::endl; 46 } 47 SetUp(void)48void DownloadAssetCallbackClientTest::SetUp(void) 49 { 50 std::cout << "SetUp" << std::endl; 51 } 52 TearDown(void)53void DownloadAssetCallbackClientTest::TearDown(void) 54 { 55 std::cout << "TearDown" << std::endl; 56 } 57 58 } // namespace Test 59 } // namespace FileManagement::CloudSync 60 } // namespace OHOS 61