1#Copyright (c) 2021-2025 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("//build/test.gni") 15 16group("battery_systemtest") { 17 testonly = true 18 deps = [ "systemtest/:systemtest" ] 19} 20 21group("battery_fuzzertest") { 22 testonly = true 23 deps = [ "fuzztest:fuzztest" ] 24} 25 26group("battery_unittest") { 27 testonly = true 28 deps = [ 29 "unittest:battery_common_event_part2_test", 30 "unittest:battery_common_event_test", 31 "unittest:battery_hookmgr_test", 32 "unittest:test_battery_charger", 33 "unittest:test_battery_callback", 34 "unittest:test_battery_config", 35 "unittest:test_battery_dump", 36 "unittest:test_battery_proxy_mock_iremoteobject", 37 "unittest:test_battery_proxy_mock_messageparcel_write_error", 38 "unittest:test_battery_proxy_mock_parcel_read_error", 39 "unittest:test_battery_proxy_mock_sendrequest_error", 40 "unittest:test_battery_service_interface", 41 "unittest:test_battery_service_scenario", 42 "unittest:test_battery_stub", 43 "unittest:test_batterywakeup", 44 "unittest:test_mock_battery_config", 45 ] 46} 47 48group("battery_apitest") { 49 testonly = true 50 deps = [ "apitest:apitest" ] 51} 52 53group("battery_benchmarktest") { 54 testonly = true 55 deps = [ "benchmarktest:BatteryBenchmarkTest" ] 56} 57 58group("battery_frameworks_unittest") { 59 testonly = true 60 deps = [ 61 "unittest:test_batteryclient", 62 "unittest:test_batteryclient_death", 63 ] 64} 65