Home | History | Annotate | Download | only in naming
      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 
     15 package(
     16     default_visibility = ["//visibility:public"],
     17     features = [
     18         "-layering_check",
     19         "-parse_headers",
     20     ],
     21 )
     22 
     23 licenses(["notice"])  # Apache v2
     24 
     25 load("//bazel:grpc_build_system.bzl", "grpc_py_binary", "grpc_cc_test")
     26 
     27 load(":generate_resolver_component_tests.bzl", "generate_resolver_component_tests")
     28 
     29 # Meant to be invoked only through the top-level shell script driver.
     30 grpc_py_binary(
     31     name = "resolver_component_tests_runner",
     32     srcs = [
     33         "resolver_component_tests_runner.py",
     34     ],
     35     testonly = True,
     36 )
     37 
     38 grpc_cc_test(
     39     name = "cancel_ares_query_test",
     40     srcs = ["cancel_ares_query_test.cc"],
     41     external_deps = ["gmock"],
     42     deps = [
     43         "//test/cpp/util:test_util",
     44         "//test/core/util:grpc_test_util",
     45         "//test/core/util:gpr_test_util",
     46         "//:grpc++",
     47         "//:grpc",
     48         "//:gpr",
     49         "//test/cpp/util:test_config",
     50         "//test/core/end2end:cq_verifier",
     51     ],
     52 )
     53 
     54 generate_resolver_component_tests()
     55