• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    "arc_list:arc_list_test_ng",
23    "badge:badge_test_ng",
24    "blank:blank_test_ng",
25    "bubble:bubble_test_ng",
26    "button:button_test_ng",
27    "calendar:calendar_test_ng",
28    "calendar_picker:calendar_picker_test_ng",
29    "canvas:canvas_test_ng",
30    "checkbox:checkbox_test_ng",
31    "checkboxgroup:checkboxgroup_test_ng",
32    "common_view:common_view_test_ng",
33    "container_modal:container_modal_pattern_enhance_test_ng",
34    "container_modal:container_modal_test_ng",
35    "container_modal:container_modal_toolbar_test_ng",
36    "counter:counter_test_ng",
37    "custom:custom_test_ng",
38    "custom_frame_node:custom_frame_node_test",
39    "custom_node_ext:custom_node_ext_test",
40    "data_panel:data_panel_test_ng",
41    "dialog:dialog_test_ng",
42    "divider:divider_test_ng",
43    "flex:flex_test_ng",
44    "folder_stack:folder_stack_test_ng",
45    "form:form_node_test",
46    "form:form_pattern_test",
47    "form:form_test_ng",
48    "form:form_special_style_test",
49    "form_link:form_link_test",
50    "gauge:gauge_test_ng",
51    "grid:grid_test_ng",
52    "grid:grid_test_regular",
53    "grid_col:grid_col_test_ng",
54    "grid_container:grid_container_test_ng",
55    "grid_row:grid_row_test_ng",
56    "hyperlink:hyperlink_test_ng",
57    "image:image_test_ng",
58    "image_animator:image_animator_test_ng",
59    "indexer:indexer_test_ng",
60    "lazy_layout:lazy_grid_layout_test",
61    "linear_indicator:linear_indicator_test_ng",
62    "linear_layout:linear_layout_test_ng",
63    "linear_split:linear_split_test_ng",
64    "list:list_test_ng",
65    "loading_progress:loading_progress_test_ng",
66    "marquee:marquee_test_ng",
67    "menu:menu_test_ng",
68    "movingphoto:movingphoto_test_ng",
69    "navigation:navigation_test_ng",
70    "navigator:navigator_test_ng",
71    "navrouter:navdestination_test_ng",
72    "navrouter:navrouter_test_ng",
73    "node_container:node_container_test_ng",
74    "overlay:overlay_manager_test_ng",
75    "panel:panel_test_ng",
76    "particle:particle_test_ng",
77    "patternlock:patternlock_test_ng",
78    "picker:date_picker_test_ng",
79    "plugin:plugin_component_test",
80    "progress:progress_test_ng",
81    "qrcode:qrcode_test_ng",
82    "radio:radio_test_ng",
83    "rating:rating_test_ng",
84    "recycle_node:recycle_node_test_ng",
85    "refresh:refresh_test_ng",
86    "relative_container:relative_container_test_ng",
87    "render_node:render_node_test_ng",
88    "rich_editor:rich_editor_test_ng",
89    "rich_editor_drag:rich_editor_drag_test_ng",
90    "scroll:scroll_test_ng",
91    "scroll_bar:scroll_bar_test_ng",
92    "scrollable:scrollable_test_ng",
93    "search:search_test_ng",
94    "security_component:security_component_test_ng",
95    "select:select_test_ng",
96    "select_overlay:select_overlay_test_ng",
97    "shape:shape_test_ng",
98    "side_bar:side_bar_test_ng",
99    "slider:slider_test_ng",
100    "stack:stack_test_ng",
101    "stage:stage_test_ng",
102    "stepper:stepper_test_ng",
103    "swiper:swiper_test_ng",
104    "symbol:symbol_test_ng",
105    "tabs:tabs_test_ng",
106    "text:text_tests_ng",
107    "text_clock:text_clock_test_ng",
108    "text_drag:text_drag_test_ng",
109    "text_input:TextInputTest",
110    "text_picker:text_picker_test_ng",
111    "text_timer:text_timer_test_ng",
112    "time_picker:time_picker_test_ng",
113    "toggle:toggle_test_ng",
114    "ui_extension:ui_extension_component_test_ng",
115    "video:video_test_ng",
116    "view_context:view_context_test_ng",
117    "waterflow:water_flow_test_original",
118    "waterflow:water_flow_test_segmented",
119    "waterflow:water_flow_test_sw",
120    "window_scene:window_scene_test",
121    "withtheme:withtheme_test_ng",
122    "xcomponent:xcomponent_test_ng",
123    "xcomponent:xcomponent_test_set_rate_range",
124  ]
125
126  if (defined(global_parts_info) && defined(global_parts_info.web_webview)) {
127    deps += [ "web:web_pattern_unit_test" ]
128  }
129
130  if (defined(global_parts_info) &&
131      defined(global_parts_info.graphic_graphic_3d)) {
132    deps += [ "model:model_test_ng" ]
133  }
134
135  if (ace_engine_feature_enable_split_mode &&
136      defined(vendor_configs.ace_engine_advanced_split_mode_pattern_test_ng)) {
137    deps += vendor_configs.ace_engine_advanced_split_mode_pattern_test_ng
138  }
139
140  if (ace_engine_feature_wearable &&
141      defined(vendor_configs.ace_engine_advanced_wearable_test)) {
142    deps += vendor_configs.ace_engine_advanced_wearable_test
143  }
144}
145