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