• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2016 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", "grpc_cc_binary", "grpc_package")
16
17licenses(["notice"])  # Apache v2
18
19grpc_package(name = "test/core/gprpp")
20
21grpc_cc_test(
22    name = "fork_test",
23    srcs = ["fork_test.cc"],
24    language = "C++",
25    deps = [
26        "//:gpr",
27        "//test/core/util:gpr_test_util",
28    ],
29)
30
31grpc_cc_test(
32    name = "manual_constructor_test",
33    srcs = ["manual_constructor_test.cc"],
34    language = "C++",
35    deps = [
36        "//:gpr",
37        "//test/core/util:gpr_test_util",
38    ],
39)
40
41grpc_cc_test(
42    name = "memory_test",
43    srcs = ["memory_test.cc"],
44    external_deps = [
45        "gtest",
46    ],
47    language = "C++",
48    deps = [
49        "//:gpr_base",
50        "//test/core/util:gpr_test_util",
51    ],
52)
53
54grpc_cc_test(
55    name = "inlined_vector_test",
56    srcs = ["inlined_vector_test.cc"],
57    external_deps = [
58        "gtest",
59    ],
60    language = "C++",
61    deps = [
62        "//:inlined_vector",
63        "//test/core/util:gpr_test_util",
64    ],
65)
66
67grpc_cc_test(
68    name = "orphanable_test",
69    srcs = ["orphanable_test.cc"],
70    external_deps = [
71        "gtest",
72    ],
73    language = "C++",
74    deps = [
75        "//:orphanable",
76        "//test/core/util:gpr_test_util",
77    ],
78)
79
80grpc_cc_test(
81    name = "ref_counted_test",
82    srcs = ["ref_counted_test.cc"],
83    external_deps = [
84        "gtest",
85    ],
86    language = "C++",
87    deps = [
88        "//:ref_counted",
89        "//test/core/util:gpr_test_util",
90    ],
91)
92
93grpc_cc_test(
94    name = "ref_counted_ptr_test",
95    srcs = ["ref_counted_ptr_test.cc"],
96    external_deps = [
97        "gtest",
98    ],
99    language = "C++",
100    deps = [
101        "//:ref_counted",
102        "//:ref_counted_ptr",
103        "//test/core/util:gpr_test_util",
104    ],
105)
106
107grpc_cc_test(
108    name = "thd_test",
109    srcs = ["thd_test.cc"],
110    language = "C++",
111    deps = [
112        "//:gpr",
113        "//test/core/util:gpr_test_util",
114    ],
115)
116