1#Copyright (c) 2021-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("//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:test_battery",
30    "unittest:test_battery_proxy_mock_iremoteobject",
31    "unittest:test_battery_proxy_mock_messageparcel_write_error",
32    "unittest:test_battery_proxy_mock_parcel_read_error",
33    "unittest:test_battery_proxy_mock_sendrequest_error",
34    "unittest:test_batterywakeup",
35    "unittest:test_mock_battery_config",
36  ]
37}
38
39group("battery_apitest") {
40  testonly = true
41  deps = [ "apitest:apitest" ]
42}
43
44group("battery_benchmarktest") {
45  testonly = true
46  deps = [ "benchmarktest:BatteryBenchmarkTest" ]
47}
48