1# Copyright (c) 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/config/features.gni") 15import("//build/test.gni") 16 17group("fuzztest") { 18 testonly = true 19 deps = [] 20 21 deps += [ 22 # deps file 23 "getbatteryconfig_fuzzer:GetBatteryConfigFuzzTest", 24 "getbatterytemperature_fuzzer:GetBatteryTemperatureFuzzTest", 25 "getcapacity_fuzzer:GetCapacityFuzzTest", 26 "getcapacitylevel_fuzzer:GetCapacityLevelFuzzTest", 27 "getchargingstatus_fuzzer:GetChargingStatusFuzzTest", 28 "getcurrentaverage_fuzzer:GetCurrentAverageFuzzTest", 29 "gethealthstatus_fuzzer:GetHealthStatusFuzzTest", 30 "getnowcurrent_fuzzer:GetNowCurrentFuzzTest", 31 "getpluggedtype_fuzzer:GetPluggedTypeFuzzTest", 32 "getpresent_fuzzer:GetPresentFuzzTest", 33 "getremainenergy_fuzzer:GetRemainEnergyFuzzTest", 34 "getremainingchargetime_fuzzer:GetRemainingChargeTimeFuzzTest", 35 "gettechnology_fuzzer:GetTechnologyFuzzTest", 36 "gettotalenergy_fuzzer:GetTotalEnergyFuzzTest", 37 "getvoltage_fuzzer:GetVoltageFuzzTest", 38 "isbatteryconfigsupported_fuzzer:IsBatteryConfigSupportedFuzzTest", 39 "setbatteryconfig_fuzzer:SetBatteryConfigFuzzTest", 40 ] 41} 42