• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 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("geometry_test") {
17  module_output = "basic"
18  type = "new"
19  sources = [
20    "animatable_dimension_test.cpp",
21    "animatable_matrix4_test.cpp",
22    "container_test.cpp",
23    "dimension_test.cpp",
24    "least_square_impl_test.cpp",
25    "matrix3_test.cpp",
26    "matrix4_test.cpp",
27    "quaternion_test.cpp",
28    "subwindow_manager_test.cpp",
29    "transform_util_test.cpp",
30    "size_t_test.cpp",
31  ]
32}
33
34ace_unittest("util_test") {
35  module_output = "basic"
36  type = "new"
37  sources = [
38    "base_utils_test.cpp",
39    "dump_recorder_test.cpp",
40    "json_util_test.cpp",
41    "node_object_test.cpp",
42    "unique_valued_map_test.cpp",
43    "uobject_test.cpp",
44    "utf_helper_test_ng.cpp",
45    "utf_helper_testone_ng.cpp",
46    "utf_test.cpp",
47  ]
48
49  external_deps = [
50    "bounds_checking_function:libsec_shared",
51    "icu:shared_icui18n",
52    "icu:shared_icuuc",
53  ]
54}
55
56group("base_unittest") {
57  testonly = true
58  deps = [
59    ":geometry_test",
60    ":util_test",
61  ]
62}
63
64group("linux_base_unittest") {
65  testonly = true
66  deps = [
67    ":geometry_test",
68    ":util_test",
69  ]
70}
71