1# Copyright 2023 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("//fuzztest:grpc_fuzz_test.bzl", "grpc_fuzz_test") 16 17grpc_fuzz_test( 18 name = "write_size_policy_test", 19 srcs = ["write_size_policy_test.cc"], 20 external_deps = [ 21 "fuzztest", 22 "fuzztest_main", 23 "gtest", 24 ], 25 deps = ["//src/core:write_size_policy"], 26) 27 28grpc_fuzz_test( 29 name = "hpack_encoder_timeout_test", 30 srcs = ["hpack_encoder_timeout_test.cc"], 31 external_deps = [ 32 "absl/random", 33 "fuzztest", 34 "fuzztest_main", 35 "gtest", 36 ], 37 deps = [ 38 "//:grpc_base", 39 "//:hpack_encoder", 40 "//:hpack_parser", 41 "//:ref_counted_ptr", 42 "//src/core:arena", 43 "//src/core:memory_quota", 44 "//src/core:metadata_batch", 45 "//src/core:resource_quota", 46 "//src/core:slice_buffer", 47 "//src/core:time", 48 ], 49) 50