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  ]
41
42  external_deps = [ "bounds_checking_function:libsec_shared" ]
43}
44
45group("base_unittest") {
46  testonly = true
47  deps = [
48    ":geometry_test",
49    ":util_test",
50  ]
51}
52
53group("linux_base_unittest") {
54  testonly = true
55  deps = [
56    ":geometry_test",
57    ":util_test",
58  ]
59}
60