#Copyright (c) 2021-2024 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import("//build/test.gni") group("battery_systemtest") { testonly = true deps = [ "systemtest/:systemtest" ] } group("battery_fuzzertest") { testonly = true deps = [ "fuzztest:fuzztest" ] } group("battery_unittest") { testonly = true deps = [ "unittest:battery_common_event_test", "unittest:test_battery_proxy_mock_iremoteobject", "unittest:test_battery_proxy_mock_messageparcel_write_error", "unittest:test_battery_proxy_mock_parcel_read_error", "unittest:test_battery_proxy_mock_sendrequest_error", "unittest:test_battery_service_inner", "unittest:test_battery_service_interface", "unittest:test_battery_service_scenario", "unittest:test_battery_stub", "unittest:test_batterywakeup", "unittest:test_mock_battery_config", ] } group("battery_apitest") { testonly = true deps = [ "apitest:apitest" ] } group("battery_benchmarktest") { testonly = true deps = [ "benchmarktest:BatteryBenchmarkTest" ] } group("battery_frameworks_unittest") { testonly = true deps = [ "unittest:test_batteryclient", "unittest:test_batteryclient_death", ] }