Home
last modified time | relevance | path

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

123

/Zephyr-Core-3.4.0/tests/subsys/pm/policy_api/src/
Dmain.c23 zassert_is_null(next); in ZTEST()
26 zassert_is_null(next); in ZTEST()
46 zassert_is_null(next); in ZTEST()
49 zassert_is_null(next); in ZTEST()
87 zassert_is_null(next); in ZTEST()
118 zassert_is_null(next); in ZTEST()
165 zassert_is_null(next); in ZTEST()
168 zassert_is_null(next); in ZTEST()
189 zassert_is_null(next); in ZTEST()
192 zassert_is_null(next); in ZTEST()
[all …]
/Zephyr-Core-3.4.0/tests/kernel/mem_heap/mheap_api_concept/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()
125 zassert_is_null(mem, "calloc operation failed"); in ZTEST()
129 zassert_is_null(mem, "calloc operation failed"); in ZTEST()
198 zassert_is_null((char *)z_thread_malloc(BLK_SIZE_MAX * 2), in ZTEST()
284 zassert_is_null(b, "second allocation succeeded?"); in ZTEST()
/Zephyr-Core-3.4.0/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()
Dtest_fifo_cancel.c42 zassert_is_null(ret, in tfifo_thread_thread()
/Zephyr-Core-3.4.0/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-Core-3.4.0/tests/bluetooth/host/ecc/bt_pub_key_get/src/
Dtest_suite_invalid_inputs.c36 zassert_is_null(pub_key, "Incorrect reference was returned"); in ZTEST()
63 zassert_is_null(pub_key, "Incorrect reference was returned"); in ZTEST()
/Zephyr-Core-3.4.0/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-Core-3.4.0/tests/kernel/mem_heap/k_heap_api/src/
Dtest_kheap_api.c39 zassert_is_null(p, "k_heap_alloc should fail but did not"); in thread_alloc_heap()
56 zassert_is_null(p, "k_heap_alloc should fail but did not"); in thread_alloc_heap_null()
60 zassert_is_null(p, "k_heap_alloc should fail but did not"); in thread_alloc_heap_null()
94 zassert_is_null(p1, "second allocation unexpectedly succeeded"); in ZTEST()
143 zassert_is_null(p, NULL); in ZTEST()
/Zephyr-Core-3.4.0/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()
474 zassert_is_null(ctx, NULL); in ZTEST()
505 zassert_is_null(peek_ctx, NULL); in ZTEST()
508 zassert_is_null(dequeue_ctx, NULL); in ZTEST()
521 zassert_is_null(peek_ctx, NULL); in ZTEST()
524 zassert_is_null(dequeue_ctx, NULL); in ZTEST()
539 zassert_is_null(peek_ctx, NULL); in ZTEST()
542 zassert_is_null(dequeue_ctx, NULL); in ZTEST()
[all …]
/Zephyr-Core-3.4.0/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-Core-3.4.0/tests/bluetooth/host/ecc/bt_pub_key_gen/src/
Dtest_suite_invalid_inputs.c148 zassert_is_null(key, "'%s()' was called with incorrect '%s' value", func_name, "key"); in bt_pub_key_gen_null_key_callback()
191 zassert_is_null(pub_key_cb_slist->head, "Incorrect value was set to list head"); in ZTEST()
192 zassert_is_null(pub_key_cb_slist->tail, "Incorrect value was set to list tail"); in ZTEST()
/Zephyr-Core-3.4.0/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()
150 zassert_is_null(obj, "obj is still there"); in test_cb()
174 zassert_is_null(obj, "obj is still there"); in ZTEST()
/Zephyr-Core-3.4.0/tests/subsys/rtio/rtio_api/src/
Dtest_rtio_mpsc.c41 zassert_is_null(next, "Next should be null"); in ZTEST()
44 zassert_is_null(node, "Pop on empty queue should return null"); in ZTEST()
52 zassert_is_null(next, NULL, "push_pop_node next should point at null"); in ZTEST()
69 zassert_is_null(node, "Pop on empty queue should return null"); in ZTEST()
Dtest_rtio_spsc.c33 zassert_is_null(acq2, "Acquire should fail"); in ZTEST()
37 zassert_is_null(cons, "Consume should fail"); in ZTEST()
54 zassert_is_null(cons3, "Consume should fail"); in ZTEST()
59 zassert_is_null(acq3, "Acquire should not succeed"); in ZTEST()
/Zephyr-Core-3.4.0/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-Core-3.4.0/tests/net/socket/getaddrinfo/src/
Dmain.c275 zassert_is_null(res, "ai_addr is not NULL"); in ZTEST()
295 zassert_is_null(res->ai_next, ""); in ZTEST()
304 zassert_is_null(res->ai_next, ""); in ZTEST()
314 zassert_is_null(res->ai_next, ""); in ZTEST()
345 zassert_is_null(res->ai_next, ""); in ZTEST()
376 zassert_is_null(res->ai_next, ""); in ZTEST()
408 zassert_is_null(res->ai_next, ""); in ZTEST()
548 zassert_is_null(res, ""); in ZTEST()
567 zassert_is_null(res, ""); in ZTEST()
581 zassert_is_null(res, ""); in ZTEST()
[all …]
/Zephyr-Core-3.4.0/tests/net/lib/lwm2m/block_transfer/src/
Dmain.c135 zassert_is_null(msg->body_encode_buffer.data, "Complete body buffer should not be set"); in ZTEST_F()
404 zassert_is_null(ctx3); in ZTEST_F()
408 zassert_is_null(ctx2); in ZTEST_F()
417 zassert_is_null(ctx0); in ZTEST_F()
419 zassert_is_null(ctx1); in ZTEST_F()
421 zassert_is_null(ctx2); in ZTEST_F()
423 zassert_is_null(ctx3); in ZTEST_F()
425 zassert_is_null(ctx4); in ZTEST_F()
/Zephyr-Core-3.4.0/tests/boards/intel_adsp/smoke/src/
Dhostipc.c17 zassert_is_null(arg, "wrong message arg"); in ipc_message()
27 zassert_is_null(arg, "wrong done arg"); in ipc_done()
/Zephyr-Core-3.4.0/samples/subsys/testsuite/integration/src/
Dmain.c22 zassert_is_null(NULL, "NULL was not NULL"); in ZTEST()
/Zephyr-Core-3.4.0/tests/net/bridge/src/
Dmain.c279 zassert_is_null(eth_fake_data[0].sent_pkt, ""); in test_recv_before_bridging()
280 zassert_is_null(eth_fake_data[1].sent_pkt, ""); in test_recv_before_bridging()
281 zassert_is_null(eth_fake_data[2].sent_pkt, ""); in test_recv_before_bridging()
322 zassert_is_null(eth_fake_data[1].sent_pkt, ""); in test_recv_with_bridge()
333 zassert_is_null(pkt, ""); in test_recv_with_bridge()
/Zephyr-Core-3.4.0/tests/kernel/mem_heap/shared_multi_heap/src/
Dmain.c205 zassert_is_null(block, "allocated buffer too big for the region"); in ZTEST()
209 zassert_is_null(block, "0 size accepted as valid"); in ZTEST()
213 zassert_is_null(block, "wrong attribute accepted as valid"); in ZTEST()
/Zephyr-Core-3.4.0/tests/bluetooth/host/buf/bt_buf_get_rx/src/
Dmain.c61 zassert_is_null(returned_buf, in ZTEST()
101 zassert_is_null(returned_buf, in ZTEST()
145 zassert_is_null(returned_buf, in ZTEST()
/Zephyr-Core-3.4.0/tests/ztest/base/src/
Dmain_deprecated.c17 zassert_is_null(NULL, NULL); in test_assert_tests()
/Zephyr-Core-3.4.0/tests/lib/mpsc_pbuf/src/
Dmain.c136 zassert_is_null(mpsc_pbuf_claim(&buffer)); in item_put_no_overwrite()
208 zassert_is_null(mpsc_pbuf_claim(&buffer)); in item_put_saturate()
249 zassert_is_null(mpsc_pbuf_claim(&buffer)); in benchmark_item_put()
287 zassert_is_null(mpsc_pbuf_claim(&buffer)); in item_put_ext_no_overwrite()
372 zassert_is_null(mpsc_pbuf_claim(&buffer)); in item_put_ext_saturate()
419 zassert_is_null(mpsc_pbuf_claim(&buffer)); in benchmark_item_put_ext()
470 zassert_is_null(mpsc_pbuf_claim(&buffer)); in benchmark_item_put_data()
640 zassert_is_null(packet); in item_alloc_commit_saturate()
675 zassert_is_null(p); in item_alloc_preemption()
688 zassert_is_null(p); in item_alloc_preemption()
[all …]
/Zephyr-Core-3.4.0/tests/net/lib/tls_credentials/src/
Dmain.c106 zassert_is_null(key, "Should have return NULL for unknown credential"); in test_credential_internal_iterate()
141 zassert_is_null(key, "Should have return NULL after last credential"); in test_credential_internal_iterate()

123