1# Copyright 2017 gRPC authors. 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15load("//bazel:grpc_build_system.bzl", "grpc_cc_test", "grpc_package") 16load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer") 17 18licenses(["notice"]) 19 20grpc_package( 21 name = "test/core/address_utils", 22 visibility = "private", 23) 24 25grpc_cc_test( 26 name = "sockaddr_utils_test", 27 srcs = ["sockaddr_utils_test.cc"], 28 external_deps = [ 29 "gtest", 30 ], 31 language = "C++", 32 deps = [ 33 "//:gpr", 34 "//:grpc", 35 "//test/core/util:grpc_test_util", 36 ], 37) 38 39grpc_cc_test( 40 name = "parse_address_test", 41 srcs = ["parse_address_test.cc"], 42 external_deps = [ 43 "absl/strings", 44 "gtest", 45 ], 46 language = "C++", 47 deps = [ 48 "//:gpr", 49 "//:grpc", 50 "//test/core/util:grpc_test_util", 51 ], 52) 53 54grpc_fuzzer( 55 name = "sockaddr_utils_fuzzer_test", 56 srcs = ["sockaddr_utils_fuzzer_test.cc"], 57 corpus = "sockaddr_uri_corpus", 58 tags = ["no_windows"], 59 uses_event_engine = False, 60 uses_polling = False, 61 deps = [ 62 "//:grpc", 63 "//test/core/util:grpc_test_util", 64 ], 65) 66 67grpc_cc_test( 68 name = "parse_address_with_named_scope_id_test", 69 srcs = ["parse_address_with_named_scope_id_test.cc"], 70 external_deps = ["gtest"], 71 language = "C++", 72 tags = ["no_windows"], 73 uses_event_engine = False, 74 uses_polling = False, 75 deps = [ 76 "//:gpr", 77 "//:grpc", 78 "//test/core/util:grpc_test_util", 79 ], 80) 81