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 15load("//bazel:grpc_build_system.bzl", "grpc_cc_test", "grpc_package") 16load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer") 17 18grpc_package(name = "test/core/json") 19 20licenses(["notice"]) 21 22grpc_fuzzer( 23 name = "json_fuzzer", 24 srcs = ["fuzzer.cc"], 25 corpus = "corpus", 26 language = "C++", 27 tags = ["no_windows"], 28 deps = [ 29 "//:gpr", 30 "//:grpc", 31 "//test/core/util:grpc_test_util", 32 ], 33) 34 35grpc_cc_test( 36 name = "json_test", 37 srcs = ["json_test.cc"], 38 external_deps = [ 39 "gtest", 40 ], 41 language = "C++", 42 uses_event_engine = False, 43 uses_polling = False, 44 deps = [ 45 "//:gpr", 46 "//:grpc", 47 "//test/core/util:grpc_test_util", 48 ], 49) 50 51grpc_cc_test( 52 name = "json_object_loader_test", 53 srcs = ["json_object_loader_test.cc"], 54 external_deps = [ 55 "gtest", 56 ], 57 language = "C++", 58 uses_polling = False, 59 deps = [ 60 "//src/core:json_object_loader", 61 "//test/core/util:grpc_test_util", 62 ], 63) 64