1b1b8bc3fSopenharmony_ci# Copyright (c) 2021-2024 Huawei Device Co., Ltd. 2b1b8bc3fSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3b1b8bc3fSopenharmony_ci# you may not use this file except in compliance with the License. 4b1b8bc3fSopenharmony_ci# You may obtain a copy of the License at 5b1b8bc3fSopenharmony_ci# 6b1b8bc3fSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7b1b8bc3fSopenharmony_ci# 8b1b8bc3fSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9b1b8bc3fSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10b1b8bc3fSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11b1b8bc3fSopenharmony_ci# See the License for the specific language governing permissions and 12b1b8bc3fSopenharmony_ci# limitations under the License. 13b1b8bc3fSopenharmony_ci 14b1b8bc3fSopenharmony_ciimport("//build/test.gni") 15b1b8bc3fSopenharmony_ciimport("//foundation/communication/netmanager_base/netmanager_base_config.gni") 16b1b8bc3fSopenharmony_ci 17b1b8bc3fSopenharmony_cigroup("unittest") { 18b1b8bc3fSopenharmony_ci testonly = true 19b1b8bc3fSopenharmony_ci deps = [ 20b1b8bc3fSopenharmony_ci "bandwidth_manager_test:bandwidth_manager_class_test", 21b1b8bc3fSopenharmony_ci "bandwidth_manager_test:bandwidth_manager_test", 22b1b8bc3fSopenharmony_ci "firewall_manager_test:firewall_manager_class_test", 23b1b8bc3fSopenharmony_ci "firewall_manager_test:firewall_manager_test", 24b1b8bc3fSopenharmony_ci "netsys_distributed_test:netsys_distributed_test", 25b1b8bc3fSopenharmony_ci "netsys_dnsresolv_test:netsys_dnsresolv_test", 26b1b8bc3fSopenharmony_ci "netsys_manager_test:conn_manager_test", 27b1b8bc3fSopenharmony_ci "netsys_manager_test:nat464_clat_test", 28b1b8bc3fSopenharmony_ci "netsys_manager_test:netsys_controller_test", 29b1b8bc3fSopenharmony_ci "netsys_manager_test:netsys_native_client_test", 30b1b8bc3fSopenharmony_ci "netsys_manager_test:netsys_native_manager_fault_through_test", 31b1b8bc3fSopenharmony_ci "netsys_manager_test:netsys_native_manager_test", 32b1b8bc3fSopenharmony_ci "netsys_manager_test:netsys_native_service_proxy_test", 33b1b8bc3fSopenharmony_ci "netsys_manager_test:resolver_config_test", 34b1b8bc3fSopenharmony_ci "netsys_wrapper_test:netsys_wrapper_test", 35b1b8bc3fSopenharmony_ci ] 36b1b8bc3fSopenharmony_ci 37b1b8bc3fSopenharmony_ci if (netmanager_base_enable_feature_net_firewall) { 38b1b8bc3fSopenharmony_ci deps += [ 39b1b8bc3fSopenharmony_ci "netsys_netfirewall_test:netsys_netfirewall_test", 40b1b8bc3fSopenharmony_ci "netsys_netfirewall_test:suffix_match_trie_test", 41b1b8bc3fSopenharmony_ci ] 42b1b8bc3fSopenharmony_ci } 43b1b8bc3fSopenharmony_ci if (netmanager_base_enable_feature_wearable_distributed_net) { 44b1b8bc3fSopenharmony_ci deps += [ "wearable_distributed_net_manager_test:wearable_distributed_net_manager_test" ] 45b1b8bc3fSopenharmony_ci } 46b1b8bc3fSopenharmony_ci} 47