• 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_binary", "grpc_cc_library", "grpc_cc_test", "grpc_package")
16
17grpc_package(name = "test/core/channel")
18
19licenses(["notice"])  # Apache v2
20
21grpc_cc_test(
22    name = "channel_args_test",
23    srcs = ["channel_args_test.cc"],
24    language = "C++",
25    uses_polling = False,
26    deps = [
27        "//:gpr",
28        "//:grpc",
29        "//test/core/util:grpc_test_util",
30    ],
31)
32
33grpc_cc_test(
34    name = "channel_stack_test",
35    srcs = ["channel_stack_test.cc"],
36    language = "C++",
37    uses_polling = False,
38    deps = [
39        "//:gpr",
40        "//:grpc",
41        "//test/core/util:grpc_test_util",
42    ],
43)
44
45grpc_cc_test(
46    name = "channel_stack_builder_test",
47    srcs = ["channel_stack_builder_test.cc"],
48    language = "C++",
49    deps = [
50        "//:gpr",
51        "//:grpc",
52        "//test/core/util:grpc_test_util",
53    ],
54)
55
56grpc_cc_test(
57    name = "minimal_stack_is_minimal_test",
58    srcs = ["minimal_stack_is_minimal_test.cc"],
59    language = "C++",
60    uses_polling = False,
61    deps = [
62        "//:gpr",
63        "//:grpc",
64        "//test/core/util:grpc_test_util",
65    ],
66)
67
68grpc_cc_test(
69    name = "channel_trace_test",
70    srcs = ["channel_trace_test.cc"],
71    external_deps = [
72        "gtest",
73    ],
74    language = "C++",
75    deps = [
76        "//:gpr",
77        "//:grpc",
78        "//:grpc++",
79        "//test/core/util:grpc_test_util",
80        "//test/cpp/util:channel_trace_proto_helper",
81    ],
82)
83
84grpc_cc_test(
85    name = "channelz_test",
86    srcs = ["channelz_test.cc"],
87    external_deps = [
88        "gtest",
89    ],
90    language = "C++",
91    deps = [
92        "//:gpr",
93        "//:grpc",
94        "//:grpc++",
95        "//test/core/util:grpc_test_util",
96        "//test/cpp/util:channel_trace_proto_helper",
97    ],
98)
99
100grpc_cc_test(
101    name = "channelz_registry_test",
102    srcs = ["channelz_registry_test.cc"],
103    external_deps = [
104        "gtest",
105    ],
106    language = "C++",
107    uses_polling = False,
108    deps = [
109        "//:gpr",
110        "//:grpc",
111        "//:grpc++",
112        "//test/core/util:grpc_test_util",
113    ],
114)
115
116grpc_cc_test(
117    name = "status_util_test",
118    srcs = ["status_util_test.cc"],
119    external_deps = [
120        "gtest",
121    ],
122    language = "C++",
123    uses_polling = False,
124    deps = [
125        "//:grpc",
126        "//test/core/util:grpc_test_util",
127    ],
128)
129