1# Copyright 2016 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_library", "grpc_cc_test", "grpc_cc_binary", "grpc_package") 16 17licenses(["notice"]) # Apache v2 18 19grpc_package(name = "test/core/transport/chttp2") 20 21load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer") 22 23grpc_fuzzer( 24 name = "hpack_parser_fuzzer", 25 srcs = ["hpack_parser_fuzzer_test.cc"], 26 corpus = "hpack_parser_corpus", 27 deps = [ 28 "//:grpc", 29 "//test/core/util:grpc_test_util", 30 ], 31) 32 33grpc_cc_test( 34 name = "alpn_test", 35 srcs = ["alpn_test.cc"], 36 language = "C++", 37 deps = [ 38 "//:gpr", 39 "//:grpc", 40 "//test/core/util:gpr_test_util", 41 "//test/core/util:grpc_test_util", 42 ], 43) 44 45grpc_cc_test( 46 name = "bin_decoder_test", 47 srcs = ["bin_decoder_test.cc"], 48 language = "C++", 49 deps = [ 50 "//:gpr", 51 "//:grpc", 52 "//test/core/util:gpr_test_util", 53 "//test/core/util:grpc_test_util", 54 ], 55) 56 57grpc_cc_test( 58 name = "bin_encoder_test", 59 srcs = ["bin_encoder_test.cc"], 60 language = "C++", 61 deps = [ 62 "//:gpr", 63 "//:grpc", 64 "//test/core/util:gpr_test_util", 65 "//test/core/util:grpc_test_util", 66 ], 67) 68 69grpc_cc_test( 70 name = "hpack_encoder_test", 71 srcs = ["hpack_encoder_test.cc"], 72 language = "C++", 73 deps = [ 74 "//:gpr", 75 "//:grpc", 76 "//test/core/util:gpr_test_util", 77 "//test/core/util:grpc_test_util", 78 ], 79) 80 81grpc_cc_test( 82 name = "hpack_parser_test", 83 srcs = ["hpack_parser_test.cc"], 84 language = "C++", 85 deps = [ 86 "//:gpr", 87 "//:grpc", 88 "//test/core/util:gpr_test_util", 89 "//test/core/util:grpc_test_util", 90 ], 91) 92 93grpc_cc_test( 94 name = "hpack_table_test", 95 srcs = ["hpack_table_test.cc"], 96 language = "C++", 97 deps = [ 98 "//:gpr", 99 "//:grpc", 100 "//test/core/util:gpr_test_util", 101 "//test/core/util:grpc_test_util", 102 ], 103) 104 105grpc_cc_test( 106 name = "stream_map_test", 107 srcs = ["stream_map_test.cc"], 108 language = "C++", 109 deps = [ 110 "//:gpr", 111 "//:grpc", 112 "//test/core/util:gpr_test_util", 113 "//test/core/util:grpc_test_util", 114 ], 115) 116 117grpc_cc_test( 118 name = "settings_timeout_test", 119 srcs = ["settings_timeout_test.cc"], 120 language = "C++", 121 deps = [ 122 "//:gpr", 123 "//:grpc", 124 "//test/core/util:gpr_test_util", 125 "//test/core/util:grpc_test_util", 126 ], 127 external_deps = [ 128 "gtest", 129 ], 130) 131 132grpc_cc_test( 133 name = "varint_test", 134 srcs = ["varint_test.cc"], 135 language = "C++", 136 deps = [ 137 "//:gpr", 138 "//:grpc", 139 "//test/core/util:gpr_test_util", 140 "//test/core/util:grpc_test_util", 141 ], 142) 143