• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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("layout_property_test_ng") {
17  type = "new"
18  module_output = "layout"
19  sources = [
20    "layout_property_test_ng.cpp",
21    "layout_property_test_ng_two.cpp",
22  ]
23}
24
25ace_unittest("layout_wrapper_test_ng") {
26  type = "new"
27  module_output = "layout"
28  sources = [
29    "layout_wrapper_test_ng.cpp",
30    "layout_wrapper_testtwo_ng.cpp",
31  ]
32}
33
34ace_unittest("layout_algorithm_test_ng") {
35  type = "new"
36  module_output = "layout"
37  sources = [
38    "layout_algorithm_test_ng.cpp",
39  ]
40}
41
42ace_unittest("layout_wrapper_build_test_ng") {
43  type = "new"
44  module_output = "layout"
45  sources = [ "layout_wrapper_build_test_ng.cpp" ]
46}
47
48ace_unittest("layout_wrapper_node_test_ng") {
49  type = "new"
50  module_output = "layout"
51  sources = [ "layout_wrapper_node_test_ng.cpp" ]
52}
53
54ace_unittest("drawing_layout_utils_test_ng") {
55  type = "new"
56  module_output = "layout"
57  sources = [ "drawing_layout_utils_test_ng.cpp" ]
58}
59
60group("core_layout_unittest") {
61  testonly = true
62  deps = [
63    ":drawing_layout_utils_test_ng",
64    ":layout_property_test_ng",
65    ":layout_wrapper_build_test_ng",
66    ":layout_wrapper_node_test_ng",
67    ":layout_wrapper_test_ng",
68    ":layout_algorithm_test_ng",
69    "box:box_layout_algorithm_test_ng",
70    "safe_area:safeArea_test_expandSafeArea_ng",
71    "safe_area:ignore_layout_safe_area_test_ng",
72  ]
73}
74