• 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    "dimension_test.cpp",
23    "least_square_impl_test.cpp",
24    "matrix3_test.cpp",
25    "matrix4_test.cpp",
26    "quaternion_test.cpp",
27    "subwindow_manager_test.cpp",
28    "transform_util_test.cpp",
29  ]
30}
31
32ace_unittest("util_test") {
33  module_output = "basic"
34  type = "new"
35  sources = [
36    "base_utils_test.cpp",
37    "json_util_test.cpp",
38    "node_object_test.cpp",
39    "uobject_test.cpp",
40    "utf_helper_test_ng.cpp",
41    "utf_helper_testone_ng.cpp",
42  ]
43
44  external_deps = [ "bounds_checking_function:libsec_shared" ]
45}
46
47group("base_unittest") {
48  testonly = true
49  deps = [
50    ":geometry_test",
51    ":util_test",
52  ]
53}
54
55group("linux_base_unittest") {
56  testonly = true
57  deps = [
58    ":geometry_test",
59    ":util_test",
60  ]
61}
62