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("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test") 16 17licenses(["notice"]) 18 19grpc_cc_library( 20 name = "cf_engine_unit_test_lib", 21 testonly = True, 22 srcs = ["cf_engine_test.cc"], 23 external_deps = [ 24 "absl/log:check", 25 "gtest", 26 ], 27 language = "C++", 28 tags = [ 29 "no_linux", 30 "no_windows", 31 ], 32 visibility = [ 33 "//src/objective-c/tests:__subpackages__", 34 "//test:__subpackages__", 35 ], 36 deps = [ 37 "//:gpr_platform", 38 "//src/core:cf_event_engine", 39 "//test/core/test_util:grpc_test_util", 40 ], 41 alwayslink = 1, 42) 43 44grpc_cc_test( 45 name = "cf_engine_test", 46 timeout = "short", 47 srcs = ["cf_engine_test.cc"], 48 external_deps = [ 49 "absl/log:check", 50 "gtest", 51 ], 52 language = "C++", 53 tags = [ 54 "no_linux", 55 "no_windows", 56 ], 57 deps = [ 58 "//:gpr_platform", 59 "//src/core:cf_event_engine", 60 "//test/core/test_util:grpc_test_util", 61 ], 62) 63