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("avoid_info_manager_test_ng") { 17 type = "new" 18 module_output = "manager" 19 sources = [ "avoid_info_manager_test_ng.cpp" ] 20} 21 22ace_unittest("drag_animation_helper_test_ng") { 23 type = "new" 24 module_output = "manager" 25 sources = [ "drag_animation_helper_test_ng.cpp" ] 26} 27 28ace_unittest("drag_drop_controller_func_wrapper_test_ng") { 29 type = "new" 30 module_output = "manager" 31 sources = [ "drag_drop_controller_func_wrapper_test_ng.cpp" ] 32} 33 34ace_unittest("drag_drop_func_wrapper_test_ng") { 35 type = "new" 36 module_output = "manager" 37 sources = [ 38 "drag_drop_func_wrapper_test_ng.cpp", 39 "drag_drop_func_wrapper_test_ng_coverage.cpp", 40 ] 41} 42 43ace_unittest("drag_drop_manager_test_ng") { 44 type = "new" 45 module_output = "manager" 46 sources = [ 47 "drag_drop_manager_test_ng.cpp", 48 "drag_drop_manager_test_ng_coverage.cpp", 49 "drag_drop_manager_test_ng_property_config.cpp", 50 ] 51} 52 53ace_unittest("drag_drop_initiating_state_test_ng") { 54 type = "new" 55 module_output = "manager" 56 sources = [ 57 "./drag_drop/drag_drop_initiating_state_idle_test_ng.cpp", 58 "./drag_drop/drag_drop_initiating_state_lifting_test_ng.cpp", 59 "./drag_drop/drag_drop_initiating_state_machine_test_ng.cpp", 60 "./drag_drop/drag_drop_initiating_state_moving_test_ng.cpp", 61 "./drag_drop/drag_drop_initiating_state_press_test_ng.cpp", 62 "./drag_drop/drag_drop_initiating_state_ready_test_ng.cpp", 63 ] 64} 65 66ace_unittest("drag_drop_report_test_ng") { 67 type = "new" 68 module_output = "manager" 69 sources = [ "./drag_drop/drag_drop_report_test_ng.cpp" ] 70} 71 72ace_unittest("drag_drop_proxy_test_ng") { 73 type = "new" 74 module_output = "manager" 75 sources = [ "drag_drop_proxy_test_ng.cpp" ] 76} 77 78ace_unittest("full_screen_manager_test_ng") { 79 type = "new" 80 module_output = "manager" 81 sources = [ "full_screen_manager_test_ng.cpp" ] 82} 83 84ace_unittest("post_event_manager_test_ng") { 85 type = "new" 86 module_output = "manager" 87 sources = [ "post_event_manager_test_ng.cpp" ] 88} 89 90ace_unittest("select_overlay_manager_test_ng") { 91 type = "new" 92 module_output = "manager" 93 sources = [ 94 "select_overlay_manager_test_ng.cpp", 95 "select_overlay_manager_testtwo_ng.cpp", 96 ] 97} 98 99ace_unittest("select_overlay_proxy_test_ng") { 100 type = "new" 101 module_output = "manager" 102 sources = [ "select_overlay_proxy_test_ng.cpp" ] 103} 104 105ace_unittest("shared_overlay_manager_test_ng") { 106 type = "new" 107 module_output = "manager" 108 sources = [ "shared_overlay_manager_test_ng.cpp" ] 109} 110 111ace_unittest("display_sync_manager_test_ng") { 112 type = "new" 113 module_output = "manager" 114 sources = [ "display_sync_manager_test.cpp" ] 115} 116 117ace_unittest("frame_rate_manager_test_ng") { 118 type = "new" 119 module_output = "manager" 120 sources = [ "frame_rate_manager_test.cpp" ] 121} 122 123ace_unittest("focus_manager_test_ng") { 124 type = "new" 125 module_output = "manager" 126 sources = [ "focus_manager_test_ng.cpp" ] 127} 128 129ace_unittest("focus_view_test_ng") { 130 type = "new" 131 module_output = "manager" 132 sources = [ "focus_view_test_ng.cpp" ] 133} 134 135ace_unittest("safe_area_manager_test_ng") { 136 type = "new" 137 module_output = "manager" 138 sources = [ "safe_area_manager_test_ng.cpp" ] 139} 140 141ace_unittest("navigation_manager_test_ng") { 142 type = "new" 143 module_output = "manager" 144 sources = [ 145 "$ace_root/test/unittest/core/pattern/navigation/mock_navigation_stack.cpp", 146 "navigation_manager_test_ng.cpp", 147 ] 148} 149 150ace_unittest("drag_drop_behavior_reporter_test_ng") { 151 type = "new" 152 module_output = "manager" 153 sources = [ "./drag_drop/drag_drop_behavior_reporter_test_ng.cpp" ] 154} 155 156group("core_manager_unittest") { 157 testonly = true 158 deps = [ 159 ":avoid_info_manager_test_ng", 160 ":display_sync_manager_test_ng", 161 ":drag_animation_helper_test_ng", 162 ":drag_drop_behavior_reporter_test_ng", 163 ":drag_drop_controller_func_wrapper_test_ng", 164 ":drag_drop_func_wrapper_test_ng", 165 ":drag_drop_initiating_state_test_ng", 166 ":drag_drop_manager_test_ng", 167 ":drag_drop_proxy_test_ng", 168 ":drag_drop_report_test_ng", 169 ":focus_manager_test_ng", 170 ":focus_view_test_ng", 171 ":frame_rate_manager_test_ng", 172 ":full_screen_manager_test_ng", 173 ":navigation_manager_test_ng", 174 ":post_event_manager_test_ng", 175 ":safe_area_manager_test_ng", 176 ":select_overlay_manager_test_ng", 177 ":select_overlay_proxy_test_ng", 178 ":shared_overlay_manager_test_ng", 179 ] 180} 181