1# Copyright (c) 2023 iSoftStone Information Technology (Group) 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("painter_test") { 17 type = "new" 18 module_output = "render" 19 sources = [ 20 "border_image_painter_test_ng.cpp", 21 "circle_painter_test_ng.cpp", 22 "drawing_prop_convertor_test_ng.cpp", 23 "ellipse_painter_test_ng.cpp", 24 "image_painter_test_ng.cpp", 25 "line_painter_test_ng.cpp", 26 "polygon_painter_test_ng.cpp", 27 "render_context_test_ng.cpp", 28 "render_property_test_ng.cpp", 29 "shape_painter_test_ng.cpp", 30 ] 31} 32 33ace_unittest("drawing_prop_convertor_test_ng") { 34 type = "new" 35 module_output = "render" 36 sources = [ "drawing_prop_convertor_test_ng.cpp" ] 37} 38 39ace_unittest("render_context_test_ng") { 40 type = "new" 41 module_output = "render" 42 sources = [ "render_context_test_ng.cpp" ] 43} 44 45ace_unittest("render_property_test_ng") { 46 type = "new" 47 module_output = "render" 48 sources = [ "render_property_test_ng.cpp" ] 49} 50 51group("core_render_unittest") { 52 testonly = true 53 deps = [ 54 ":drawing_prop_convertor_test_ng", 55 ":painter_test", 56 ":render_context_test_ng", 57 ":render_property_test_ng", 58 ] 59} 60