• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021-2023 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
15
16ace_unittest("common_test") {
17  type = "new"
18  module_output = "common"
19  sources = [
20    "$ace_root/adapter/ohos/entrance/file_asset_provider_impl.cpp",
21    "$ace_root/frameworks/core/common/asset_manager_impl.cpp",
22    "$ace_root/frameworks/core/common/environment/environment_proxy.cpp",
23    "$ace_root/frameworks/core/common/rosen/rosen_asset_manager.cpp",
24    "$ace_root/frameworks/core/common/rosen/rosen_convert_helper.cpp",
25    "$ace_root/frameworks/core/common/rosen/rosen_window.cpp",
26    "$ace_root/frameworks/core/common/sharedata/share_data.cpp",
27    "$ace_root/frameworks/core/common/storage/storage_proxy.cpp",
28    "$ace_root/frameworks/core/common/vibrator/vibrator_proxy.cpp",
29    "asset/asset_test.cpp",
30    "builder_util/builder_util_test.cpp",
31    "clipboard/clipboard_test.cpp",
32    "environment/environment_test.cpp",
33    "multi_thread_build_manager/multi_thread_build_manager_test.cpp",
34    "resource/pattern_resource_manager_test.cpp",
35    "resource/resource_parse_utils_test.cpp",
36    "rosen/rosen_test.cpp",
37    "sharedata/sharedata_test.cpp",
38    "storage/storage_test.cpp",
39    "vibrator/vibrator_test.cpp",
40  ]
41}
42
43group("core_common_unittest") {
44  testonly = true
45  deps = [
46    ":common_test",
47    "form:form_manager_test",
48    "ime:ime_test",
49    "key_event_manager:key_event_manager_test",
50    "plugin:plugin_manager_test",
51    "resource:resource_manager_test",
52    "recorder:event_recorder_test",
53    "others:thread_checker_test",
54  ]
55}
56