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 15load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_cc_binary", "grpc_package") 16 17licenses(["notice"]) # Apache v2 18 19grpc_package(name = "test/core/surface") 20 21grpc_cc_test( 22 name = "grpc_byte_buffer_reader_test", 23 srcs = ["byte_buffer_reader_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 33grpc_cc_test( 34 name = "channel_create_test", 35 srcs = ["channel_create_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 45grpc_cc_test( 46 name = "grpc_completion_queue_test", 47 srcs = ["completion_queue_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 57grpc_cc_test( 58 name = "completion_queue_threading_test", 59 srcs = ["completion_queue_threading_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 69grpc_cc_test( 70 name = "concurrent_connectivity_test", 71 srcs = ["concurrent_connectivity_test.cc"], 72 language = "C++", 73 deps = [ 74 "//:gpr", 75 "//:grpc", 76 "//test/core/util:gpr_test_util", 77 "//test/core/util:grpc_test_util", 78 ], 79) 80 81grpc_cc_test( 82 name = "init_test", 83 srcs = ["init_test.cc"], 84 language = "C++", 85 deps = [ 86 "//:gpr", 87 "//:grpc", 88 "//test/core/util:gpr_test_util", 89 "//test/core/util:grpc_test_util", 90 ], 91) 92 93grpc_cc_test( 94 name = "lame_client_test", 95 srcs = ["lame_client_test.cc"], 96 language = "C++", 97 deps = [ 98 "//:gpr", 99 "//:grpc", 100 "//test/core/end2end:cq_verifier", 101 "//test/core/util:gpr_test_util", 102 "//test/core/util:grpc_test_util", 103 ], 104) 105 106grpc_cc_test( 107 name = "num_external_connectivity_watchers_test", 108 srcs = ["num_external_connectivity_watchers_test.cc"], 109 language = "C++", 110 deps = [ 111 "//:gpr", 112 "//:grpc", 113 "//test/core/end2end:ssl_test_data", 114 "//test/core/util:gpr_test_util", 115 "//test/core/util:grpc_test_util", 116 ], 117) 118 119grpc_cc_test( 120 name = "public_headers_must_be_c89", 121 srcs = ["public_headers_must_be_c89.c"], 122 language = "C", 123 deps = [ 124 "//:gpr", 125 "//:grpc", 126 "//test/core/util:gpr_test_util", 127 "//test/core/util:grpc_test_util", 128 ], 129) 130 131grpc_cc_test( 132 name = "secure_channel_create_test", 133 srcs = ["secure_channel_create_test.cc"], 134 language = "C++", 135 deps = [ 136 "//:gpr", 137 "//:grpc", 138 "//test/core/util:gpr_test_util", 139 "//test/core/util:grpc_test_util", 140 ], 141) 142 143grpc_cc_test( 144 name = "sequential_connectivity_test", 145 srcs = ["sequential_connectivity_test.cc"], 146 language = "C++", 147 deps = [ 148 "//:gpr", 149 "//:grpc", 150 "//test/core/end2end:ssl_test_data", 151 "//test/core/util:gpr_test_util", 152 "//test/core/util:grpc_test_util", 153 ], 154) 155 156grpc_cc_test( 157 name = "server_chttp2_test", 158 srcs = ["server_chttp2_test.cc"], 159 language = "C++", 160 deps = [ 161 "//:gpr", 162 "//:grpc", 163 "//test/core/util:gpr_test_util", 164 "//test/core/util:grpc_test_util", 165 ], 166) 167 168grpc_cc_test( 169 name = "server_test", 170 srcs = ["server_test.cc"], 171 language = "C++", 172 deps = [ 173 "//:gpr", 174 "//:grpc", 175 "//test/core/util:gpr_test_util", 176 "//test/core/util:grpc_test_util", 177 ], 178) 179