Home
last modified time | relevance | path

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

12345

/Zephyr-4.3.0/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-4.3.0/tests/bluetooth/audio/pacs/src/
Dmain.c81 zassert_is_null(attr, "[%zu]: Found unexpected sink PAC", i); in ZTEST()
89 zassert_is_null(attr, "[%zu]: Found unexpected sink loc", i); in ZTEST()
97 zassert_is_null(attr, "[%zu]: Found unexpected source PAC", i); in ZTEST()
105 zassert_is_null(attr, "[%zu]: Found unexpected source loc", i); in ZTEST()
113 zassert_is_null(attr, "[%zu]: Unexpected find of sink PAC", i); in ZTEST()
116 zassert_is_null(attr, "[%zu]: Unexpected find of sink loc", i); in ZTEST()
119 zassert_is_null(attr, "[%zu]: Unexpected find of source PAC", i); in ZTEST()
122 zassert_is_null(attr, "[%zu]: Unexpected find of source loc", i); in ZTEST()
/Zephyr-4.3.0/tests/subsys/mgmt/mcumgr/smp_client/src/
Dmain.c42 zassert_is_null(buf[i], "Buffer was not Null"); in ZTEST()
71 zassert_is_null(res_buf, "NULL pointer was not returned"); in ZTEST()
96 zassert_is_null(res_buf, "NULL pointer was not returned"); in ZTEST()
97 zassert_is_null(response_ptr, "NULL pointer was not returned"); in ZTEST()
106 zassert_is_null(res_buf, "NULL pointer was not returned"); in ZTEST()
107 zassert_is_null(response_ptr, "NULL pointer was not returned"); in ZTEST()
/Zephyr-4.3.0/tests/lib/multi_heap/src/
Dtest_mheap_api.c57 zassert_is_null(block_fail); in malloc_free_handler()
72 zassert_is_null(block_fail); in malloc_free_handler()
92 zassert_is_null(ptr, "bytes allocation failed from system pool"); in malloc_in_thread_handler()
109 zassert_is_null(block2); in realloc_handler()
137 zassert_is_null(block2); in realloc_handler()
153 zassert_is_null(block2); in realloc_handler()
167 zassert_is_null(block1); in realloc_handler()
246 zassert_is_null(mem, "calloc operation failed"); in ZTEST()
250 zassert_is_null(mem, "calloc operation failed"); in ZTEST()
319 zassert_is_null((char *)z_thread_malloc(K_HEAP_MEM_POOL_SIZE * 2), in ZTEST()
[all …]
/Zephyr-4.3.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()
/Zephyr-4.3.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-4.3.0/tests/drivers/sensor/mtch9010/src/
Dmain.c177 zassert_is_null(config->mode_gpio.port, in ZTEST_F()
184 zassert_is_null(config->out_gpio.port, in ZTEST_F()
191 zassert_is_null(config->lock_gpio.port, in ZTEST_F()
198 zassert_is_null(config->reset_gpio.port, in ZTEST_F()
205 zassert_is_null(config->wake_gpio.port, in ZTEST_F()
213 zassert_is_null(config->enable_uart_gpio.port, in ZTEST_F()
221 zassert_is_null(config->enable_cfg_gpio.port, in ZTEST_F()
229 zassert_is_null(config->heartbeat_gpio.port, in ZTEST_F()
/Zephyr-4.3.0/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-4.3.0/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-4.3.0/tests/kernel/mem_heap/k_heap_api/src/
Dtest_kheap_api.c43 zassert_is_null(p, "k_heap_alloc should fail but did not"); in thread_alloc_heap()
60 zassert_is_null(p, "k_heap_alloc should fail but did not"); in thread_alloc_heap_null()
64 zassert_is_null(p, "k_heap_alloc should fail but did not"); in thread_alloc_heap_null()
98 zassert_is_null(p1, "second allocation unexpectedly succeeded"); in ZTEST()
147 zassert_is_null(p, NULL); in ZTEST()
301 zassert_is_null(p, "k_heap_calloc with overflow should fail"); in ZTEST()
420 zassert_is_null(p2, "k_heap_realloc with size 0 should return NULL"); in ZTEST()
443 zassert_is_null(p2, "k_heap_realloc should fail for size larger than heap"); in ZTEST()
470 zassert_is_null(p, "k_heap_aligned_alloc with oversize should fail"); in ZTEST()
/Zephyr-4.3.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-4.3.0/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()
132 zassert_is_null(next); in ZTEST()
163 zassert_is_null(next); in ZTEST()
210 zassert_is_null(next); in ZTEST()
213 zassert_is_null(next); in ZTEST()
234 zassert_is_null(next); in ZTEST()
237 zassert_is_null(next); in ZTEST()
/Zephyr-4.3.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()
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-4.3.0/tests/lib/mem_alloc/src/
Dmain.c63 zassert_is_null((iptr), "malloc failed, errno: %d", errno); in _test_no_mem_malloc()
79 zassert_is_null(reloc_ptr, "realloc failed, errno: %d", errno); in _test_no_mem_realloc()
267 zassert_is_null((cptr), "calloc failed, errno: %d", errno); in _test_calloc()
271 zassert_is_null((cptr), "calloc failed, errno: %d", errno); in _test_calloc()
294 zassert_is_null((ptr), "reallocarray failed, errno: %d", errno); in ZTEST()
295 zassert_is_null((cptr), "reallocarray failed, errno: %d", errno); in ZTEST()
362 zassert_is_null(ptr, "malloc passed unexpectedly"); in _test_memalloc_max()
/Zephyr-4.3.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()
153 zassert_is_null(obj, "obj is still there"); in test_cb()
177 zassert_is_null(obj, "obj is still there"); in ZTEST()
/Zephyr-4.3.0/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-4.3.0/tests/subsys/nvmem/api/src/
Dmain.c55 zassert_is_null(missing_idx.dev); in ZTEST()
56 zassert_is_null(missing_name.dev); in ZTEST()
/Zephyr-4.3.0/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-4.3.0/samples/subsys/testsuite/integration/src/
Dmain.c22 zassert_is_null(NULL, "NULL was not NULL"); in ZTEST()
/Zephyr-4.3.0/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-4.3.0/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-4.3.0/scripts/tests/twister_blackbox/test_data/tests/dummy/device/group/src/
Dmain.c22 zassert_is_null(NULL, "NULL was not NULL"); in ZTEST()
/Zephyr-4.3.0/scripts/tests/twister_blackbox/test_data/tests/no_filter/dummy/src/
Dmain.c22 zassert_is_null(NULL, "NULL was not NULL"); in ZTEST()

12345