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 15licenses(["notice"]) # Apache v2 16 17load("//bazel:grpc_build_system.bzl", "grpc_cc_binary", "grpc_cc_library", "grpc_cc_test", "grpc_package") 18 19grpc_package(name = "test/cpp/server") 20 21grpc_cc_test( 22 name = "server_builder_test", 23 srcs = ["server_builder_test.cc"], 24 external_deps = [ 25 "gtest", 26 ], 27 tags = ["no_windows"], 28 deps = [ 29 "//:grpc++_unsecure", 30 "//src/proto/grpc/testing:echo_proto", 31 "//test/core/util:grpc_test_util_unsecure", 32 ], 33) 34 35grpc_cc_test( 36 name = "server_builder_with_socket_mutator_test", 37 srcs = ["server_builder_with_socket_mutator_test.cc"], 38 external_deps = [ 39 "gtest", 40 ], 41 tags = ["no_windows"], 42 deps = [ 43 "//:grpc++_unsecure", 44 "//src/proto/grpc/testing:echo_proto", 45 "//test/core/util:grpc_test_util_unsecure", 46 ], 47) 48 49grpc_cc_test( 50 name = "server_request_call_test", 51 srcs = ["server_request_call_test.cc"], 52 external_deps = [ 53 "gtest", 54 ], 55 tags = ["no_windows"], 56 deps = [ 57 "//:grpc++_unsecure", 58 "//src/proto/grpc/testing:echo_proto", 59 "//test/core/util:grpc_test_util_unsecure", 60 ], 61) 62