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_binary", "grpc_cc_library", "grpc_cc_test", "grpc_package") 16 17grpc_package(name = "test/core/http") 18 19licenses(["notice"]) # Apache v2 20 21load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer") 22 23grpc_fuzzer( 24 name = "response_fuzzer", 25 srcs = ["response_fuzzer.cc"], 26 corpus = "response_corpus", 27 language = "C++", 28 tags = ["no_windows"], 29 deps = [ 30 "//:gpr", 31 "//:grpc", 32 "//test/core/util:grpc_test_util", 33 ], 34) 35 36grpc_fuzzer( 37 name = "request_fuzzer", 38 srcs = ["request_fuzzer.cc"], 39 corpus = "request_corpus", 40 language = "C++", 41 tags = ["no_windows"], 42 deps = [ 43 "//:gpr", 44 "//:grpc", 45 "//test/core/util:grpc_test_util", 46 ], 47) 48 49# Copyright 2017 gRPC authors. 50# 51# Licensed under the Apache License, Version 2.0 (the "License"); 52# you may not use this file except in compliance with the License. 53# You may obtain a copy of the License at 54# 55# http://www.apache.org/licenses/LICENSE-2.0 56# 57# Unless required by applicable law or agreed to in writing, software 58# distributed under the License is distributed on an "AS IS" BASIS, 59# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 60# See the License for the specific language governing permissions and 61# limitations under the License. 62 63licenses(["notice"]) # Apache v2 64 65load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer") 66 67grpc_cc_test( 68 name = "httpcli_test", 69 srcs = ["httpcli_test.cc"], 70 data = [ 71 "python_wrapper.sh", 72 "test_server.py", 73 "//src/core/tsi/test_creds:server1.key", 74 "//src/core/tsi/test_creds:server1.pem", 75 ], 76 language = "C++", 77 tags = ["no_windows"], 78 deps = [ 79 "//:gpr", 80 "//:grpc", 81 "//test/core/end2end:ssl_test_data", 82 "//test/core/util:grpc_test_util", 83 ], 84) 85 86grpc_cc_test( 87 name = "httpscli_test", 88 srcs = ["httpscli_test.cc"], 89 data = [ 90 "python_wrapper.sh", 91 "test_server.py", 92 "//src/core/tsi/test_creds:ca.pem", 93 "//src/core/tsi/test_creds:server1.key", 94 "//src/core/tsi/test_creds:server1.pem", 95 ], 96 language = "C++", 97 tags = ["no_windows"], 98 deps = [ 99 "//:gpr", 100 "//:grpc", 101 "//test/core/end2end:ssl_test_data", 102 "//test/core/util:grpc_test_util", 103 ], 104) 105 106grpc_cc_test( 107 name = "parser_test", 108 srcs = ["parser_test.cc"], 109 language = "C++", 110 uses_polling = False, 111 deps = [ 112 "//:gpr", 113 "//:grpc", 114 "//test/core/end2end:ssl_test_data", 115 "//test/core/util:grpc_test_util", 116 ], 117) 118 119grpc_cc_test( 120 name = "format_request_test", 121 srcs = ["format_request_test.cc"], 122 language = "C++", 123 deps = [ 124 "//:gpr", 125 "//:grpc", 126 "//test/core/end2end:ssl_test_data", 127 "//test/core/util:grpc_test_util", 128 ], 129) 130