• 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_binary", "grpc_cc_library", "grpc_cc_test", "grpc_package")
16load("//bazel:custom_exec_properties.bzl", "LARGE_MACHINE")
17
18licenses(["notice"])  # Apache v2
19
20grpc_package(name = "test/core/gprpp")
21
22grpc_cc_test(
23    name = "fork_test",
24    srcs = ["fork_test.cc"],
25    language = "C++",
26    tags = ["no_windows"],
27    uses_polling = False,
28    deps = [
29        "//:gpr",
30        "//test/core/util:grpc_test_util",
31    ],
32)
33
34grpc_cc_test(
35    name = "global_config_test",
36    srcs = ["global_config_test.cc"],
37    external_deps = [
38        "gtest",
39    ],
40    language = "C++",
41    uses_polling = False,
42    deps = [
43        "//:gpr",
44        "//test/core/util:grpc_test_util",
45    ],
46)
47
48grpc_cc_test(
49    name = "global_config_env_test",
50    srcs = ["global_config_env_test.cc"],
51    external_deps = [
52        "gtest",
53    ],
54    language = "C++",
55    tags = ["no_windows"],  # TODO(jtattermusch): fix the failure on windows
56    uses_polling = False,
57    deps = [
58        "//:gpr",
59        "//test/core/util:grpc_test_util",
60    ],
61)
62
63grpc_cc_test(
64    name = "manual_constructor_test",
65    srcs = ["manual_constructor_test.cc"],
66    language = "C++",
67    uses_polling = False,
68    deps = [
69        "//:gpr",
70        "//test/core/util:grpc_test_util",
71    ],
72)
73
74grpc_cc_test(
75    name = "host_port_test",
76    srcs = ["host_port_test.cc"],
77    language = "C++",
78    uses_polling = False,
79    deps = [
80        "//:gpr",
81        "//test/core/util:grpc_test_util",
82    ],
83)
84
85grpc_cc_test(
86    name = "mpscq_test",
87    srcs = ["mpscq_test.cc"],
88    exec_properties = LARGE_MACHINE,
89    language = "C++",
90    tags = ["no_windows"],  # LARGE_MACHINE is not configured for windows RBE
91    uses_polling = False,
92    deps = [
93        "//:gpr",
94        "//test/core/util:grpc_test_util",
95    ],
96)
97
98grpc_cc_test(
99    name = "orphanable_test",
100    srcs = ["orphanable_test.cc"],
101    external_deps = [
102        "gtest",
103    ],
104    language = "C++",
105    deps = [
106        "//:orphanable",
107        "//test/core/util:grpc_test_util",
108    ],
109)
110
111grpc_cc_test(
112    name = "ref_counted_test",
113    srcs = ["ref_counted_test.cc"],
114    external_deps = [
115        "gtest",
116    ],
117    language = "C++",
118    deps = [
119        "//:ref_counted",
120        "//test/core/util:grpc_test_util",
121    ],
122)
123
124grpc_cc_test(
125    name = "ref_counted_ptr_test",
126    srcs = ["ref_counted_ptr_test.cc"],
127    external_deps = [
128        "gtest",
129    ],
130    language = "C++",
131    deps = [
132        "//:ref_counted",
133        "//:ref_counted_ptr",
134        "//test/core/util:grpc_test_util",
135    ],
136)
137
138grpc_cc_test(
139    name = "thd_test",
140    srcs = ["thd_test.cc"],
141    language = "C++",
142    uses_polling = False,
143    deps = [
144        "//:gpr",
145        "//test/core/util:grpc_test_util",
146    ],
147)
148