• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022 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("lazy_for_each_syntax_test_ng") {
17  type = "new"
18  module_output = "syntaxs"
19  sources = [ "lazy_for_each_syntax_test_ng.cpp" ]
20}
21
22ace_unittest("lazy_for_each_builder_syntax_test_ng") {
23  type = "new"
24  module_output = "syntaxs"
25  sources = [ "lazy_for_each_builder_syntax_test_ng.cpp" ]
26}
27
28ace_unittest("for_each_syntax_test_ng") {
29  type = "new"
30  module_output = "syntaxs"
31  sources = [ "for_each_syntax_test_ng.cpp" ]
32}
33
34ace_unittest("if_else_syntax_test_ng") {
35  type = "new"
36  module_output = "syntaxs"
37  sources = [ "if_else_syntax_test_ng.cpp" ]
38}
39
40ace_unittest("content_slot_syntax_test_ng") {
41  type = "new"
42  module_output = "syntaxs"
43  sources = [
44    "$ace_root/frameworks/core/interfaces/native/node/node_content_modifier.cpp",
45    "content_slot_syntax_test_ng.cpp",
46  ]
47}
48
49ace_unittest("repeat_node_cache_syntax_test") {
50  type = "new"
51  module_output = "syntaxs"
52  sources = [
53    "$ace_root/frameworks/core/components_ng/syntax/repeat_model_ng.cpp",
54    "$ace_root/frameworks/core/components_ng/syntax/repeat_node.cpp",
55    "repeat_node_cache_syntax_test.cpp",
56  ]
57}
58
59group("core_syntax_unittest") {
60  testonly = true
61  deps = [
62    ":content_slot_syntax_test_ng",
63    ":for_each_syntax_test_ng",
64    ":if_else_syntax_test_ng",
65    ":lazy_for_each_builder_syntax_test_ng",
66    ":lazy_for_each_syntax_test_ng",
67    ":repeat_node_cache_syntax_test",
68  ]
69}
70