Debian Codegraph @

utils/bazel/llvm-project-overlay/libc/test/src/wchar/BUILD.bazel

raw
1 # This file is licensed under the Apache License v2.0 with LLVM Exceptions.
2 # See https://llvm.org/LICENSE.txt for license information.
3 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
5 # Tests for LLVM libc wchar.h functions.
6
7 load("//libc/test:libc_test_rules.bzl", "libc_test")
8
9 package(default_visibility = ["//visibility:public"])
10
11 licenses(["notice"])
12
13 libc_test(
14 name = "btowc_test",
15 srcs = ["btowc_test.cpp"],
16 deps = [
17 "//libc:btowc",
18 "//libc:hdr_wchar_macros",
19 ],
20 )
21
22 libc_test(
23 name = "wcpcpy_test",
24 srcs = ["wcpcpy_test.cpp"],
25 deps = [
26 "//libc:types_wchar_t",
27 "//libc:wcpcpy",
28 ],
29 )
30
31 libc_test(
32 name = "wcpncpy_test",
33 srcs = ["wcpncpy_test.cpp"],
34 deps = [
35 "//libc:types_wchar_t",
36 "//libc:wcpncpy",
37 ],
38 )
39
40 libc_test(
41 name = "wcscat_test",
42 srcs = ["wcscat_test.cpp"],
43 deps = [
44 "//libc:types_wchar_t",
45 "//libc:wcscat",
46 ],
47 )
48
49 libc_test(
50 name = "wcschr_test",
51 srcs = ["wcschr_test.cpp"],
52 deps = [
53 "//libc:types_wchar_t",
54 "//libc:wcschr",
55 ],
56 )
57
58 libc_test(
59 name = "wcscmp_test",
60 srcs = ["wcscmp_test.cpp"],
61 deps = [
62 "//libc:types_wchar_t",
63 "//libc:wcscmp",
64 ],
65 )
66
67 libc_test(
68 name = "wcscpy_test",
69 srcs = ["wcscpy_test.cpp"],
70 deps = [
71 "//libc:types_wchar_t",
72 "//libc:wcscpy",
73 ],
74 )
75
76 libc_test(
77 name = "wcscspn_test",
78 srcs = ["wcscspn_test.cpp"],
79 deps = [
80 "//libc:types_size_t",
81 "//libc:types_wchar_t",
82 "//libc:wcscspn",
83 ],
84 )
85
86 libc_test(
87 name = "wcslcat_test",
88 srcs = ["wcslcat_test.cpp"],
89 deps = [
90 "//libc:types_size_t",
91 "//libc:types_wchar_t",
92 "//libc:wcslcat",
93 ],
94 )
95
96 libc_test(
97 name = "wcslcpy_test",
98 srcs = ["wcslcpy_test.cpp"],
99 deps = [
100 "//libc:types_size_t",
101 "//libc:types_wchar_t",
102 "//libc:wcslcpy",
103 ],
104 )
105
106 libc_test(
107 name = "wcslen_test",
108 srcs = ["wcslen_test.cpp"],
109 deps = [
110 "//libc:types_size_t",
111 "//libc:types_wchar_t",
112 "//libc:wcslen",
113 ],
114 )
115
116 libc_test(
117 name = "wcsncat_test",
118 srcs = ["wcsncat_test.cpp"],
119 deps = [
120 "//libc:types_wchar_t",
121 "//libc:wcsncat",
122 ],
123 )
124
125 libc_test(
126 name = "wcsncmp_test",
127 srcs = ["wcsncmp_test.cpp"],
128 deps = [
129 "//libc:types_wchar_t",
130 "//libc:wcsncmp",
131 ],
132 )
133
134 libc_test(
135 name = "wcsncpy_test",
136 srcs = ["wcsncpy_test.cpp"],
137 deps = [
138 "//libc:types_wchar_t",
139 "//libc:wcsncpy",
140 ],
141 )
142
143 libc_test(
144 name = "wcsrchr_test",
145 srcs = ["wcsrchr_test.cpp"],
146 deps = [
147 "//libc:types_wchar_t",
148 "//libc:wcsrchr",
149 ],
150 )
151
152 libc_test(
153 name = "wcspbrk_test",
154 srcs = ["wcspbrk_test.cpp"],
155 deps = [
156 "//libc:types_wchar_t",
157 "//libc:wcspbrk",
158 ],
159 )
160
161 libc_test(
162 name = "wcsspn_test",
163 srcs = ["wcsspn_test.cpp"],
164 deps = [
165 "//libc:types_size_t",
166 "//libc:types_wchar_t",
167 "//libc:wcsspn",
168 ],
169 )
170
171 libc_test(
172 name = "wcsstr_test",
173 srcs = ["wcsstr_test.cpp"],
174 deps = [
175 "//libc:types_wchar_t",
176 "//libc:wcsstr",
177 ],
178 )
179
180 libc_test(
181 name = "wctob_test",
182 srcs = ["wctob_test.cpp"],
183 deps = [
184 "//libc:hdr_stdio_macros",
185 "//libc:wctob",
186 ],
187 )
188
189 libc_test(
190 name = "wmemchr_test",
191 srcs = ["wmemchr_test.cpp"],
192 deps = [
193 "//libc:types_wchar_t",
194 "//libc:wmemchr",
195 ],
196 )
197
198 libc_test(
199 name = "wmemcmp_test",
200 srcs = ["wmemcmp_test.cpp"],
201 deps = [
202 "//libc:types_size_t",
203 "//libc:types_wchar_t",
204 "//libc:wmemcmp",
205 ],
206 )
207
208 libc_test(
209 name = "wmemcpy_test",
210 srcs = ["wmemcpy_test.cpp"],
211 deps = [
212 "//libc:types_size_t",
213 "//libc:types_wchar_t",
214 "//libc:wmemcpy",
215 ],
216 )
217
218 libc_test(
219 name = "wmemmove_test",
220 srcs = ["wmemmove_test.cpp"],
221 deps = [
222 "//libc:types_size_t",
223 "//libc:types_wchar_t",
224 "//libc:wmemmove",
225 ],
226 )
227
228 libc_test(
229 name = "wmempcpy_test",
230 srcs = ["wmempcpy_test.cpp"],
231 deps = [
232 "//libc:wmempcpy",
233 ],
234 )
235
236 libc_test(
237 name = "wmemset_test",
238 srcs = ["wmemset_test.cpp"],
239 deps = [
240 "//libc:types_size_t",
241 "//libc:types_wchar_t",
242 "//libc:wmemset",
243 ],
244 )