1# Copyright (c) 2022-2024 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/ace_config.gni")
15import("//foundation/arkui/ace_engine/build/ace_ext.gni")
16
17group("core_pattern_unittest") {
18  testonly = true
19  deps = [
20    "animator:animator_test_ng",
21    "app_bar:app_bar_test_ng",
22    "badge:badge_test_ng",
23    "blank:blank_test_ng",
24    "bubble:bubble_test_ng",
25    "button:button_test_ng",
26    "calendar:calendar_test_ng",
27    "calendar_picker:calendar_picker_test_ng",
28    "canvas:canvas_test_ng",
29    "checkbox:checkbox_test_ng",
30    "checkboxgroup:checkboxgroup_test_ng",
31    "common_view:common_view_test_ng",
32    "container_modal:container_modal_test_ng",
33    "counter:counter_test_ng",
34    "custom:custom_test_ng",
35    "custom_frame_node:custom_frame_node_test",
36    "data_panel:data_panel_test_ng",
37    "dialog:dialog_test_ng",
38    "divider:divider_test_ng",
39    "flex:flex_test_ng",
40    "folder_stack:folder_stack_test_ng",
41    "form:form_node_test",
42    "form:form_pattern_test",
43    "form:form_test_ng",
44    "form_link:form_link_test",
45    "gauge:gauge_test_ng",
46    "grid:grid_test_ng",
47    "grid:grid_test_regular",
48    "grid_col:grid_col_test_ng",
49    "grid_container:grid_container_test_ng",
50    "grid_row:grid_row_test_ng",
51    "hyperlink:hyperlink_test_ng",
52    "image:image_test_ng",
53    "image_animator:image_animator_test_ng",
54    "indexer:indexer_test_ng",
55    "linear_layout:linear_layout_test_ng",
56    "linear_split:linear_split_test_ng",
57    "list:list_test_ng",
58    "loading_progress:loading_progress_test_ng",
59    "marquee:marquee_test_ng",
60    "menu:menu_test_ng",
61    "model:model_test_ng",
62    "movingphoto:movingphoto_test_ng",
63    "navigation:navigation_test_ng",
64    "navigator:navigator_test_ng",
65    "navrouter:navrouter_test_ng",
66    "node_container:node_container_test_ng",
67    "option:option_test_ng",
68    "overlay:overlay_manager_test_ng",
69    "panel:panel_test_ng",
70    "particle:particle_test_ng",
71    "patternlock:patternlock_test_ng",
72    "picker:date_picker_test_ng",
73    "progress:progress_test_ng",
74    "qrcode:qrcode_test_ng",
75    "radio:radio_test_ng",
76    "rating:rating_test_ng",
77    "recycle_node:recycle_node_test_ng",
78    "refresh:refresh_test_ng",
79    "relative_container:relative_container_test_ng",
80    "render_node:render_node_test_ng",
81    "rich_editor:rich_editor_test_ng",
82    "scroll:scroll_test_ng",
83    "scroll_bar:scroll_bar_test_ng",
84    "scrollable:scrollable_test_ng",
85    "search:search_test_ng",
86    "security_component:security_component_test_ng",
87    "select:select_test_ng",
88    "select_overlay:select_overlay_test_ng",
89    "shape:shape_test_ng",
90    "side_bar:side_bar_test_ng",
91    "slider:slider_test_ng",
92    "stack:stack_test_ng",
93    "stage:stage_test_ng",
94    "stepper:stepper_test_ng",
95    "swiper:swiper_test_ng",
96    "symbol:symbol_test_ng",
97    "tabs:tabs_test_ng",
98    "text:text_test_ng",
99    "text_clock:text_clock_test_ng",
100    "text_drag:text_drag_test_ng",
101    "text_input:TextInputTest",
102    "text_picker:text_picker_test_ng",
103    "text_timer:text_timer_test_ng",
104    "time_picker:time_picker_test_ng",
105    "toggle:toggle_test_ng",
106    "ui_extension:ui_extension_component_test_ng",
107    "video:video_test_ng",
108    "view_context:view_context_test_ng",
109    "waterflow:water_flow_test_original",
110    "waterflow:water_flow_test_segmented",
111    "waterflow:water_flow_test_sw",
112    "xcomponent:xcomponent_test_ng",
113  ]
114
115  if (ace_engine_feature_enable_split_mode &&
116      defined(vendor_configs.ace_engine_advanced_split_mode_pattern_test_ng)) {
117    deps += vendor_configs.ace_engine_advanced_split_mode_pattern_test_ng
118  }
119}
120