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
87 libc_test(
88 name = "wcslcat_test",
89 srcs = ["wcslcat_test.cpp"],
90 deps = [
91 "//libc:types_size_t",
92 "//libc:types_wchar_t",
93 "//libc:wcslcat",
94 ],
95 )
96
97 libc_test(
98 name = "wcslcpy_test",
99 srcs = ["wcslcpy_test.cpp"],
100 deps = [
101 "//libc:types_size_t",
102 "//libc:types_wchar_t",
103 "//libc:wcslcpy",
104 ],
105 )
106
107 libc_test(
108 name = "wcslen_test",
109 srcs = ["wcslen_test.cpp"],
110 deps = [
111 "//libc:types_size_t",
112 "//libc:types_wchar_t",
113 "//libc:wcslen",
114 ],
115 )
116
117 libc_test(
118 name = "wcsncat_test",
119 srcs = ["wcsncat_test.cpp"],
120 deps = [
121 "//libc:types_wchar_t",
122 "//libc:wcsncat",
123 ],
124 )
125
126 libc_test(
127 name = "wcsncmp_test",
128 srcs = ["wcsncmp_test.cpp"],
129 deps = [
130 "//libc:types_wchar_t",
131 "//libc:wcsncmp",
132 ],
133 )
134
135 libc_test(
136 name = "wcsncpy_test",
137 srcs = ["wcsncpy_test.cpp"],
138 deps = [
139 "//libc:types_wchar_t",
140 "//libc:wcsncpy",
141 ],
142 )
143
144 libc_test(
145 name = "wcsrchr_test",
146 srcs = ["wcsrchr_test.cpp"],
147 deps = [
148 "//libc:types_wchar_t",
149 "//libc:wcsrchr",
150 ],
151 )
152
153 libc_test(
154 name = "wcspbrk_test",
155 srcs = ["wcspbrk_test.cpp"],
156 deps = [
157 "//libc:types_wchar_t",
158 "//libc:wcspbrk",
159 ],
160 )
161
162 libc_test(
163 name = "wcsspn_test",
164 srcs = ["wcsspn_test.cpp"],
165 deps = [
166 "//libc:types_size_t",
167 "//libc:types_wchar_t",
168 "//libc:wcsspn",
169 ],
170 )
171
172 libc_test(
173 name = "wcsstr_test",
174 srcs = ["wcsstr_test.cpp"],
175 deps = [
176 "//libc:types_wchar_t",
177 "//libc:wcsstr",
178 ],
179 )
180
181 libc_test(
182 name = "wctob_test",
183 srcs = ["wctob_test.cpp"],
184 deps = [
185 "//libc:hdr_stdio_macros",
186 "//libc:wctob",
187 ],
188 )
189
190 libc_test(
191 name = "wmemchr_test",
192 srcs = ["wmemchr_test.cpp"],
193 deps = [
194 "//libc:types_wchar_t",
195 "//libc:wmemchr",
196 ],
197 )
198
199 libc_test(
200 name = "wmemcmp_test",
201 srcs = ["wmemcmp_test.cpp"],
202 deps = [
203 "//libc:types_size_t",
204 "//libc:types_wchar_t",
205 "//libc:wmemcmp",
206 ],
207 )
208
209 libc_test(
210 name = "wmemcpy_test",
211 srcs = ["wmemcpy_test.cpp"],
212 deps = [
213 "//libc:types_size_t",
214 "//libc:types_wchar_t",
215 "//libc:wmemcpy",
216 ],
217 )
218
219 libc_test(
220 name = "wmemmove_test",
221 srcs = ["wmemmove_test.cpp"],
222 deps = [
223 "//libc:types_size_t",
224 "//libc:types_wchar_t",
225 "//libc:wmemmove",
226 ],
227 )
228
229 libc_test(
230 name = "wmempcpy_test",
231 srcs = ["wmempcpy_test.cpp"],
232 deps = [
233 "//libc:wmempcpy",
234 ],
235 )
236
237 libc_test(
238 name = "wmemset_test",
239 srcs = ["wmemset_test.cpp"],
240 deps = [
241 "//libc:types_size_t",
242 "//libc:types_wchar_t",
243 "//libc:wmemset",
244 ],
245 )