• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2016 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")
16
17grpc_package(name = "test/core/channelz")
18
19licenses(["notice"])
20
21grpc_cc_test(
22    name = "channel_trace_test",
23    srcs = ["channel_trace_test.cc"],
24    external_deps = [
25        "gtest",
26    ],
27    language = "C++",
28    deps = [
29        "//:gpr",
30        "//:grpc",
31        "//:grpc++",
32        "//src/core:channel_args",
33        "//test/core/test_util:grpc_test_util",
34        "//test/cpp/util:channel_trace_proto_helper",
35    ],
36)
37
38grpc_cc_test(
39    name = "channelz_test",
40    srcs = ["channelz_test.cc"],
41    external_deps = [
42        "gtest",
43    ],
44    language = "C++",
45    deps = [
46        "//:gpr",
47        "//:grpc",
48        "//:grpc++",
49        "//src/core:channel_args",
50        "//test/core/event_engine:event_engine_test_utils",
51        "//test/core/test_util:grpc_test_util",
52        "//test/cpp/util:channel_trace_proto_helper",
53    ],
54)
55
56grpc_cc_test(
57    name = "channelz_registry_test",
58    srcs = ["channelz_registry_test.cc"],
59    external_deps = [
60        "gtest",
61    ],
62    language = "C++",
63    uses_event_engine = False,
64    uses_polling = False,
65    deps = [
66        "//:gpr",
67        "//:grpc",
68        "//:grpc++",
69        "//test/core/test_util:grpc_test_util",
70    ],
71)
72