1# Copyright (c) 2022-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("drag_animation_helper_test_ng") {
17  type = "new"
18  module_output = "manager"
19  sources = [ "drag_animation_helper_test_ng.cpp" ]
20}
21
22ace_unittest("drag_drop_func_wrapper_test_ng") {
23  type = "new"
24  module_output = "manager"
25  sources = [
26    "drag_drop_func_wrapper_test_ng.cpp",
27    "drag_drop_func_wrapper_test_ng_coverage.cpp",
28  ]
29}
30
31ace_unittest("drag_drop_manager_test_ng") {
32  type = "new"
33  module_output = "manager"
34  sources = [
35    "drag_drop_manager_test_ng.cpp",
36    "drag_drop_manager_test_ng_coverage.cpp",
37    "drag_drop_manager_test_ng_property_config.cpp",
38  ]
39}
40
41ace_unittest("drag_drop_report_test_ng") {
42  type = "new"
43  module_output = "manager"
44  sources = [ "drag_drop_report_test_ng.cpp" ]
45}
46
47ace_unittest("drag_drop_proxy_test_ng") {
48  type = "new"
49  module_output = "manager"
50  sources = [ "drag_drop_proxy_test_ng.cpp" ]
51}
52
53ace_unittest("full_screen_manager_test_ng") {
54  type = "new"
55  module_output = "manager"
56  sources = [ "full_screen_manager_test_ng.cpp" ]
57}
58
59ace_unittest("post_event_manager_test_ng") {
60  type = "new"
61  module_output = "manager"
62  sources = [ "post_event_manager_test_ng.cpp" ]
63}
64
65ace_unittest("select_overlay_manager_test_ng") {
66  type = "new"
67  module_output = "manager"
68  sources = [ "select_overlay_manager_test_ng.cpp" ]
69}
70
71ace_unittest("select_overlay_proxy_test_ng") {
72  type = "new"
73  module_output = "manager"
74  sources = [ "select_overlay_proxy_test_ng.cpp" ]
75}
76
77ace_unittest("shared_overlay_manager_test_ng") {
78  type = "new"
79  module_output = "manager"
80  sources = [ "shared_overlay_manager_test_ng.cpp" ]
81}
82
83ace_unittest("display_sync_manager_test_ng") {
84  type = "new"
85  module_output = "manager"
86  sources = [ "display_sync_manager_test.cpp" ]
87}
88
89ace_unittest("frame_rate_manager_test_ng") {
90  type = "new"
91  module_output = "manager"
92  sources = [ "frame_rate_manager_test.cpp" ]
93}
94
95ace_unittest("focus_manager_test_ng") {
96  type = "new"
97  module_output = "manager"
98  sources = [ "focus_manager_test_ng.cpp" ]
99}
100
101ace_unittest("focus_view_test_ng") {
102  type = "new"
103  module_output = "manager"
104  sources = [ "focus_view_test_ng.cpp" ]
105}
106
107ace_unittest("safe_area_manager_test_ng") {
108  type = "new"
109  module_output = "manager"
110  sources = [ "safe_area_manager_test_ng.cpp" ]
111}
112
113ace_unittest("navigation_manager_test_ng") {
114  type = "new"
115  module_output = "manager"
116  sources = [
117    "$ace_root/test/unittest/core/pattern/navigation/mock_navigation_stack.cpp",
118    "navigation_manager_test_ng.cpp",
119  ]
120}
121
122group("core_manager_unittest") {
123  testonly = true
124  deps = [
125    ":display_sync_manager_test_ng",
126    ":drag_animation_helper_test_ng",
127    ":drag_drop_func_wrapper_test_ng",
128    ":drag_drop_manager_test_ng",
129    ":drag_drop_proxy_test_ng",
130    ":drag_drop_report_test_ng",
131    ":focus_manager_test_ng",
132    ":focus_view_test_ng",
133    ":frame_rate_manager_test_ng",
134    ":full_screen_manager_test_ng",
135    ":navigation_manager_test_ng",
136    ":post_event_manager_test_ng",
137    ":safe_area_manager_test_ng",
138    ":select_overlay_manager_test_ng",
139    ":select_overlay_proxy_test_ng",
140    ":shared_overlay_manager_test_ng",
141  ]
142}
143