BUILD 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. load("//bazel:grpc_build_system.bzl", "grpc_cc_test", "grpc_package")
  15. licenses(["notice"])
  16. grpc_package(
  17. name = "test/core/address_utils",
  18. visibility = "private",
  19. )
  20. grpc_cc_test(
  21. name = "sockaddr_utils_test",
  22. srcs = ["sockaddr_utils_test.cc"],
  23. external_deps = [
  24. "gtest",
  25. ],
  26. language = "C++",
  27. deps = [
  28. "//:gpr",
  29. "//:grpc",
  30. "//test/core/util:grpc_test_util",
  31. ],
  32. )
  33. grpc_cc_test(
  34. name = "parse_address_test",
  35. srcs = ["parse_address_test.cc"],
  36. language = "C++",
  37. deps = [
  38. "//:gpr",
  39. "//:grpc",
  40. "//test/core/util:grpc_test_util",
  41. ],
  42. )
  43. grpc_cc_test(
  44. name = "parse_address_with_named_scope_id_test",
  45. srcs = ["parse_address_with_named_scope_id_test.cc"],
  46. language = "C++",
  47. tags = ["no_windows"],
  48. uses_polling = False,
  49. deps = [
  50. "//:gpr",
  51. "//:grpc",
  52. "//test/core/util:grpc_test_util",
  53. ],
  54. )