Home
last modified time | relevance | path

Searched refs:zassert_not_null (Results 1 – 25 of 360) sorted by relevance

12345678910>>...15

/Zephyr-4.2.1/tests/net/socket/
Dsocket_helpers.h23 zassert_not_null(addr, "null net_sockaddr"); in prepare_listen_sock_udp_v4()
42 zassert_not_null(addr, "null net_sockaddr"); in prepare_listen_sock_udp_v6()
62 zassert_not_null(addr, "null addr"); in prepare_sock_udp_v4()
63 zassert_not_null(sock, "null sock"); in prepare_sock_udp_v4()
64 zassert_not_null(sockaddr, "null sockaddr"); in prepare_sock_udp_v4()
80 zassert_not_null(addr, "null addr"); in prepare_sock_udp_v6()
81 zassert_not_null(sock, "null sock"); in prepare_sock_udp_v6()
82 zassert_not_null(sockaddr, "null sockaddr"); in prepare_sock_udp_v6()
99 zassert_not_null(addr, "null addr"); in prepare_sock_tcp_v4()
100 zassert_not_null(sock, "null sock"); in prepare_sock_tcp_v4()
[all …]
/Zephyr-4.2.1/tests/bluetooth/controller/ctrl_isoal/src/
Disoal_test_common.c84 zassert_not_null(pdu_meta, ""); in isoal_test_create_unframed_pdu()
85 zassert_not_null(pdu_meta->meta, ""); in isoal_test_create_unframed_pdu()
86 zassert_not_null(pdu_meta->pdu, ""); in isoal_test_create_unframed_pdu()
159 zassert_not_null(pdu_meta, ""); in isoal_test_create_framed_pdu_base()
160 zassert_not_null(pdu_meta->meta, ""); in isoal_test_create_framed_pdu_base()
161 zassert_not_null(pdu_meta->pdu, ""); in isoal_test_create_framed_pdu_base()
187 zassert_not_null(pdu_meta, ""); in isoal_test_add_framed_pdu_single()
188 zassert_not_null(pdu_meta->meta, ""); in isoal_test_add_framed_pdu_single()
189 zassert_not_null(pdu_meta->pdu, ""); in isoal_test_add_framed_pdu_single()
205 zassert_not_null(pdu_meta, ""); in isoal_test_add_framed_pdu_start()
[all …]
/Zephyr-4.2.1/tests/bluetooth/host/keys/mocks/
Dsettings_expects.c18 zassert_not_null(bt_settings_encode_key_fake.arg0_val, in expect_single_call_bt_settings_encode_key_with_not_null_key()
22 zassert_not_null(bt_settings_encode_key_fake.arg2_val, in expect_single_call_bt_settings_encode_key_with_not_null_key()
26 zassert_not_null(bt_settings_encode_key_fake.arg4_val, in expect_single_call_bt_settings_encode_key_with_not_null_key()
37 zassert_not_null(bt_settings_encode_key_fake.arg0_val, in expect_single_call_bt_settings_encode_key_with_null_key()
41 zassert_not_null(bt_settings_encode_key_fake.arg2_val, in expect_single_call_bt_settings_encode_key_with_null_key()
/Zephyr-4.2.1/tests/net/ieee802154/custom_l2/src/
Dmain.c78 zassert_not_null(net_if_l2(iface), "No L2 found"); in ZTEST()
79 zassert_not_null(net_if_l2(iface)->send, "No send() found"); in ZTEST()
83 zassert_not_null(tx_pkt, "Failed to allocate packet"); in ZTEST()
102 zassert_not_null(net_if_l2(iface), "No L2 found"); in ZTEST()
103 zassert_not_null(net_if_l2(iface)->recv, "No recv () found"); in ZTEST()
107 zassert_not_null(rx_pkt, "Failed to allocate packet"); in ZTEST()
125 zassert_not_null(net_if_l2(iface), "No L2 found"); in ZTEST()
126 zassert_not_null(net_if_l2(iface)->enable, "No enable() found"); in ZTEST()
142 zassert_not_null(net_if_l2(iface), "No L2 found"); in ZTEST()
143 zassert_not_null(net_if_l2(iface)->get_flags, "No get_flags() found"); in ZTEST()
/Zephyr-4.2.1/tests/bluetooth/audio/mocks/src/
Diso.c51 zassert_not_null(server, "server is NULL"); in bt_iso_server_register()
52 zassert_not_null(server->accept, "server->accept is NULL"); in bt_iso_server_register()
62 zassert_not_null(server, "server is NULL"); in bt_iso_server_unregister()
117 zassert_not_null(iso_server, "iso_server is NULL"); in mock_bt_iso_accept()
124 zassert_not_null(*chan, "chan is NULL"); in mock_bt_iso_accept()
127 zassert_not_null(iso); in mock_bt_iso_accept()
164 zassert_not_null(out_big); in bt_iso_big_create()
165 zassert_not_null(param); in bt_iso_big_create()
169 zassert_not_null(big); in bt_iso_big_create()
176 zassert_not_null(bis); in bt_iso_big_create()
[all …]
/Zephyr-4.2.1/tests/kernel/mem_heap/k_heap_api/src/
Dtest_kheap_api.c31 zassert_not_null(p, "k_heap_alloc operation failed"); in tIsr_kheap_alloc_nowait()
47 zassert_not_null(p, "k_heap_alloc failed to allocate memory"); in thread_alloc_heap()
97 zassert_not_null(p0, "allocation failed"); in ZTEST()
122 zassert_not_null(p, "k_heap_alloc operation failed"); in ZTEST()
171 zassert_not_null(p, "k_heap_alloc operation failed"); in ZTEST()
178 zassert_not_null(p, "k_heap_alloc operation failed"); in ZTEST()
215 zassert_not_null(p, "k_heap_alloc operation failed"); in ZTEST()
253 zassert_not_null(p, "k_heap_alloc operation failed"); in ZTEST()
254 zassert_not_null(q, "k_heap_alloc operation failed"); in ZTEST()
292 zassert_not_null(p, "k_heap_calloc operation failed"); in ZTEST()
[all …]
/Zephyr-4.2.1/tests/net/promiscuous/src/
Dmain.c216 zassert_not_null(iface1, "Interface 1"); in test_iface_setup()
217 zassert_not_null(iface2, "Interface 2"); in test_iface_setup()
228 zassert_not_null(ifaddr, "addr1"); in test_iface_setup()
239 zassert_not_null(ifaddr, "ll_addr"); in test_iface_setup()
249 zassert_not_null(ifaddr, "addr2"); in test_iface_setup()
259 zassert_not_null(ifaddr, "addr3"); in test_iface_setup()
270 zassert_not_null(maddr, "mcast"); in test_iface_setup()
377 zassert_not_null(pkt, "pkt"); in test_verify_data()
378 zassert_not_null(pkt->buffer, "pkt->buffer"); in test_verify_data()
379 zassert_not_null(pkt1, "pkt1"); in test_verify_data()
[all …]
/Zephyr-4.2.1/tests/bluetooth/audio/ccp_call_control_client/src/
Dtest_procedures.c53 zassert_not_null(fixture); in ccp_call_control_client_procedures_test_suite_setup()
76 zassert_not_null(mock_ccp_call_control_client_discover_cb_fake.arg0_history[0]); in ccp_call_control_client_procedures_test_suite_before()
79 zassert_not_null(bearers); in ccp_call_control_client_procedures_test_suite_before()
82 zassert_not_null(bearers->gtbs_bearer); in ccp_call_control_client_procedures_test_suite_before()
88 zassert_not_null(bearers->tbs_bearers); in ccp_call_control_client_procedures_test_suite_before()
90 zassert_not_null(bearers->tbs_bearers[i]); in ccp_call_control_client_procedures_test_suite_before()
125 zassert_not_null(mock_ccp_call_control_client_bearer_provider_name_cb_fake in ZTEST_F()
129 zassert_not_null(mock_ccp_call_control_client_bearer_provider_name_cb_fake in ZTEST_F()
Dmain.c54 zassert_not_null(fixture); in ccp_call_control_client_test_suite_setup()
161 zassert_not_null(mock_ccp_call_control_client_discover_cb_fake.arg0_history[0]); in ZTEST_F()
163 zassert_not_null(mock_ccp_call_control_client_discover_cb_fake.arg2_history[0]); in ZTEST_F()
166 zassert_not_null( in ZTEST_F()
173 zassert_not_null( in ZTEST_F()
217 zassert_not_null(bearers.gtbs_bearer); in ZTEST_F()
222 zassert_not_null(bearers.tbs_bearers); in ZTEST_F()
/Zephyr-4.2.1/tests/bluetooth/audio/bap_base/src/
Dmain.c60 zassert_not_null(fixture->valid_base_data); in bap_base_test_suite_fixture_init()
70 zassert_not_null(fixture->invalid_base_data); in bap_base_test_suite_fixture_init()
83 zassert_not_null(fixture); in bap_base_test_suite_setup()
113 zassert_not_null(base); in ZTEST_F()
170 zassert_not_null(base); in ZTEST_F()
189 zassert_not_null(base); in ZTEST_F()
208 zassert_not_null(base); in ZTEST_F()
228 zassert_not_null(base); in ZTEST_F()
250 zassert_not_null(base); in ZTEST_F()
272 zassert_not_null(base); in ZTEST_F()
[all …]
/Zephyr-4.2.1/tests/subsys/llext/src/
Dthreads_kernel_objects_ext.c40 zassert_not_null(console_dev); in test_thread()
54 zassert_not_null(&my_sem); in test_entry()
58 zassert_not_null(&my_thread); in test_entry()
59 zassert_not_null(&my_thread_stack); in test_entry()
/Zephyr-4.2.1/tests/net/ip-addr/src/
Dmain.c298 zassert_not_null(ifaddr1, "IPv6 interface address add failed"); in ZTEST()
334 zassert_not_null(ifmaddr1, "IPv6 multicast address add failed"); in ZTEST()
348 zassert_not_null(ifaddr2, "IPv6 ll address autoconf add failed"); in ZTEST()
367 zassert_not_null(ifaddr1, "IPv6 global address autoconf add failed"); in ZTEST()
378 zassert_not_null(out, in ZTEST()
394 zassert_not_null(out, "IPv6 src any addr selection failed, " in ZTEST()
410 zassert_not_null(out, "IPv6 src ll addr selection failed, " in ZTEST()
433 zassert_not_null(prefix, "IPv6 ula prefix add failed"); in ZTEST()
436 zassert_not_null(prefix, "IPv6 ula prefix add failed"); in ZTEST()
440 zassert_not_null(ifaddr_ula, "IPv6 ula address add failed"); in ZTEST()
[all …]
/Zephyr-4.2.1/scripts/tests/twister_blackbox/test_data/tests/params/dummy/src/
Dmain.c23 zassert_not_null("foo", "\"foo\" was NULL"); in ZTEST()
32 zassert_not_null("foo", "\"foo\" was NULL"); in ZTEST()
41 zassert_not_null("foo", "\"foo\" was NULL"); in ZTEST()
/Zephyr-4.2.1/tests/bluetooth/audio/cap_initiator/src/
Dtest_common.c59 zassert_not_null(cap_stream); in test_unicast_set_state()
60 zassert_not_null(conn); in test_unicast_set_state()
61 zassert_not_null(ep); in test_unicast_set_state()
62 zassert_not_null(preset); in test_unicast_set_state()
/Zephyr-4.2.1/tests/net/ptp/clock/src/
Dmain.c362 zassert_not_null(iface1, "Interface 1\n"); in test_address_setup()
363 zassert_not_null(iface2, "Interface 2\n"); in test_address_setup()
364 zassert_not_null(iface3, "Interface 3\n"); in test_address_setup()
371 zassert_not_null(ifaddr, "addr1\n"); in test_address_setup()
382 zassert_not_null(ifaddr, "ll_addr\n"); in test_address_setup()
392 zassert_not_null(ifaddr, "addr2\n"); in test_address_setup()
402 zassert_not_null(ifaddr, "addr3\n"); in test_address_setup()
420 zassert_not_null(clk, "Clock not found for interface %p\n", in test_ptp_clock_interfaces()
425 zassert_not_null(clk, "Clock not found for interface %p\n", in test_ptp_clock_interfaces()
433 zassert_not_null(clk_by_index, in test_ptp_clock_interfaces()
[all …]
/Zephyr-4.2.1/tests/bluetooth/controller/ctrl_tx_buffer_alloc/src/
Dmain.c82 zassert_not_null(tx[tx_alloc_idx], NULL); in ZTEST()
92 zassert_not_null(tx[tx_alloc_idx], NULL); in ZTEST()
104 zassert_not_null(tx[tx_alloc_idx], NULL); in ZTEST()
132 zassert_not_null(tx[tx_alloc_idx], NULL); in ZTEST()
155 zassert_not_null(ctxs[2]->wait_node.next, NULL); in ZTEST()
158 zassert_not_null(tx[tx_alloc_idx], NULL); in ZTEST()
169 zassert_not_null(tx[tx_alloc_idx], NULL); in ZTEST()
181 zassert_not_null(tx[tx_alloc_idx], NULL); in ZTEST()
/Zephyr-4.2.1/tests/lib/cmsis_dsp/filtering/src/
Dbiquad_f16.c36 zassert_not_null(state, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
40 zassert_not_null(coeff_mod, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
45 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
94 zassert_not_null(state, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
97 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
148 zassert_not_null(state, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
152 zassert_not_null(coeff_mod, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
156 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
212 zassert_not_null(state, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
215 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
[all …]
Dbiquad_f32.c35 zassert_not_null(state, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
39 zassert_not_null(coeff_mod, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
44 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
92 zassert_not_null(state, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
95 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
145 zassert_not_null(state, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
149 zassert_not_null(coeff_mod, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
153 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
208 zassert_not_null(state, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
211 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
[all …]
/Zephyr-4.2.1/tests/subsys/mem_mgmt/mem_attr_heap/src/
Dmain.c41 zassert_not_null(block, "Failed to allocate memory"); in ZTEST()
55 zassert_not_null(block, "Failed to allocate memory"); in ZTEST()
69 zassert_not_null(block, "Failed to allocate memory"); in ZTEST()
83 zassert_not_null(block, "Failed to allocate memory"); in ZTEST()
104 zassert_not_null(block, "Failed to allocate memory"); in ZTEST()
/Zephyr-4.2.1/tests/benchmarks/cmsis_dsp/basicmath/src/
Dq15.c93 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
118 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
143 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
168 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
193 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
218 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
243 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
Dq31.c157 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
182 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
207 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
232 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
257 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
282 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
307 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
Dq7.c93 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
118 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
143 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
168 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
193 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
218 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
243 zassert_not_null(output, "output buffer allocation failed"); in ZTEST()
/Zephyr-4.2.1/tests/bluetooth/audio/cap_commander/uut/
Dbap_broadcast_assistant.c67 zassert_not_null(conn, "conn is NULL"); in inst_by_conn()
120 zassert_not_null(conn, "conn is NULL"); in bt_bap_broadcast_assistant_add_src()
121 zassert_not_null(param, "param is NULL"); in bt_bap_broadcast_assistant_add_src()
124 zassert_not_null(inst, "inst is NULL"); in bt_bap_broadcast_assistant_add_src()
162 zassert_not_null(conn, "conn is NULL"); in bt_bap_broadcast_assistant_mod_src()
163 zassert_not_null(param, "param is NULL"); in bt_bap_broadcast_assistant_mod_src()
166 zassert_not_null(inst, "inst is NULL"); in bt_bap_broadcast_assistant_mod_src()
196 zassert_not_null(conn, "conn is NULL"); in bt_bap_broadcast_assistant_rem_src()
221 zassert_not_null(conn, "conn is NULL"); in bt_bap_broadcast_assistant_set_broadcast_code()
/Zephyr-4.2.1/tests/net/route/src/
Dmain.c251 zassert_not_null(my_iface, in test_init()
254 zassert_not_null(peer_iface, in test_init()
259 zassert_not_null(ifaddr, in test_init()
267 zassert_not_null(ifaddr, in test_init()
275 zassert_not_null(maddr, in test_init()
353 zassert_not_null(nbr, "Cannot add peer to neighbor cache"); in test_populate_nbr_cache()
362 zassert_not_null(nbr, "Cannot add peer to neighbor cache"); in test_populate_nbr_cache()
383 zassert_not_null(route_entry, "Route add failed"); in test_route_add()
425 zassert_not_null(nexthop, "Route get nexthop failed"); in test_route_get_nexthop()
436 zassert_not_null(entry, in test_route_lookup_ok()
[all …]
/Zephyr-4.2.1/tests/drivers/eeprom/shell/src/
Dmain.c67 zassert_not_null(fake_eeprom_write_fake.arg2_val); in ZTEST()
74 zassert_not_null(fake_eeprom_read_fake.arg2_val); in ZTEST()
93 zassert_not_null(fake_eeprom_write_fake.arg2_val); in ZTEST()
100 zassert_not_null(fake_eeprom_read_fake.arg2_val); in ZTEST()
120 zassert_not_null(fake_eeprom_read_fake.arg2_history[0]); in ZTEST()
126 zassert_not_null(fake_eeprom_read_fake.arg2_history[1]); in ZTEST()
162 zassert_not_null(fake_eeprom_write_fake.arg2_val); in ZTEST()
169 zassert_not_null(fake_eeprom_read_fake.arg2_val); in ZTEST()

12345678910>>...15