1 /*
2 * Copyright (c) 2024-2025 Huawei Device Co., Ltd.
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
16 // Autogenerated file by gen_null_arg_tests.rb script -- DO NOT EDIT!
17
18 #include "libabckit/include/c/abckit.h"
19 #include "libabckit/include/c/metadata_core.h"
20 #include "libabckit/include/c/extensions/arkts/metadata_arkts.h"
21 #include "libabckit/include/c/extensions/js/metadata_js.h"
22 #include "libabckit/include/c/ir_core.h"
23 #include "libabckit/include/c/isa/isa_dynamic.h"
24 #include "libabckit/include/c/isa/isa_static.h"
25
26 #include "helpers/helpers.h"
27 #include "helpers/helpers_nullptr.h"
28
29 #include <gtest/gtest.h>
30
31 namespace libabckit::test {
32
33 static auto g_inspectApiImp = AbckitGetInspectApiImpl(ABCKIT_VERSION_RELEASE_1_0_0);
34
35 class LibAbcKitNullptrTestsInspectApiImpl0 : public ::testing::Test {};
36
37 // Test: test-kind=api, api=InspectApiImpl::abckitStringToString,
38 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,abckitStringToString)39 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, abckitStringToString)
40 {
41 helpers_nullptr::TestNullptr(g_inspectApiImp->abckitStringToString);
42 }
43
44 // Test: test-kind=api, api=InspectApiImpl::annotationElementGetAnnotation,
45 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,annotationElementGetAnnotation)46 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, annotationElementGetAnnotation)
47 {
48 helpers_nullptr::TestNullptr(g_inspectApiImp->annotationElementGetAnnotation);
49 }
50
51 // Test: test-kind=api, api=InspectApiImpl::annotationElementGetFile,
52 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,annotationElementGetFile)53 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, annotationElementGetFile)
54 {
55 helpers_nullptr::TestNullptr(g_inspectApiImp->annotationElementGetFile);
56 }
57
58 // Test: test-kind=api, api=InspectApiImpl::annotationElementGetName,
59 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,annotationElementGetName)60 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, annotationElementGetName)
61 {
62 helpers_nullptr::TestNullptr(g_inspectApiImp->annotationElementGetName);
63 }
64
65 // Test: test-kind=api, api=InspectApiImpl::annotationElementGetValue,
66 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,annotationElementGetValue)67 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, annotationElementGetValue)
68 {
69 helpers_nullptr::TestNullptr(g_inspectApiImp->annotationElementGetValue);
70 }
71
72 // Test: test-kind=api, api=InspectApiImpl::annotationEnumerateElements,
73 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,annotationEnumerateElements)74 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, annotationEnumerateElements)
75 {
76 helpers_nullptr::TestNullptr(g_inspectApiImp->annotationEnumerateElements);
77 }
78
79 // Test: test-kind=api, api=InspectApiImpl::annotationGetFile,
80 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,annotationGetFile)81 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, annotationGetFile)
82 {
83 helpers_nullptr::TestNullptr(g_inspectApiImp->annotationGetFile);
84 }
85
86 // Test: test-kind=api, api=InspectApiImpl::annotationGetInterface,
87 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,annotationGetInterface)88 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, annotationGetInterface)
89 {
90 helpers_nullptr::TestNullptr(g_inspectApiImp->annotationGetInterface);
91 }
92
93 // Test: test-kind=api, api=InspectApiImpl::annotationInterfaceEnumerateFields,
94 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,annotationInterfaceEnumerateFields)95 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, annotationInterfaceEnumerateFields)
96 {
97 helpers_nullptr::TestNullptr(g_inspectApiImp->annotationInterfaceEnumerateFields);
98 }
99
100 // Test: test-kind=api, api=InspectApiImpl::annotationInterfaceFieldGetDefaultValue,
101 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,annotationInterfaceFieldGetDefaultValue)102 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, annotationInterfaceFieldGetDefaultValue)
103 {
104 helpers_nullptr::TestNullptr(g_inspectApiImp->annotationInterfaceFieldGetDefaultValue);
105 }
106
107 // Test: test-kind=api, api=InspectApiImpl::annotationInterfaceFieldGetFile,
108 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,annotationInterfaceFieldGetFile)109 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, annotationInterfaceFieldGetFile)
110 {
111 helpers_nullptr::TestNullptr(g_inspectApiImp->annotationInterfaceFieldGetFile);
112 }
113
114 // Test: test-kind=api, api=InspectApiImpl::annotationInterfaceFieldGetInterface,
115 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,annotationInterfaceFieldGetInterface)116 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, annotationInterfaceFieldGetInterface)
117 {
118 helpers_nullptr::TestNullptr(g_inspectApiImp->annotationInterfaceFieldGetInterface);
119 }
120
121 // Test: test-kind=api, api=InspectApiImpl::annotationInterfaceFieldGetName,
122 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,annotationInterfaceFieldGetName)123 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, annotationInterfaceFieldGetName)
124 {
125 helpers_nullptr::TestNullptr(g_inspectApiImp->annotationInterfaceFieldGetName);
126 }
127
128 // Test: test-kind=api, api=InspectApiImpl::annotationInterfaceFieldGetType,
129 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,annotationInterfaceFieldGetType)130 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, annotationInterfaceFieldGetType)
131 {
132 helpers_nullptr::TestNullptr(g_inspectApiImp->annotationInterfaceFieldGetType);
133 }
134
135 // Test: test-kind=api, api=InspectApiImpl::annotationInterfaceGetFile,
136 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,annotationInterfaceGetFile)137 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, annotationInterfaceGetFile)
138 {
139 helpers_nullptr::TestNullptr(g_inspectApiImp->annotationInterfaceGetFile);
140 }
141
142 // Test: test-kind=api, api=InspectApiImpl::annotationInterfaceGetModule,
143 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,annotationInterfaceGetModule)144 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, annotationInterfaceGetModule)
145 {
146 helpers_nullptr::TestNullptr(g_inspectApiImp->annotationInterfaceGetModule);
147 }
148
149 // Test: test-kind=api, api=InspectApiImpl::annotationInterfaceGetName,
150 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,annotationInterfaceGetName)151 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, annotationInterfaceGetName)
152 {
153 helpers_nullptr::TestNullptr(g_inspectApiImp->annotationInterfaceGetName);
154 }
155
156 // Test: test-kind=api, api=InspectApiImpl::arrayValueGetLiteralArray,
157 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,arrayValueGetLiteralArray)158 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, arrayValueGetLiteralArray)
159 {
160 helpers_nullptr::TestNullptr(g_inspectApiImp->arrayValueGetLiteralArray);
161 }
162
163 // Test: test-kind=api, api=InspectApiImpl::classEnumerateAnnotations,
164 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,classEnumerateAnnotations)165 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, classEnumerateAnnotations)
166 {
167 helpers_nullptr::TestNullptr(g_inspectApiImp->classEnumerateAnnotations);
168 }
169
170 // Test: test-kind=api, api=InspectApiImpl::classEnumerateMethods,
171 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,classEnumerateMethods)172 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, classEnumerateMethods)
173 {
174 helpers_nullptr::TestNullptr(g_inspectApiImp->classEnumerateMethods);
175 }
176
177 // Test: test-kind=api, api=InspectApiImpl::classGetFile,
178 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,classGetFile)179 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, classGetFile)
180 {
181 helpers_nullptr::TestNullptr(g_inspectApiImp->classGetFile);
182 }
183
184 // Test: test-kind=api, api=InspectApiImpl::classGetModule,
185 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,classGetModule)186 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, classGetModule)
187 {
188 helpers_nullptr::TestNullptr(g_inspectApiImp->classGetModule);
189 }
190
191 // Test: test-kind=api, api=InspectApiImpl::classGetName,
192 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,classGetName)193 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, classGetName)
194 {
195 helpers_nullptr::TestNullptr(g_inspectApiImp->classGetName);
196 }
197
198 // Test: test-kind=api, api=InspectApiImpl::classGetParentFunction,
199 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,classGetParentFunction)200 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, classGetParentFunction)
201 {
202 helpers_nullptr::TestNullptr(g_inspectApiImp->classGetParentFunction);
203 }
204
205 // Test: test-kind=api, api=InspectApiImpl::classGetParentNamespace,
206 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,classGetParentNamespace)207 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, classGetParentNamespace)
208 {
209 helpers_nullptr::TestNullptr(g_inspectApiImp->classGetParentNamespace);
210 }
211
212 // Test: test-kind=api, api=InspectApiImpl::createGraphFromFunction,
213 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,createGraphFromFunction)214 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, createGraphFromFunction)
215 {
216 helpers_nullptr::TestNullptr(g_inspectApiImp->createGraphFromFunction);
217 }
218
219 // Test: test-kind=api, api=InspectApiImpl::exportDescriptorGetAlias,
220 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,exportDescriptorGetAlias)221 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, exportDescriptorGetAlias)
222 {
223 helpers_nullptr::TestNullptr(g_inspectApiImp->exportDescriptorGetAlias);
224 }
225
226 // Test: test-kind=api, api=InspectApiImpl::exportDescriptorGetExportedModule,
227 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,exportDescriptorGetExportedModule)228 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, exportDescriptorGetExportedModule)
229 {
230 helpers_nullptr::TestNullptr(g_inspectApiImp->exportDescriptorGetExportedModule);
231 }
232
233 // Test: test-kind=api, api=InspectApiImpl::exportDescriptorGetExportingModule,
234 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,exportDescriptorGetExportingModule)235 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, exportDescriptorGetExportingModule)
236 {
237 helpers_nullptr::TestNullptr(g_inspectApiImp->exportDescriptorGetExportingModule);
238 }
239
240 // Test: test-kind=api, api=InspectApiImpl::exportDescriptorGetFile,
241 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,exportDescriptorGetFile)242 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, exportDescriptorGetFile)
243 {
244 helpers_nullptr::TestNullptr(g_inspectApiImp->exportDescriptorGetFile);
245 }
246
247 // Test: test-kind=api, api=InspectApiImpl::exportDescriptorGetName,
248 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,exportDescriptorGetName)249 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, exportDescriptorGetName)
250 {
251 helpers_nullptr::TestNullptr(g_inspectApiImp->exportDescriptorGetName);
252 }
253
254 // Test: test-kind=api, api=InspectApiImpl::fileEnumerateExternalModules,
255 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,fileEnumerateExternalModules)256 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, fileEnumerateExternalModules)
257 {
258 helpers_nullptr::TestNullptr(g_inspectApiImp->fileEnumerateExternalModules);
259 }
260
261 // Test: test-kind=api, api=InspectApiImpl::fileEnumerateModules,
262 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,fileEnumerateModules)263 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, fileEnumerateModules)
264 {
265 helpers_nullptr::TestNullptr(g_inspectApiImp->fileEnumerateModules);
266 }
267
268 // Test: test-kind=api, api=InspectApiImpl::fileGetVersion,
269 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,fileGetVersion)270 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, fileGetVersion)
271 {
272 helpers_nullptr::TestNullptr(g_inspectApiImp->fileGetVersion);
273 }
274
275 // Test: test-kind=api, api=InspectApiImpl::functionEnumerateAnnotations,
276 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,functionEnumerateAnnotations)277 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, functionEnumerateAnnotations)
278 {
279 helpers_nullptr::TestNullptr(g_inspectApiImp->functionEnumerateAnnotations);
280 }
281
282 // Test: test-kind=api, api=InspectApiImpl::functionEnumerateNestedClasses,
283 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,functionEnumerateNestedClasses)284 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, functionEnumerateNestedClasses)
285 {
286 helpers_nullptr::TestNullptr(g_inspectApiImp->functionEnumerateNestedClasses);
287 }
288
289 // Test: test-kind=api, api=InspectApiImpl::functionEnumerateNestedFunctions,
290 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,functionEnumerateNestedFunctions)291 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, functionEnumerateNestedFunctions)
292 {
293 helpers_nullptr::TestNullptr(g_inspectApiImp->functionEnumerateNestedFunctions);
294 }
295
296 // Test: test-kind=api, api=InspectApiImpl::functionGetFile,
297 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,functionGetFile)298 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, functionGetFile)
299 {
300 helpers_nullptr::TestNullptr(g_inspectApiImp->functionGetFile);
301 }
302
303 // Test: test-kind=api, api=InspectApiImpl::functionGetModule,
304 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,functionGetModule)305 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, functionGetModule)
306 {
307 helpers_nullptr::TestNullptr(g_inspectApiImp->functionGetModule);
308 }
309
310 // Test: test-kind=api, api=InspectApiImpl::functionGetName,
311 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,functionGetName)312 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, functionGetName)
313 {
314 helpers_nullptr::TestNullptr(g_inspectApiImp->functionGetName);
315 }
316
317 // Test: test-kind=api, api=InspectApiImpl::functionGetParentClass,
318 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,functionGetParentClass)319 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, functionGetParentClass)
320 {
321 helpers_nullptr::TestNullptr(g_inspectApiImp->functionGetParentClass);
322 }
323
324 // Test: test-kind=api, api=InspectApiImpl::functionGetParentFunction,
325 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,functionGetParentFunction)326 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, functionGetParentFunction)
327 {
328 helpers_nullptr::TestNullptr(g_inspectApiImp->functionGetParentFunction);
329 }
330
331 // Test: test-kind=api, api=InspectApiImpl::functionGetParentNamespace,
332 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,functionGetParentNamespace)333 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, functionGetParentNamespace)
334 {
335 helpers_nullptr::TestNullptr(g_inspectApiImp->functionGetParentNamespace);
336 }
337
338 // Test: test-kind=api, api=InspectApiImpl::functionIsAnonymous,
339 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,functionIsAnonymous)340 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, functionIsAnonymous)
341 {
342 helpers_nullptr::TestNullptr(g_inspectApiImp->functionIsAnonymous);
343 }
344
345 // Test: test-kind=api, api=InspectApiImpl::functionIsCtor,
346 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,functionIsCtor)347 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, functionIsCtor)
348 {
349 helpers_nullptr::TestNullptr(g_inspectApiImp->functionIsCtor);
350 }
351
352 // Test: test-kind=api, api=InspectApiImpl::functionIsStatic,
353 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,functionIsStatic)354 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, functionIsStatic)
355 {
356 helpers_nullptr::TestNullptr(g_inspectApiImp->functionIsStatic);
357 }
358
359 // Test: test-kind=api, api=InspectApiImpl::importDescriptorGetAlias,
360 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,importDescriptorGetAlias)361 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, importDescriptorGetAlias)
362 {
363 helpers_nullptr::TestNullptr(g_inspectApiImp->importDescriptorGetAlias);
364 }
365
366 // Test: test-kind=api, api=InspectApiImpl::importDescriptorGetFile,
367 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,importDescriptorGetFile)368 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, importDescriptorGetFile)
369 {
370 helpers_nullptr::TestNullptr(g_inspectApiImp->importDescriptorGetFile);
371 }
372
373 // Test: test-kind=api, api=InspectApiImpl::importDescriptorGetImportedModule,
374 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,importDescriptorGetImportedModule)375 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, importDescriptorGetImportedModule)
376 {
377 helpers_nullptr::TestNullptr(g_inspectApiImp->importDescriptorGetImportedModule);
378 }
379
380 // Test: test-kind=api, api=InspectApiImpl::importDescriptorGetImportingModule,
381 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,importDescriptorGetImportingModule)382 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, importDescriptorGetImportingModule)
383 {
384 helpers_nullptr::TestNullptr(g_inspectApiImp->importDescriptorGetImportingModule);
385 }
386
387 // Test: test-kind=api, api=InspectApiImpl::importDescriptorGetName,
388 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,importDescriptorGetName)389 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, importDescriptorGetName)
390 {
391 helpers_nullptr::TestNullptr(g_inspectApiImp->importDescriptorGetName);
392 }
393
394 // Test: test-kind=api, api=InspectApiImpl::literalArrayEnumerateElements,
395 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,literalArrayEnumerateElements)396 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, literalArrayEnumerateElements)
397 {
398 helpers_nullptr::TestNullptr(g_inspectApiImp->literalArrayEnumerateElements);
399 }
400
401 // Test: test-kind=api, api=InspectApiImpl::literalGetBool,
402 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,literalGetBool)403 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, literalGetBool)
404 {
405 helpers_nullptr::TestNullptr(g_inspectApiImp->literalGetBool);
406 }
407
408 // Test: test-kind=api, api=InspectApiImpl::literalGetDouble,
409 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,literalGetDouble)410 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, literalGetDouble)
411 {
412 helpers_nullptr::TestNullptr(g_inspectApiImp->literalGetDouble);
413 }
414
415 // Test: test-kind=api, api=InspectApiImpl::literalGetFile,
416 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,literalGetFile)417 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, literalGetFile)
418 {
419 helpers_nullptr::TestNullptr(g_inspectApiImp->literalGetFile);
420 }
421
422 // Test: test-kind=api, api=InspectApiImpl::literalGetFloat,
423 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,literalGetFloat)424 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, literalGetFloat)
425 {
426 helpers_nullptr::TestNullptr(g_inspectApiImp->literalGetFloat);
427 }
428
429 // Test: test-kind=api, api=InspectApiImpl::literalGetLiteralArray,
430 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,literalGetLiteralArray)431 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, literalGetLiteralArray)
432 {
433 helpers_nullptr::TestNullptr(g_inspectApiImp->literalGetLiteralArray);
434 }
435
436 // Test: test-kind=api, api=InspectApiImpl::literalGetMethod,
437 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,literalGetMethod)438 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, literalGetMethod)
439 {
440 helpers_nullptr::TestNullptr(g_inspectApiImp->literalGetMethod);
441 }
442
443 // Test: test-kind=api, api=InspectApiImpl::literalGetMethodAffiliate,
444 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,literalGetMethodAffiliate)445 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, literalGetMethodAffiliate)
446 {
447 helpers_nullptr::TestNullptr(g_inspectApiImp->literalGetMethodAffiliate);
448 }
449
450 // Test: test-kind=api, api=InspectApiImpl::literalGetString,
451 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,literalGetString)452 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, literalGetString)
453 {
454 helpers_nullptr::TestNullptr(g_inspectApiImp->literalGetString);
455 }
456
457 // Test: test-kind=api, api=InspectApiImpl::literalGetTag,
458 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,literalGetTag)459 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, literalGetTag)
460 {
461 helpers_nullptr::TestNullptr(g_inspectApiImp->literalGetTag);
462 }
463
464 // Test: test-kind=api, api=InspectApiImpl::literalGetU16,
465 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,literalGetU16)466 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, literalGetU16)
467 {
468 helpers_nullptr::TestNullptr(g_inspectApiImp->literalGetU16);
469 }
470
471 // Test: test-kind=api, api=InspectApiImpl::literalGetU32,
472 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,literalGetU32)473 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, literalGetU32)
474 {
475 helpers_nullptr::TestNullptr(g_inspectApiImp->literalGetU32);
476 }
477
478 // Test: test-kind=api, api=InspectApiImpl::literalGetU64,
479 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,literalGetU64)480 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, literalGetU64)
481 {
482 helpers_nullptr::TestNullptr(g_inspectApiImp->literalGetU64);
483 }
484
485 // Test: test-kind=api, api=InspectApiImpl::literalGetU8,
486 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,literalGetU8)487 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, literalGetU8)
488 {
489 helpers_nullptr::TestNullptr(g_inspectApiImp->literalGetU8);
490 }
491
492 // Test: test-kind=api, api=InspectApiImpl::moduleEnumerateAnnotationInterfaces,
493 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,moduleEnumerateAnnotationInterfaces)494 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, moduleEnumerateAnnotationInterfaces)
495 {
496 helpers_nullptr::TestNullptr(g_inspectApiImp->moduleEnumerateAnnotationInterfaces);
497 }
498
499 // Test: test-kind=api, api=InspectApiImpl::moduleEnumerateAnonymousFunctions,
500 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,moduleEnumerateAnonymousFunctions)501 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, moduleEnumerateAnonymousFunctions)
502 {
503 helpers_nullptr::TestNullptr(g_inspectApiImp->moduleEnumerateAnonymousFunctions);
504 }
505
506 // Test: test-kind=api, api=InspectApiImpl::moduleEnumerateClasses,
507 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,moduleEnumerateClasses)508 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, moduleEnumerateClasses)
509 {
510 helpers_nullptr::TestNullptr(g_inspectApiImp->moduleEnumerateClasses);
511 }
512
513 // Test: test-kind=api, api=InspectApiImpl::moduleEnumerateExports,
514 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,moduleEnumerateExports)515 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, moduleEnumerateExports)
516 {
517 helpers_nullptr::TestNullptr(g_inspectApiImp->moduleEnumerateExports);
518 }
519
520 // Test: test-kind=api, api=InspectApiImpl::moduleEnumerateImports,
521 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,moduleEnumerateImports)522 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, moduleEnumerateImports)
523 {
524 helpers_nullptr::TestNullptr(g_inspectApiImp->moduleEnumerateImports);
525 }
526
527 // Test: test-kind=api, api=InspectApiImpl::moduleEnumerateNamespaces,
528 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,moduleEnumerateNamespaces)529 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, moduleEnumerateNamespaces)
530 {
531 helpers_nullptr::TestNullptr(g_inspectApiImp->moduleEnumerateNamespaces);
532 }
533
534 // Test: test-kind=api, api=InspectApiImpl::moduleEnumerateTopLevelFunctions,
535 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,moduleEnumerateTopLevelFunctions)536 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, moduleEnumerateTopLevelFunctions)
537 {
538 helpers_nullptr::TestNullptr(g_inspectApiImp->moduleEnumerateTopLevelFunctions);
539 }
540
541 // Test: test-kind=api, api=InspectApiImpl::moduleGetFile,
542 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,moduleGetFile)543 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, moduleGetFile)
544 {
545 helpers_nullptr::TestNullptr(g_inspectApiImp->moduleGetFile);
546 }
547
548 // Test: test-kind=api, api=InspectApiImpl::moduleGetName,
549 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,moduleGetName)550 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, moduleGetName)
551 {
552 helpers_nullptr::TestNullptr(g_inspectApiImp->moduleGetName);
553 }
554
555 // Test: test-kind=api, api=InspectApiImpl::moduleGetTarget,
556 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,moduleGetTarget)557 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, moduleGetTarget)
558 {
559 helpers_nullptr::TestNullptr(g_inspectApiImp->moduleGetTarget);
560 }
561
562 // Test: test-kind=api, api=InspectApiImpl::moduleIsExternal,
563 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,moduleIsExternal)564 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, moduleIsExternal)
565 {
566 helpers_nullptr::TestNullptr(g_inspectApiImp->moduleIsExternal);
567 }
568
569 // Test: test-kind=api, api=InspectApiImpl::namespaceEnumerateClasses,
570 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,namespaceEnumerateClasses)571 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, namespaceEnumerateClasses)
572 {
573 helpers_nullptr::TestNullptr(g_inspectApiImp->namespaceEnumerateClasses);
574 }
575
576 // Test: test-kind=api, api=InspectApiImpl::namespaceEnumerateNamespaces,
577 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,namespaceEnumerateNamespaces)578 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, namespaceEnumerateNamespaces)
579 {
580 helpers_nullptr::TestNullptr(g_inspectApiImp->namespaceEnumerateNamespaces);
581 }
582
583 // Test: test-kind=api, api=InspectApiImpl::namespaceEnumerateTopLevelFunctions,
584 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,namespaceEnumerateTopLevelFunctions)585 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, namespaceEnumerateTopLevelFunctions)
586 {
587 helpers_nullptr::TestNullptr(g_inspectApiImp->namespaceEnumerateTopLevelFunctions);
588 }
589
590 // Test: test-kind=api, api=InspectApiImpl::namespaceGetName,
591 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,namespaceGetName)592 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, namespaceGetName)
593 {
594 helpers_nullptr::TestNullptr(g_inspectApiImp->namespaceGetName);
595 }
596
597 // Test: test-kind=api, api=InspectApiImpl::namespaceGetParentNamespace,
598 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,namespaceGetParentNamespace)599 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, namespaceGetParentNamespace)
600 {
601 helpers_nullptr::TestNullptr(g_inspectApiImp->namespaceGetParentNamespace);
602 }
603
604 // Test: test-kind=api, api=InspectApiImpl::typeGetReferenceClass,
605 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,typeGetReferenceClass)606 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, typeGetReferenceClass)
607 {
608 helpers_nullptr::TestNullptr(g_inspectApiImp->typeGetReferenceClass);
609 }
610
611 // Test: test-kind=api, api=InspectApiImpl::typeGetTypeId,
612 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,typeGetTypeId)613 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, typeGetTypeId)
614 {
615 helpers_nullptr::TestNullptr(g_inspectApiImp->typeGetTypeId);
616 }
617
618 // Test: test-kind=api, api=InspectApiImpl::valueGetDouble,
619 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,valueGetDouble)620 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, valueGetDouble)
621 {
622 helpers_nullptr::TestNullptr(g_inspectApiImp->valueGetDouble);
623 }
624
625 // Test: test-kind=api, api=InspectApiImpl::valueGetFile,
626 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,valueGetFile)627 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, valueGetFile)
628 {
629 helpers_nullptr::TestNullptr(g_inspectApiImp->valueGetFile);
630 }
631
632 // Test: test-kind=api, api=InspectApiImpl::valueGetString,
633 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,valueGetString)634 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, valueGetString)
635 {
636 helpers_nullptr::TestNullptr(g_inspectApiImp->valueGetString);
637 }
638
639 // Test: test-kind=api, api=InspectApiImpl::valueGetType,
640 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,valueGetType)641 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, valueGetType)
642 {
643 helpers_nullptr::TestNullptr(g_inspectApiImp->valueGetType);
644 }
645
646 // Test: test-kind=api, api=InspectApiImpl::valueGetU1,
647 // abc-kind=NoABC, category=negative-nullptr, extension=c
TEST_F(LibAbcKitNullptrTestsInspectApiImpl0,valueGetU1)648 TEST_F(LibAbcKitNullptrTestsInspectApiImpl0, valueGetU1)
649 {
650 helpers_nullptr::TestNullptr(g_inspectApiImp->valueGetU1);
651 }
652
653 } // namespace libabckit::test
654