Debian Codegraph @

test/core/transport/BUILD

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