• 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
15load("//bazel:grpc_build_system.bzl", "grpc_cc_binary", "grpc_cc_library", "grpc_cc_test", "grpc_package")
16
17grpc_package(name = "test/core/fling")
18
19licenses(["notice"])  # Apache v2
20
21load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
22
23grpc_cc_binary(
24    name = "fling_client",
25    testonly = 1,
26    srcs = ["client.cc"],
27    language = "C++",
28    deps = [
29        "//:gpr",
30        "//:grpc",
31        "//test/core/end2end:ssl_test_data",
32        "//test/core/util:grpc_test_util",
33    ],
34)
35
36grpc_cc_binary(
37    name = "fling_server",
38    testonly = 1,
39    srcs = ["server.cc"],
40    language = "C++",
41    deps = [
42        "//:gpr",
43        "//:grpc",
44        "//test/core/end2end:ssl_test_data",
45        "//test/core/util:grpc_test_util",
46    ],
47)
48
49grpc_cc_test(
50    name = "fling_test",
51    srcs = ["fling_test.cc"],
52    data = [
53        ":fling_client",
54        ":fling_server",
55    ],
56    tags = ["no_windows"],
57    deps = [
58        "//:gpr",
59        "//:grpc",
60        "//test/core/end2end:ssl_test_data",
61        "//test/core/util:grpc_test_util",
62    ],
63)
64
65grpc_cc_test(
66    name = "fling_stream_test",
67    srcs = ["fling_stream_test.cc"],
68    data = [
69        ":fling_client",
70        ":fling_server",
71    ],
72    tags = ["no_windows"],
73    deps = [
74        "//:gpr",
75        "//:grpc",
76        "//test/core/end2end:ssl_test_data",
77        "//test/core/util:grpc_test_util",
78    ],
79)
80