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"]) # Apache v2 18 19 grpc_package(name = "test/core/tsi/alts/zero_copy_frame_protector") 20 21 grpc_cc_test( 22 name = "alts_grpc_record_protocol_test", 23 srcs = ["alts_grpc_record_protocol_test.cc"], 24 language = "C++", 25 deps = [ 26 "//:alts_frame_protector", 27 "//:gpr", 28 "//:grpc", 29 "//:grpc_base_c", 30 "//test/core/tsi/alts/crypt:alts_crypt_test_util", 31 "//test/core/util:gpr_test_util", 32 ], 33 ) 34 35 grpc_cc_test( 36 name = "alts_iovec_record_protocol_test", 37 srcs = ["alts_iovec_record_protocol_test.cc"], 38 language = "C++", 39 deps = [ 40 "//:alts_frame_protector", 41 "//:gpr", 42 "//:grpc", 43 "//test/core/tsi/alts/crypt:alts_crypt_test_util", 44 "//test/core/util:gpr_test_util", 45 ], 46 ) 47 48 grpc_cc_test( 49 name = "alts_zero_copy_grpc_protector_test", 50 srcs = ["alts_zero_copy_grpc_protector_test.cc"], 51 language = "C++", 52 deps = [ 53 "//:alts_frame_protector", 54 "//:gpr", 55 "//:grpc", 56 "//:grpc_base_c", 57 "//test/core/tsi/alts/crypt:alts_crypt_test_util", 58 "//test/core/util:gpr_test_util", 59 ], 60 ) 61