Debian Codegraph @

test/core/tsi/alts/handshaker/BUILD

raw
1 # Copyright 2018 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_library", "grpc_cc_test", "grpc_package")
16
17 licenses(["notice"])
18
19 grpc_package(name = "test/core/tsi/alts/handshaker")
20
21 grpc_cc_library(
22 name = "alts_handshaker_service_api_test_lib",
23 srcs = ["alts_handshaker_service_api_test_lib.cc"],
24 hdrs = ["alts_handshaker_service_api_test_lib.h"],
25 deps = [
26 "//:grpc",
27 ],
28 )
29
30 grpc_cc_test(
31 name = "alts_handshaker_client_test",
32 srcs = ["alts_handshaker_client_test.cc"],
33 external_deps = ["gtest"],
34 language = "C++",
35 deps = [
36 ":alts_handshaker_service_api_test_lib",
37 "//:grpc",
38 "//test/core/util:grpc_test_util",
39 ],
40 )
41
42 grpc_cc_test(
43 name = "alts_tsi_handshaker_test",
44 srcs = ["alts_tsi_handshaker_test.cc"],
45 external_deps = ["gtest"],
46 language = "C++",
47 deps = [
48 ":alts_handshaker_service_api_test_lib",
49 "//:gpr",
50 "//:grpc",
51 "//test/core/util:grpc_test_util",
52 ],
53 )
54
55 grpc_cc_test(
56 name = "alts_tsi_utils_test",
57 srcs = ["alts_tsi_utils_test.cc"],
58 external_deps = ["gtest"],
59 language = "C++",
60 deps = [
61 ":alts_handshaker_service_api_test_lib",
62 "//:grpc",
63 "//test/core/util:grpc_test_util",
64 ],
65 )
66
67 grpc_cc_test(
68 name = "transport_security_common_api_test",
69 srcs = ["transport_security_common_api_test.cc"],
70 external_deps = ["gtest"],
71 language = "C++",
72 deps = [
73 "//:grpc",
74 "//test/core/util:grpc_test_util",
75 ],
76 )
77
78 grpc_cc_test(
79 name = "alts_concurrent_connectivity_test",
80 srcs = [
81 "alts_concurrent_connectivity_test.cc",
82 ],
83 external_deps = ["gtest"],
84 flaky = True,
85 language = "C++",
86 # TODO(apolcyn): make the fake TCP server used in this
87 # test portable to Windows.
88 tags = [
89 "no_mac", # TODO(https://github.com/grpc/grpc/issues/24747): Disable temporarily
90 "no_windows",
91 ],
92 deps = [
93 "//:grpc",
94 "//test/core/end2end:cq_verifier",
95 "//test/core/tsi/alts/fake_handshaker:fake_handshaker_lib",
96 "//test/core/util:fake_udp_and_tcp_server",
97 "//test/core/util:grpc_test_util",
98 ],
99 )