• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 = ["gtest"],
24    language = "C++",
25    tags = [
26        "no_linux",
27        "no_windows",
28    ],
29    visibility = [
30        "//src/objective-c/tests:__subpackages__",
31        "//test:__subpackages__",
32    ],
33    deps = [
34        "//:gpr_platform",
35        "//src/core:cf_event_engine",
36        "//test/core/util:grpc_test_util",
37    ],
38    alwayslink = 1,
39)
40
41grpc_cc_test(
42    name = "cf_engine_test",
43    timeout = "short",
44    srcs = ["cf_engine_test.cc"],
45    external_deps = ["gtest"],
46    language = "C++",
47    tags = [
48        "no_linux",
49        "no_windows",
50    ],
51    deps = [
52        "//:gpr_platform",
53        "//src/core:cf_event_engine",
54        "//test/core/util:grpc_test_util",
55    ],
56)
57