• 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
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    external_deps = [
25        "gtest",
26    ],
27    language = "C++",
28    tags = ["no_windows"],  # TODO(jtattermusch): investigate the timeout on windows
29    uses_polling = False,
30    deps = [
31        "//:gpr",
32        "//:grpc",
33        "//test/core/util:grpc_test_util",
34    ],
35)
36
37grpc_cc_test(
38    name = "byte_stream_test",
39    srcs = ["byte_stream_test.cc"],
40    external_deps = [
41        "gtest",
42    ],
43    language = "C++",
44    uses_polling = False,
45    deps = [
46        "//:gpr",
47        "//:grpc",
48        "//test/core/util:grpc_test_util",
49    ],
50)
51
52grpc_cc_test(
53    name = "connectivity_state_test",
54    srcs = ["connectivity_state_test.cc"],
55    external_deps = [
56        "gtest",
57    ],
58    language = "C++",
59    deps = [
60        "//:gpr",
61        "//:grpc",
62        "//test/core/util:grpc_test_util",
63    ],
64)
65
66grpc_cc_test(
67    name = "metadata_test",
68    srcs = ["metadata_test.cc"],
69    language = "C++",
70    deps = [
71        "//:gpr",
72        "//:grpc",
73        "//test/core/util:grpc_test_util",
74    ],
75)
76
77grpc_cc_test(
78    name = "pid_controller_test",
79    srcs = ["pid_controller_test.cc"],
80    external_deps = [
81        "gtest",
82    ],
83    language = "C++",
84    deps = [
85        "//:gpr",
86        "//:grpc",
87        "//test/core/util:grpc_test_util",
88    ],
89)
90
91grpc_cc_test(
92    name = "static_metadata_test",
93    srcs = ["static_metadata_test.cc"],
94    external_deps = [
95        "gtest",
96    ],
97    language = "C++",
98    deps = [
99        "//:gpr",
100        "//:grpc",
101        "//test/core/util:grpc_test_util",
102    ],
103)
104
105grpc_cc_test(
106    name = "status_conversion_test",
107    srcs = ["status_conversion_test.cc"],
108    language = "C++",
109    uses_polling = False,
110    deps = [
111        "//:gpr",
112        "//:grpc",
113        "//test/core/util:grpc_test_util",
114    ],
115)
116
117grpc_cc_test(
118    name = "stream_owned_slice_test",
119    srcs = ["stream_owned_slice_test.cc"],
120    language = "C++",
121    uses_polling = False,
122    deps = [
123        "//:gpr",
124        "//:grpc",
125        "//test/core/util:grpc_test_util",
126    ],
127)
128
129grpc_cc_test(
130    name = "timeout_encoding_test",
131    srcs = ["timeout_encoding_test.cc"],
132    language = "C++",
133    uses_polling = False,
134    deps = [
135        "//:gpr",
136        "//:grpc",
137        "//test/core/util:grpc_test_util",
138    ],
139)
140
141grpc_cc_test(
142    name = "status_metadata_test",
143    srcs = ["status_metadata_test.cc"],
144    external_deps = [
145        "gtest",
146    ],
147    language = "C++",
148    uses_polling = False,
149    deps = [
150        "//:grpc",
151        "//test/core/util:grpc_test_util",
152    ],
153)
154