1f16e0440Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd.
2f16e0440Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3f16e0440Sopenharmony_ci# you may not use this file except in compliance with the License.
4f16e0440Sopenharmony_ci# You may obtain a copy of the License at
5f16e0440Sopenharmony_ci#
6f16e0440Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7f16e0440Sopenharmony_ci#
8f16e0440Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9f16e0440Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10f16e0440Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11f16e0440Sopenharmony_ci# See the License for the specific language governing permissions and
12f16e0440Sopenharmony_ci# limitations under the License.
13f16e0440Sopenharmony_ci
14f16e0440Sopenharmony_ciimport("//build/config/features.gni")
15f16e0440Sopenharmony_ciimport("//build/test.gni")
16f16e0440Sopenharmony_ci
17f16e0440Sopenharmony_cigroup("fuzztest") {
18f16e0440Sopenharmony_ci  testonly = true
19f16e0440Sopenharmony_ci  deps = []
20f16e0440Sopenharmony_ci
21f16e0440Sopenharmony_ci  deps += [
22f16e0440Sopenharmony_ci    # deps file
23f16e0440Sopenharmony_ci    "getbatteryconfig_fuzzer:GetBatteryConfigFuzzTest",
24f16e0440Sopenharmony_ci    "getbatterytemperature_fuzzer:GetBatteryTemperatureFuzzTest",
25f16e0440Sopenharmony_ci    "getcapacity_fuzzer:GetCapacityFuzzTest",
26f16e0440Sopenharmony_ci    "getcapacitylevel_fuzzer:GetCapacityLevelFuzzTest",
27f16e0440Sopenharmony_ci    "getchargingstatus_fuzzer:GetChargingStatusFuzzTest",
28f16e0440Sopenharmony_ci    "getcurrentaverage_fuzzer:GetCurrentAverageFuzzTest",
29f16e0440Sopenharmony_ci    "gethealthstatus_fuzzer:GetHealthStatusFuzzTest",
30f16e0440Sopenharmony_ci    "getnowcurrent_fuzzer:GetNowCurrentFuzzTest",
31f16e0440Sopenharmony_ci    "getpluggedtype_fuzzer:GetPluggedTypeFuzzTest",
32f16e0440Sopenharmony_ci    "getpresent_fuzzer:GetPresentFuzzTest",
33f16e0440Sopenharmony_ci    "getremainenergy_fuzzer:GetRemainEnergyFuzzTest",
34f16e0440Sopenharmony_ci    "getremainingchargetime_fuzzer:GetRemainingChargeTimeFuzzTest",
35f16e0440Sopenharmony_ci    "gettechnology_fuzzer:GetTechnologyFuzzTest",
36f16e0440Sopenharmony_ci    "gettotalenergy_fuzzer:GetTotalEnergyFuzzTest",
37f16e0440Sopenharmony_ci    "getvoltage_fuzzer:GetVoltageFuzzTest",
38f16e0440Sopenharmony_ci    "isbatteryconfigsupported_fuzzer:IsBatteryConfigSupportedFuzzTest",
39f16e0440Sopenharmony_ci    "setbatteryconfig_fuzzer:SetBatteryConfigFuzzTest",
40f16e0440Sopenharmony_ci  ]
41f16e0440Sopenharmony_ci}
42