Home
last modified time | relevance | path

Searched refs:zassert_is_null (Results 1 – 25 of 102) sorted by relevance

12345

/Zephyr-latest/tests/lib/multi_heap/src/
Dtest_mheap_api.c48 zassert_is_null(ptr, "bytes allocation failed from system pool"); in thread_entry()
86 zassert_is_null(block_fail, NULL); in ZTEST()
101 zassert_is_null(block_fail, NULL); in ZTEST()
116 zassert_is_null(block2); in ZTEST()
132 zassert_is_null(block2); in ZTEST()
148 zassert_is_null(block2); in ZTEST()
162 zassert_is_null(block1); in ZTEST()
186 zassert_is_null(mem, "calloc operation failed"); in ZTEST()
190 zassert_is_null(mem, "calloc operation failed"); in ZTEST()
259 zassert_is_null((char *)z_thread_malloc(BLK_SIZE_MAX * 2), in ZTEST()
[all …]
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/params/dummy/src/
Dmain.c22 zassert_is_null(NULL, "NULL was not NULL"); in ZTEST()
31 zassert_is_null(NULL, "NULL was not NULL"); in ZTEST()
40 zassert_is_null(NULL, "NULL was not NULL"); in ZTEST()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/smp_client/src/
Dmain.c44 zassert_is_null(buf[i], "Buffer was not Null"); in ZTEST()
71 zassert_is_null(res_buf, "NULL pointer was not returned"); in ZTEST()
95 zassert_is_null(res_buf, "NULL pointer was not returned"); in ZTEST()
96 zassert_is_null(response_ptr, "NULL pointer was not returned"); in ZTEST()
105 zassert_is_null(res_buf, "NULL pointer was not returned"); in ZTEST()
106 zassert_is_null(response_ptr, "NULL pointer was not returned"); in ZTEST()
/Zephyr-latest/tests/kernel/fifo/fifo_api/src/
Dtest_fifo_fail.c28 zassert_is_null(k_fifo_get(&fifo, K_NO_WAIT), NULL); in ZTEST()
29 zassert_is_null(k_fifo_get(&fifo, TIMEOUT), NULL); in ZTEST()
/Zephyr-latest/tests/subsys/pm/policy_api/src/
Dmain.c37 zassert_is_null(next); in ZTEST()
40 zassert_is_null(next); in ZTEST()
60 zassert_is_null(next); in ZTEST()
63 zassert_is_null(next); in ZTEST()
101 zassert_is_null(next); in ZTEST()
132 zassert_is_null(next); in ZTEST()
179 zassert_is_null(next); in ZTEST()
182 zassert_is_null(next); in ZTEST()
203 zassert_is_null(next); in ZTEST()
206 zassert_is_null(next); in ZTEST()
/Zephyr-latest/tests/kernel/lifo/lifo_api/src/
Dtest_lifo_fail.c29 zassert_is_null(k_lifo_get(&lifo, K_NO_WAIT), NULL); in ZTEST()
30 zassert_is_null(k_lifo_get(&lifo, TIMEOUT), NULL); in ZTEST()
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/dummy/agnostic/group2/src/
Dmain.c24 zassert_is_null(NULL, "NULL was not NULL"); in ZTEST()
34 zassert_is_null(NULL, "NULL was not NULL"); in ZTEST()
Dsubmain.c20 zassert_is_null(NULL, "NULL was not NULL"); in ZTEST()
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/dummy/agnostic_cpp/group2/src/
Dmain.cpp27 zassert_is_null(NULL, "NULL was not NULL"); in ZTEST()
37 zassert_is_null(NULL, "NULL was not NULL"); in ZTEST()
Dsubmain.cpp22 zassert_is_null(NULL, "NULL was not NULL"); in ZTEST()
/Zephyr-latest/tests/subsys/logging/log_switch_format/src/
Dmain.c59 zassert_is_null(backend, "Unexpected failure in switching log format"); in test_log_switch_format_success_case()
68 zassert_is_null(backend, "Unexpected failure in switching log format"); in test_log_switch_format_success_case()
77 zassert_is_null(backend, "Unexpected failure in switching log format"); in test_log_switch_format_success_case()
94 zassert_is_null(backend, "Backend unexpectedly found"); in test_log_switch_format_set()
123 zassert_is_null(backend, "Not all active backends have switched logging formats"); in test_log_switch_format_set_all_active_backends()
/Zephyr-latest/tests/bluetooth/controller/ctrl_api/src/
Dmain.c344 zassert_is_null(llcp_lr_peek_proc(&conn, PROC_CIS_CREATE), "CTX is not null"); in ZTEST()
352 zassert_is_null(llcp_lr_peek_proc(&conn, PROC_CIS_TERMINATE), "CTX is not null"); in ZTEST()
380 zassert_is_null(ctx2, NULL); in ZTEST()
473 zassert_is_null(ctx, NULL); in ZTEST()
504 zassert_is_null(peek_ctx, NULL); in ZTEST()
507 zassert_is_null(dequeue_ctx, NULL); in ZTEST()
520 zassert_is_null(peek_ctx, NULL); in ZTEST()
523 zassert_is_null(dequeue_ctx, NULL); in ZTEST()
538 zassert_is_null(peek_ctx, NULL); in ZTEST()
541 zassert_is_null(dequeue_ctx, NULL); in ZTEST()
[all …]
/Zephyr-latest/tests/kernel/mem_heap/k_heap_api/src/
Dtest_kheap_api.c41 zassert_is_null(p, "k_heap_alloc should fail but did not"); in thread_alloc_heap()
58 zassert_is_null(p, "k_heap_alloc should fail but did not"); in thread_alloc_heap_null()
62 zassert_is_null(p, "k_heap_alloc should fail but did not"); in thread_alloc_heap_null()
96 zassert_is_null(p1, "second allocation unexpectedly succeeded"); in ZTEST()
145 zassert_is_null(p, NULL); in ZTEST()
/Zephyr-latest/tests/lib/mem_alloc/src/
Dmain.c66 zassert_is_null((iptr), "malloc failed, errno: %d", errno); in _test_no_mem_malloc()
82 zassert_is_null(reloc_ptr, "realloc failed, errno: %d", errno); in _test_no_mem_realloc()
270 zassert_is_null((cptr), "calloc failed, errno: %d", errno); in _test_calloc()
274 zassert_is_null((cptr), "calloc failed, errno: %d", errno); in _test_calloc()
297 zassert_is_null((ptr), "reallocarray failed, errno: %d", errno); in ZTEST()
298 zassert_is_null((cptr), "reallocarray failed, errno: %d"); in ZTEST()
369 zassert_is_null(ptr, "malloc passed unexpectedly"); in _test_memalloc_max()
/Zephyr-latest/tests/lib/fdtable/src/
Dmain.c45 zassert_is_null(obj, "obj is not NULL"); in ZTEST()
62 zassert_is_null(obj, "obj not is NULL"); in ZTEST()
153 zassert_is_null(obj, "obj is still there"); in test_cb()
177 zassert_is_null(obj, "obj is still there"); in ZTEST()
/Zephyr-latest/tests/subsys/zbus/channel_id/src/
Dmain.c40 zassert_is_null(zbus_chan_from_id(0x1000000)); in ZTEST()
41 zassert_is_null(zbus_chan_from_id(ZBUS_CHAN_ID_INVALID)); in ZTEST()
/Zephyr-latest/tests/subsys/settings/functional/src/
Dsettings_basic_test.c92 zassert_is_null(next1, "_steq comparison next error"); in ZTEST()
95 zassert_is_null(next2, "_steq comparison next error"); in ZTEST()
110 zassert_is_null(next1, "_steq comparison next error"); in ZTEST()
113 zassert_is_null(next2, "_steq comparison next error"); in ZTEST()
118 zassert_is_null(next1, "_steq comparison next error"); in ZTEST()
121 zassert_is_null(next2, "_steq comparison next error"); in ZTEST()
162 zassert_is_null(next1, "_next wrong next"); in ZTEST()
165 zassert_is_null(next2, "_next wrong next"); in ZTEST()
412 zassert_is_null(key, "Unexpected key: %s", key); in direct_loader()
515 zassert_is_null(next, NULL); in filtered_loader()
/Zephyr-latest/tests/net/socket/getaddrinfo/src/
Dmain.c279 zassert_is_null(res, "ai_addr is not NULL"); in ZTEST()
299 zassert_is_null(res->ai_next, ""); in ZTEST()
308 zassert_is_null(res->ai_next, ""); in ZTEST()
318 zassert_is_null(res->ai_next, ""); in ZTEST()
349 zassert_is_null(res->ai_next, ""); in ZTEST()
380 zassert_is_null(res->ai_next, ""); in ZTEST()
412 zassert_is_null(res->ai_next, ""); in ZTEST()
552 zassert_is_null(res, ""); in ZTEST()
571 zassert_is_null(res, ""); in ZTEST()
585 zassert_is_null(res, ""); in ZTEST()
[all …]
/Zephyr-latest/tests/net/lib/lwm2m/block_transfer/src/
Dmain.c136 zassert_is_null(msg->body_encode_buffer.data, "Complete body buffer should not be set"); in ZTEST_F()
405 zassert_is_null(ctx3); in ZTEST_F()
409 zassert_is_null(ctx2); in ZTEST_F()
418 zassert_is_null(ctx0); in ZTEST_F()
420 zassert_is_null(ctx1); in ZTEST_F()
422 zassert_is_null(ctx2); in ZTEST_F()
424 zassert_is_null(ctx3); in ZTEST_F()
426 zassert_is_null(ctx4); in ZTEST_F()
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/dummy/agnostic/group1/subgroup1/src/
Dmain.c22 zassert_is_null(NULL, "NULL was not NULL"); in ZTEST()
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/dummy/agnostic/group1/subgroup2/src/
Dmain.c22 zassert_is_null(NULL, "NULL was not NULL"); in ZTEST()
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/dummy/agnostic_cpp/group1/subgroup1/src/
Dmain.cpp24 zassert_is_null(NULL, "NULL was not NULL"); in ZTEST()
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/dummy/agnostic_cpp/group1/subgroup2/src/
Dmain.cpp23 zassert_is_null(NULL, "NULL was not NULL"); in ZTEST()
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/dummy/device/group/src/
Dmain.c22 zassert_is_null(NULL, "NULL was not NULL"); in ZTEST()
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/no_filter/dummy/src/
Dmain.c22 zassert_is_null(NULL, "NULL was not NULL"); in ZTEST()

12345