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 = [ "repeat_node_cache_syntax_test.cpp" ]
53}
54
55group("core_syntax_unittest") {
56  testonly = true
57  deps = [
58    ":content_slot_syntax_test_ng",
59    ":for_each_syntax_test_ng",
60    ":if_else_syntax_test_ng",
61    ":lazy_for_each_builder_syntax_test_ng",
62    ":lazy_for_each_syntax_test_ng",
63    ":repeat_node_cache_syntax_test",
64  ]
65}
66