| 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_test", "grpc_package") |
| 16 |
|
| 17 |
licenses(["notice"]) |
| 18 |
|
| 19 |
grpc_package(name = "test/core/tsi/alts/frame_protector") |
| 20 |
|
| 21 |
grpc_cc_test( |
| 22 |
name = "alts_counter_test", |
| 23 |
srcs = ["alts_counter_test.cc"], |
| 24 |
external_deps = ["gtest"], |
| 25 |
language = "C++", |
| 26 |
deps = [ |
| 27 |
"//:gpr", |
| 28 |
"//:grpc", |
| 29 |
"//test/core/tsi/alts/crypt:alts_crypt_test_util", |
| 30 |
"//test/core/util:grpc_test_util", |
| 31 |
], |
| 32 |
) |
| 33 |
|
| 34 |
grpc_cc_test( |
| 35 |
name = "alts_crypter_test", |
| 36 |
srcs = ["alts_crypter_test.cc"], |
| 37 |
external_deps = ["gtest"], |
| 38 |
language = "C++", |
| 39 |
deps = [ |
| 40 |
"//:gpr", |
| 41 |
"//:grpc", |
| 42 |
"//test/core/tsi/alts/crypt:alts_crypt_test_util", |
| 43 |
"//test/core/util:grpc_test_util", |
| 44 |
], |
| 45 |
) |
| 46 |
|
| 47 |
grpc_cc_test( |
| 48 |
name = "alts_frame_protector_test", |
| 49 |
srcs = ["alts_frame_protector_test.cc"], |
| 50 |
external_deps = ["gtest"], |
| 51 |
language = "C++", |
| 52 |
deps = [ |
| 53 |
"//:gpr", |
| 54 |
"//:grpc", |
| 55 |
"//test/core/tsi:transport_security_test_lib", |
| 56 |
"//test/core/tsi/alts/crypt:alts_crypt_test_util", |
| 57 |
"//test/core/util:grpc_test_util", |
| 58 |
], |
| 59 |
) |
| 60 |
|
| 61 |
grpc_cc_test( |
| 62 |
name = "frame_handler_test", |
| 63 |
srcs = ["frame_handler_test.cc"], |
| 64 |
external_deps = ["gtest"], |
| 65 |
language = "C++", |
| 66 |
deps = [ |
| 67 |
"//:gpr", |
| 68 |
"//:grpc", |
| 69 |
"//test/core/tsi/alts/crypt:alts_crypt_test_util", |
| 70 |
"//test/core/util:grpc_test_util", |
| 71 |
], |
| 72 |
) |