Home
last modified time | relevance | path

Searched refs:EXPECT_NULL (Results 1 – 25 of 33) sorted by relevance

12

/system/utest/util/
A Dlistnode.cpp40 EXPECT_NULL(list_peek_head(&list)); in initialize_empty_list()
41 EXPECT_NULL(list_peek_head_type(&list, list_elem_t, node)); in initialize_empty_list()
42 EXPECT_NULL(list_peek_tail(&list)); in initialize_empty_list()
43 EXPECT_NULL(list_peek_tail_type(&list, list_elem_t, node)); in initialize_empty_list()
45 EXPECT_NULL(list_remove_head(&list)); in initialize_empty_list()
46 EXPECT_NULL(list_remove_head_type(&list, list_elem_t, node)); in initialize_empty_list()
47 EXPECT_NULL(list_remove_tail(&list)); in initialize_empty_list()
50 EXPECT_NULL(list_next(&list, &list)); in initialize_empty_list()
52 EXPECT_NULL(list_next_wrap(&list, &list)); in initialize_empty_list()
54 EXPECT_NULL(list_prev(&list, &list)); in initialize_empty_list()
[all …]
/system/utest/fuzz-utils/
A Dstring-map.cpp30 EXPECT_NULL(val); in TestGetAndSet()
101 EXPECT_NULL(val); in TestEraseAndClear()
108 EXPECT_NULL(val); in TestEraseAndClear()
118 EXPECT_NULL(val); in TestEraseAndClear()
121 EXPECT_NULL(val); in TestEraseAndClear()
A Dstring-list.cpp24 EXPECT_NULL(elem); in Match()
33 EXPECT_NULL(list.first()); in TestEmpty()
34 EXPECT_NULL(list.next()); in TestEmpty()
171 EXPECT_NULL(list.next()); in TestClear()
172 EXPECT_NULL(list.first()); in TestClear()
A Dfuzzer.cpp28 EXPECT_NULL(value); in TestSetOption()
180 EXPECT_NULL(fuzzers.get("zircon_fuzzers/target2")); in TestFindZirconFuzzers()
200 EXPECT_NULL(fuzzers.get("zircon_fuzzers/target2")); in TestFindFuchsiaFuzzers()
209 EXPECT_NULL(fuzzers.get("zircon_fuzzers/target2")); in TestFindFuchsiaFuzzers()
227 EXPECT_NULL(fuzzers.get("zircon_fuzzers/target2")); in TestFindFuchsiaFuzzers()
297 EXPECT_NULL(fuzzers.get("fuchsia1_fuzzers/target1")); in TestFindFuzzers()
298 EXPECT_NULL(fuzzers.get("fuchsia1_fuzzers/target2")); in TestFindFuzzers()
299 EXPECT_NULL(fuzzers.get("fuchsia1_fuzzers/target3")); in TestFindFuzzers()
300 EXPECT_NULL(fuzzers.get("fuchsia2_fuzzers/target4")); in TestFindFuzzers()
/system/utest/fbl/
A Dstring_piece_tests.cpp19 EXPECT_NULL(empty.data()); in empty_string_test()
25 EXPECT_NULL(empty.begin()); in empty_string_test()
26 EXPECT_NULL(empty.end()); in empty_string_test()
27 EXPECT_NULL(empty.cbegin()); in empty_string_test()
28 EXPECT_NULL(empty.cend()); in empty_string_test()
113 EXPECT_NULL(str.data()); in copy_move_and_assignment_test()
126 EXPECT_NULL(str.data()); in set_clear_test()
134 EXPECT_NULL(str.data()); in set_clear_test()
142 EXPECT_NULL(str.data()); in set_clear_test()
265 EXPECT_NULL(p.data()); in conversion_from_string_like_object()
[all …]
A Dunique_ptr_tests.cpp71 EXPECT_NULL(ptr, "expected ptr to be null"); in uptr_test_move()
223 EXPECT_NULL(ptr, "expected ptr to be null"); in uptr_test_array_move()
433 EXPECT_NULL(derived_ptr); in test_upcast()
445 EXPECT_NULL(derived_ptr); in test_upcast()
465 EXPECT_NULL(derived_ptr); in test_upcast()
535 EXPECT_NULL(ptr); in uptr_upcasting()
561 EXPECT_NULL(ptr); in uptr_upcasting()
A Dref_ptr_tests.cpp348 EXPECT_NULL(derived_ptr); in do_test()
392 EXPECT_NULL(derived_ptr); in do_test()
438 EXPECT_NULL(derived_ptr); in do_test()
495 EXPECT_NULL(derived_ptr); in do_test()
552 EXPECT_NULL(ptr); in ref_ptr_upcast_test()
568 EXPECT_NULL(ptr); in ref_ptr_adopt_null_test()
628 EXPECT_NULL(ptr2); in ref_ptr_move_assign()
A Dunique_free_ptr_tests.cpp26 EXPECT_NULL(ptr, "expected ptr to be null"); in ufptr_test_move()
/system/utest/fidl/
A Ddecoding_tests.cpp155 EXPECT_NULL(error, error); in decode_single_present_handle()
233 EXPECT_NULL(error, error); in decode_multiple_present_handles()
255 EXPECT_NULL(error, error); in decode_single_absent_handle()
274 EXPECT_NULL(error, error); in decode_multiple_absent_handles()
306 EXPECT_NULL(error, error); in decode_array_of_present_handles()
418 EXPECT_NULL(error, error); in decode_array_of_nullable_handles()
490 EXPECT_NULL(error, error); in decode_array_of_array_of_present_handles()
530 EXPECT_NULL(error, error); in decode_out_of_line_array()
554 EXPECT_NULL(error, error); in decode_present_nonnullable_string()
578 EXPECT_NULL(error, error); in decode_present_nullable_string()
[all …]
A Dvalidating_tests.cpp143 EXPECT_NULL(error, error); in validate_single_present_handle()
221 EXPECT_NULL(error, error); in validate_multiple_present_handles()
243 EXPECT_NULL(error, error); in validate_single_absent_handle()
262 EXPECT_NULL(error, error); in validate_multiple_absent_handles()
294 EXPECT_NULL(error, error); in validate_array_of_present_handles()
350 EXPECT_NULL(error, error); in validate_array_of_nullable_handles()
422 EXPECT_NULL(error, error); in validate_array_of_array_of_present_handles()
462 EXPECT_NULL(error, error); in validate_out_of_line_array()
479 EXPECT_NULL(error, error); in validate_present_nonnullable_string()
496 EXPECT_NULL(error, error); in validate_present_nullable_string()
[all …]
A Dencoding_tests.cpp175 EXPECT_NULL(error, error); in encode_single_present_handle()
229 EXPECT_NULL(error, error); in encode_multiple_present_handles()
256 EXPECT_NULL(error, error); in encode_single_absent_handle()
277 EXPECT_NULL(error, error); in encode_multiple_absent_handles()
306 EXPECT_NULL(error, error); in encode_array_of_present_handles()
379 EXPECT_NULL(error, error); in encode_array_of_nullable_handles()
442 EXPECT_NULL(error, error); in encode_array_of_array_of_present_handles()
491 EXPECT_NULL(error, error); in encode_out_of_line_array_of_nonnullable_handles()
521 EXPECT_NULL(error, error); in encode_present_nonnullable_string()
548 EXPECT_NULL(error, error); in encode_present_nullable_string()
[all …]
A Dhandle_closing_tests.cpp82 EXPECT_NULL(error, error); in close_single_present_handle()
121 EXPECT_NULL(error, error); in close_multiple_present_handles_with_some_invalid()
176 EXPECT_NULL(error, error); in close_array_of_present_handles()
231 EXPECT_NULL(error, error); in close_out_of_line_array_of_nonnullable_handles()
313 EXPECT_NULL(error, error); in close_present_too_large_nullable_vector_of_handles()
A Dllcpp_types_tests.cpp208 EXPECT_NULL(decode_error, decode_error); in RoundTripTest()
224 EXPECT_NULL(encode_error, encode_error); in RoundTripTest()
/system/utest/async/
A Ddefault_tests.cpp17 EXPECT_NULL(async_get_default_dispatcher(), "other thread's default is initially null"); in default_test_thread()
31 EXPECT_NULL(async_get_default_dispatcher(), "default is initially null"); in get_set_default_test()
A Dreceiver_tests.cpp112 EXPECT_NULL(dispatcher.last_data); in receiver_queue_packet_test()
119 EXPECT_NULL(dispatcher.last_data); in receiver_queue_packet_test()
155 EXPECT_NULL(harness.last_data); in receiver_run_handler_test()
/system/utest/region-alloc/
A Dregion-alloc.cpp31 EXPECT_NULL(alloc.GetRegion(1)); in ralloc_region_pools_test()
32 EXPECT_NULL(alloc.GetRegion({ 0u, 1u })); in ralloc_region_pools_test()
47 EXPECT_NULL(pool); in ralloc_region_pools_test()
49 EXPECT_NULL(pool); in ralloc_region_pools_test()
110 EXPECT_NULL(pool2); in ralloc_region_pools_test()
141 EXPECT_NULL(regions[i]); in ralloc_by_size_test()
190 EXPECT_NULL(regions[i]); in ralloc_specific_test()
A Dregion-alloc-c-api.c35 EXPECT_NULL(ralloc_get_sized_region(alloc, 1u, 1u), ""); in ralloc_pools_c_api_test()
36 EXPECT_NULL(ralloc_get_specific_region(alloc, &tmp), ""); in ralloc_pools_c_api_test()
160 EXPECT_NULL(regions[i], ""); in ralloc_by_size_c_api_test()
228 EXPECT_NULL(regions[i], ""); in ralloc_specific_c_api_test()
/system/utest/trace/
A Dengine_tests.cpp137 EXPECT_NULL(context); in TestAcquireContextForCategory()
139 EXPECT_NULL(context); in TestAcquireContextForCategory()
148 EXPECT_NULL(context); in TestAcquireContextForCategory()
152 EXPECT_NULL(context); in TestAcquireContextForCategory()
154 EXPECT_NULL(context); in TestAcquireContextForCategory()
171 EXPECT_NULL(context); in TestAcquireContextForCategoryCached()
178 EXPECT_NULL(context); in TestAcquireContextForCategoryCached()
197 EXPECT_NULL(context); in TestAcquireContextForCategoryCached()
214 EXPECT_NULL(context); in TestAcquireContextForCategoryCached()
219 EXPECT_NULL(context); in TestAcquireContextForCategoryCached()
[all …]
/system/utest/crypto/
A Dsecret.cpp27 EXPECT_NULL(secret.get()); in TestAllocate()
96 EXPECT_NULL(secret.get()); in TestClear()
/system/utest/fs-vnode/
A Dvmo-file-tests.cpp128 EXPECT_NULL(redirect); in TestOpen()
131 EXPECT_NULL(redirect); in TestOpen()
133 EXPECT_NULL(redirect); in TestOpen()
135 EXPECT_NULL(redirect); in TestOpen()
144 EXPECT_NULL(redirect); in TestOpen()
147 EXPECT_NULL(redirect); in TestOpen()
150 EXPECT_NULL(redirect); in TestOpen()
152 EXPECT_NULL(redirect); in TestOpen()
A Dservice-tests.cpp35 EXPECT_NULL(redirect); in test_service()
/system/utest/vdso-variant/helper/
A Dvdso-variant-helper.c59 EXPECT_NULL(dlsym(dso, BAD_SYMBOL), BAD_SYMBOL " symbol found in vDSO"); in vdso_missing_test_syscall1_test()
/system/utest/fbl/include/fbl/tests/intrusive_containers/
A Dsequence_container_test_environment.h169 EXPECT_NULL(ns.next_, ""); in PopFront()
194 EXPECT_NULL(should_be_null, ""); in PopFront()
224 EXPECT_NULL(ns.next_, ""); in PopBack()
249 EXPECT_NULL(should_be_null, ""); in PopBack()
312 EXPECT_NULL(tmp, ""); in EraseNext()
845 EXPECT_NULL(replaced, ""); in ReplaceIfCopy()
956 EXPECT_NULL(new_obj, ""); in ReplaceIfMove()
995 EXPECT_NULL(new_obj, ""); in ReplaceIfMove()
1022 EXPECT_NULL(new_obj, ""); in ReplaceIfMove()
1147 EXPECT_NULL(new_obj, ""); in ReplaceMove()
A Dbase_test_environments.h414 EXPECT_NULL(container().erase(container().end()), ""); in IterErase()
421 EXPECT_NULL(container().erase(container().end()), ""); in IterErase()
429 EXPECT_NULL(container().erase(container().end()), ""); in IterErase()
1168 EXPECT_NULL(ptr, ""); in IterCopyPointer()
1172 EXPECT_NULL(ptr, ""); in IterCopyPointer()
1175 EXPECT_NULL(ptr, ""); in IterCopyPointer()
1184 EXPECT_NULL(ptr, ""); in IterCopyPointer()
/system/utest/vdso-base/
A Dvdso-base.c108 EXPECT_NULL(h, "dlopen_vmo on vDSO VMO succeeded"); in vdso_map_test()

Completed in 60 milliseconds

12