• 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_library", "grpc_cc_test", "grpc_cc_binary", "grpc_package")
16
17licenses(["notice"])  # Apache v2
18
19grpc_package(name = "test/core/transport")
20
21grpc_cc_test(
22    name = "bdp_estimator_test",
23    srcs = ["bdp_estimator_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    external_deps = [
32        "gtest",
33    ],
34)
35
36grpc_cc_test(
37    name = "byte_stream_test",
38    srcs = ["byte_stream_test.cc"],
39    language = "C++",
40    deps = [
41        "//:gpr",
42        "//:grpc",
43        "//test/core/util:gpr_test_util",
44        "//test/core/util:grpc_test_util",
45    ],
46    external_deps = [
47        "gtest",
48    ],
49)
50
51grpc_cc_test(
52    name = "connectivity_state_test",
53    srcs = ["connectivity_state_test.cc"],
54    language = "C++",
55    deps = [
56        "//:gpr",
57        "//:grpc",
58        "//test/core/util:gpr_test_util",
59        "//test/core/util:grpc_test_util",
60    ],
61)
62
63grpc_cc_test(
64    name = "metadata_test",
65    srcs = ["metadata_test.cc"],
66    language = "C++",
67    deps = [
68        "//:gpr",
69        "//:grpc",
70        "//test/core/util:gpr_test_util",
71        "//test/core/util:grpc_test_util",
72    ],
73)
74
75grpc_cc_test(
76    name = "pid_controller_test",
77    srcs = ["pid_controller_test.cc"],
78    language = "C++",
79    deps = [
80        "//:gpr",
81        "//:grpc",
82        "//test/core/util:gpr_test_util",
83        "//test/core/util:grpc_test_util",
84    ],
85    external_deps = [
86        "gtest",
87    ],
88)
89
90grpc_cc_test(
91    name = "status_conversion_test",
92    srcs = ["status_conversion_test.cc"],
93    language = "C++",
94    deps = [
95        "//:gpr",
96        "//:grpc",
97        "//test/core/util:gpr_test_util",
98        "//test/core/util:grpc_test_util",
99    ],
100)
101
102grpc_cc_test(
103    name = "stream_owned_slice_test",
104    srcs = ["stream_owned_slice_test.cc"],
105    language = "C++",
106    deps = [
107        "//:gpr",
108        "//:grpc",
109        "//test/core/util:gpr_test_util",
110        "//test/core/util:grpc_test_util",
111    ],
112)
113
114grpc_cc_test(
115    name = "timeout_encoding_test",
116    srcs = ["timeout_encoding_test.cc"],
117    language = "C++",
118    deps = [
119        "//:gpr",
120        "//:grpc",
121        "//test/core/util:gpr_test_util",
122        "//test/core/util:grpc_test_util",
123    ],
124)
125
126grpc_cc_test(
127    name = "status_metadata_test",
128    srcs = ["status_metadata_test.cc"],
129    language = "C++",
130    deps = [
131        "//:grpc",
132        "//test/core/util:gpr_test_util",
133    ],
134    external_deps = [
135        "gtest",
136    ],
137)
138