# Copyright (c) 2021-2023 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni") ace_unittest("common_test") { type = "new" module_output = "common" sources = [ "$ace_root/adapter/ohos/entrance/file_asset_provider_impl.cpp", "$ace_root/frameworks/core/common/asset_manager_impl.cpp", "$ace_root/frameworks/core/common/environment/environment_proxy.cpp", "$ace_root/frameworks/core/common/resource/resource_manager.cpp", "$ace_root/frameworks/core/common/resource/resource_wrapper.cpp", "$ace_root/frameworks/core/common/rosen/rosen_asset_manager.cpp", "$ace_root/frameworks/core/common/rosen/rosen_convert_helper.cpp", "$ace_root/frameworks/core/common/rosen/rosen_window.cpp", "$ace_root/frameworks/core/common/sharedata/share_data.cpp", "$ace_root/frameworks/core/common/storage/storage_proxy.cpp", "$ace_root/frameworks/core/common/thread_checker.cpp", "$ace_root/frameworks/core/common/vibrator/vibrator_proxy.cpp", "$ace_root/test/mock/core/common/mock_resource_adapter_v2.cpp", "asset/asset_test.cpp", "clipboard/clipboard_test.cpp", "environment/environment_test.cpp", "ime/ime_test.cpp", "others/thread_checker_test.cpp", "recorder/event_recorder_test.cpp", "resource/resource_manager_test.cpp", "rosen/rosen_test.cpp", "sharedata/sharedata_test.cpp", "storage/storage_test.cpp", "vibrator/vibrator_test.cpp", ] } group("core_common_unittest") { testonly = true deps = [ ":common_test", "form:form_manager_test", "plugin:plugin_manager_test", ] }