• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_test", "grpc_cc_library", "grpc_cc_binary", "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    deps = [
25        "//:grpc++_unsecure",
26        "//src/proto/grpc/testing:echo_proto",
27        "//test/core/util:grpc_test_util_unsecure",
28    ],
29    external_deps = [
30        "gtest",
31    ],
32)
33
34grpc_cc_test(
35    name = "server_builder_with_socket_mutator_test",
36    srcs = ["server_builder_with_socket_mutator_test.cc"],
37    deps = [
38        "//:grpc++_unsecure",
39        "//src/proto/grpc/testing:echo_proto",
40        "//test/core/util:grpc_test_util_unsecure",
41    ],
42    external_deps = [
43        "gtest",
44    ],
45)
46
47grpc_cc_test(
48    name = "server_request_call_test",
49    srcs = ["server_request_call_test.cc"],
50    deps = [
51        "//:grpc++_unsecure",
52        "//src/proto/grpc/testing:echo_proto",
53        "//test/core/util:grpc_test_util_unsecure",
54    ],
55    external_deps = [
56        "gtest",
57    ],
58)
59