| 1 |
# Copyright 2017 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 |
load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer") |
| 17 |
|
| 18 |
grpc_package(name = "test/core/uri") |
| 19 |
|
| 20 |
licenses(["notice"]) |
| 21 |
|
| 22 |
grpc_fuzzer( |
| 23 |
name = "uri_fuzzer_test", |
| 24 |
srcs = ["uri_fuzzer_test.cc"], |
| 25 |
corpus = "uri_corpus", |
| 26 |
language = "C++", |
| 27 |
tags = [ |
| 28 |
"no_windows", |
| 29 |
# Without "nofixdeps", "//:grpc" gets substituted with "//:event_engine_base_hdrs" |
| 30 |
"nofixdeps", |
| 31 |
], |
| 32 |
deps = [ |
| 33 |
"//:exec_ctx", |
| 34 |
"//:gpr", |
| 35 |
"//:grpc", |
| 36 |
"//:uri_parser", |
| 37 |
], |
| 38 |
) |
| 39 |
|
| 40 |
grpc_cc_test( |
| 41 |
name = "uri_parser_test", |
| 42 |
srcs = ["uri_parser_test.cc"], |
| 43 |
external_deps = [ |
| 44 |
"absl/status", |
| 45 |
"gtest", |
| 46 |
], |
| 47 |
language = "C++", |
| 48 |
deps = [ |
| 49 |
"//:event_engine_base_hdrs", |
| 50 |
"//:uri_parser", |
| 51 |
"//test/core/util:grpc_test_util_unsecure", |
| 52 |
], |
| 53 |
) |