Debian Codegraph @

test/core/event_engine/work_queue/BUILD

raw
1 # Copyright 2022 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_proto_fuzzer")
17
18 licenses(["notice"])
19
20 grpc_package(
21 name = "test/core/event_engine/work_queue",
22 visibility = "tests",
23 )
24
25 grpc_cc_test(
26 name = "work_queue_test",
27 srcs = ["work_queue_test.cc"],
28 external_deps = ["gtest"],
29 deps = [
30 "//:exec_ctx",
31 "//:gpr_platform",
32 "//src/core:common_event_engine_closures",
33 "//src/core:event_engine_work_queue",
34 "//test/core/util:grpc_test_util_unsecure",
35 ],
36 )
37
38 grpc_proto_fuzzer(
39 name = "work_queue_fuzzer",
40 srcs = ["work_queue_fuzzer.cc"],
41 corpus = "corpora",
42 language = "C++",
43 proto = "work_queue_fuzzer.proto",
44 tags = ["no_windows"],
45 uses_event_engine = False,
46 uses_polling = False,
47 deps = [
48 "//src/core:event_engine_work_queue",
49 "//test/core/util:grpc_test_util",
50 ],
51 )