Home
last modified time | relevance | path

Searched refs:zassert_equal_ptr (Results 1 – 25 of 49) sorted by relevance

12

/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_tx_queue/src/
Dmain.c41 zassert_equal_ptr(node, NULL, ""); in ZTEST()
65 zassert_equal_ptr(node, &ctrl_nodes1[i], NULL); in ZTEST()
70 zassert_equal_ptr(node, NULL, ""); in ZTEST()
94 zassert_equal_ptr(node, &nodes[i], NULL); in ZTEST()
99 zassert_equal_ptr(node, NULL, ""); in ZTEST()
125 zassert_equal_ptr(node, &ctrl_nodes1[i], NULL); in ZTEST()
128 zassert_equal_ptr(node, &data_nodes1[i], NULL); in ZTEST()
133 zassert_equal_ptr(node, NULL, ""); in ZTEST()
170 zassert_equal_ptr(node, &ctrl_nodes1[i], NULL); in ZTEST()
173 zassert_equal_ptr(node, &data_nodes1[i], NULL); in ZTEST()
[all …]
/Zephyr-Core-3.4.0/tests/bluetooth/host/id/mocks/
Dsmp_expects.c35 zassert_equal_ptr(bt_smp_le_oob_set_tk_fake.arg0_val, conn, in expect_single_call_bt_smp_le_oob_set_tk()
37 zassert_equal_ptr(bt_smp_le_oob_set_tk_fake.arg1_val, tk, in expect_single_call_bt_smp_le_oob_set_tk()
50 zassert_equal_ptr(bt_smp_le_oob_set_sc_data_fake.arg0_val, conn, in expect_single_call_bt_smp_le_oob_set_sc_data()
52 zassert_equal_ptr(bt_smp_le_oob_set_sc_data_fake.arg1_val, oobd_local, in expect_single_call_bt_smp_le_oob_set_sc_data()
54 zassert_equal_ptr(bt_smp_le_oob_set_sc_data_fake.arg2_val, oobd_remote, in expect_single_call_bt_smp_le_oob_set_sc_data()
67 zassert_equal_ptr(bt_smp_le_oob_get_sc_data_fake.arg0_val, conn, in expect_single_call_bt_smp_le_oob_get_sc_data()
69 zassert_equal_ptr(bt_smp_le_oob_get_sc_data_fake.arg1_val, oobd_local, in expect_single_call_bt_smp_le_oob_get_sc_data()
71 zassert_equal_ptr(bt_smp_le_oob_get_sc_data_fake.arg2_val, oobd_remote, in expect_single_call_bt_smp_le_oob_get_sc_data()
Dconn_expects.c22 zassert_equal_ptr(bt_conn_lookup_state_le_fake.arg1_val, peer, in expect_single_call_bt_conn_lookup_state_le()
43 zassert_equal_ptr(bt_conn_unref_fake.arg0_val, conn, in expect_single_call_bt_conn_unref()
/Zephyr-Core-3.4.0/tests/bluetooth/audio/mocks/include/
Dbap_unicast_server_expects.h22 zassert_equal_ptr(_conn, mock_bap_unicast_server_cb_config_fake.arg0_val, \
27 zassert_equal_ptr(_ep, mock_bap_unicast_server_cb_config_fake.arg1_val, \
48 zassert_equal_ptr(_stream, mock_bap_unicast_server_cb_reconfig_fake.arg0_val, \
69 zassert_equal_ptr(_stream, mock_bap_unicast_server_cb_qos_fake.arg0_val, \
85 zassert_equal_ptr(_stream, mock_bap_unicast_server_cb_enable_fake.arg0_val, \
105 zassert_equal_ptr(_stream, mock_bap_unicast_server_cb_metadata_fake.arg0_val, \
125 zassert_equal_ptr(_stream, mock_bap_unicast_server_cb_disable_fake.arg0_val, \
137 zassert_equal_ptr(_stream, mock_bap_unicast_server_cb_release_fake.arg0_val, \
149 zassert_equal_ptr(_streams[0], \
154 zassert_equal_ptr(_streams[1], \
[all …]
Dgatt_expects.h25 zassert_equal_ptr(_conn, bt_gatt_attr_read_fake.arg0_val, \
30 zassert_equal_ptr(_attr, bt_gatt_attr_read_fake.arg1_val, \
35 zassert_equal_ptr(_buf, bt_gatt_attr_read_fake.arg2_val, \
66 zassert_equal_ptr(_conn, mock_bt_gatt_notify_cb_fake.arg0_val, \
80 zassert_equal_ptr(_attr, params->attr, \
/Zephyr-Core-3.4.0/tests/lib/devicetree/memory_region/src/
Dmain.c29 zassert_equal_ptr(var_in_test_sram, TEST_SRAM_ADDR, ""); in ZTEST()
31 zassert_equal_ptr(__SRAM_REGION_start, TEST_SRAM_ADDR, ""); in ZTEST()
32 zassert_equal_ptr(__SRAM_REGION_end, TEST_SRAM_ADDR + TEST_SRAM_SIZE, ""); in ZTEST()
33 zassert_equal_ptr(__SRAM_REGION_load_start, TEST_SRAM_ADDR, ""); in ZTEST()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_api/src/
Dmain.c218 zassert_equal_ptr(node, &nodes[i], NULL); in ZTEST()
223 zassert_equal_ptr(node, NULL, ""); in ZTEST()
233 zassert_equal_ptr(node, NULL, ""); in ZTEST()
242 zassert_equal_ptr(node, NULL, ""); in ZTEST()
250 zassert_equal_ptr(node, &nodes[i], NULL); in ZTEST()
255 zassert_equal_ptr(node, NULL, ""); in ZTEST()
266 zassert_equal_ptr(node, NULL, ""); in ZTEST()
275 zassert_equal_ptr(node, NULL, ""); in ZTEST()
282 zassert_equal_ptr(node, NULL, ""); in ZTEST()
290 zassert_equal_ptr(node, &nodes[i], NULL); in ZTEST()
[all …]
/Zephyr-Core-3.4.0/tests/bluetooth/host/crypto/mocks/
Dhmac_prng_expects.c18 zassert_equal_ptr(tc_hmac_prng_init_fake.arg0_val, prng, in expect_single_call_tc_hmac_prng_init()
34 zassert_equal_ptr(tc_hmac_prng_reseed_fake.arg0_val, prng, in expect_single_call_tc_hmac_prng_reseed()
55 zassert_equal_ptr(tc_hmac_prng_generate_fake.arg0_val, out, in expect_call_count_tc_hmac_prng_generate()
59 zassert_equal_ptr(tc_hmac_prng_generate_fake.arg2_val, prng, in expect_call_count_tc_hmac_prng_generate()
Daes_expects.c18 zassert_equal_ptr(tc_aes_encrypt_fake.arg0_val, out, in expect_single_call_tc_aes_encrypt()
/Zephyr-Core-3.4.0/tests/lib/fdtable/src/
Dmain.c72 zassert_equal_ptr(obj, NULL, "obj is not NULL when fd < 0"); in ZTEST()
78 zassert_equal_ptr(obj, NULL, "obj is not NULL - vtable doesn't match"); in ZTEST()
100 zassert_equal_ptr(obj, original_obj, "obj is different after finalizing"); in ZTEST()
101 zassert_equal_ptr(vtable, original_vtable, "vtable is different after finalizing"); in ZTEST()
116 zassert_equal_ptr(obj, NULL, "obj is different after allocating"); in ZTEST()
117 zassert_equal_ptr(vtable, NULL, "vtable is different after allocating"); in ZTEST()
133 zassert_equal_ptr(obj, NULL, "obj is not NULL after freeing"); in ZTEST()
/Zephyr-Core-3.4.0/tests/bluetooth/host/keys/mocks/
Dsettings_expects.c24 zassert_equal_ptr(bt_settings_encode_key_fake.arg3_val, addr, in expect_single_call_bt_settings_encode_key_with_not_null_key()
42 zassert_equal_ptr(bt_settings_encode_key_fake.arg3_val, addr, in expect_single_call_bt_settings_encode_key_with_null_key()
44 zassert_equal_ptr(bt_settings_encode_key_fake.arg4_val, NULL, in expect_single_call_bt_settings_encode_key_with_null_key()
/Zephyr-Core-3.4.0/tests/bluetooth/host/buf/mocks/
Dnet_buf_expects.c19 zassert_equal_ptr(net_buf_alloc_fixed_fake.arg0_val, pool, in expect_single_call_net_buf_alloc()
41 zassert_equal_ptr(net_buf_simple_reserve_fake.arg0_val, &buf->b, in expect_single_call_net_buf_reserve()
63 zassert_equal_ptr(net_buf_ref_fake.arg0_val, buf, in expect_single_call_net_buf_ref()
/Zephyr-Core-3.4.0/tests/subsys/openthread/
Dradio_test.c178 zassert_equal_ptr(ot, otPlatRadioEnergyScanDone_fake.arg0_val, NULL); in ZTEST()
228 zassert_equal_ptr(ot, otPlatRadioEnergyScanDone_fake.arg0_val, NULL); in ZTEST()
278 zassert_equal_ptr(radio, start_mock_fake.arg0_val, NULL); in ZTEST()
298 zassert_equal_ptr(radio, cca_mock_fake.arg0_val, NULL); in ZTEST()
302 zassert_equal_ptr(frm->mPsdu, tx_mock_fake.arg3_val->data, NULL); in ZTEST()
304 zassert_equal_ptr(ot, otPlatRadioTxDone_fake.arg0_val, NULL); in ZTEST()
326 zassert_equal_ptr(frm->mPsdu, tx_mock_fake.arg3_val->data, NULL); in ZTEST()
328 zassert_equal_ptr(ot, otPlatRadioTxDone_fake.arg0_val, NULL); in ZTEST()
376 zassert_equal_ptr(dev, radio, "Device handle incorrect."); in custom_configure_match_mock()
641 zassert_equal_ptr(radio, start_mock_fake.arg0_val, NULL); in ZTEST()
[all …]
/Zephyr-Core-3.4.0/tests/ztest/base/src/
Dmain.c22 zassert_equal_ptr(NULL, NULL, NULL); in ZTEST()
70 zassert_equal_ptr(&test_fixture, fixture, "Test fixture should be at 0x%x but was at 0x%x", in ZTEST_F()
98 zassert_equal_ptr(&rule_tests_fixture, data, in rule_before_each()
115 zassert_equal_ptr(&rule_tests_fixture, data, in rule_after_each()
Dmain_deprecated.c20 zassert_equal_ptr(NULL, NULL, NULL); in test_assert_tests()
/Zephyr-Core-3.4.0/tests/bluetooth/host/keys/bt_keys_update_usage/src/
Dmain.c73 zassert_equal_ptr(bt_keys_get_last_keys_updated(), last_keys_updated, in ZTEST()
94 zassert_equal_ptr(bt_keys_get_last_keys_updated(), last_keys_updated, in ZTEST()
133 zassert_equal_ptr( in ZTEST()
Dtest_suite_save_aging_counter.c75 zassert_equal_ptr( in ZTEST()
/Zephyr-Core-3.4.0/tests/drivers/ethernet/eth_ivshmem_queue/src/
Dmain.c58 zassert_equal_ptr(q1.tx.shmem, shmem_buff); in ZTEST()
59 zassert_equal_ptr(q1.rx.shmem, shmem_buff + SHMEM_SECTION_SIZE); in ZTEST()
60 zassert_equal_ptr(q2.tx.shmem, shmem_buff + SHMEM_SECTION_SIZE); in ZTEST()
61 zassert_equal_ptr(q2.rx.shmem, shmem_buff); in ZTEST()
/Zephyr-Core-3.4.0/samples/subsys/testsuite/integration/src/
Dmain.c25 zassert_equal_ptr(NULL, NULL, "NULL was not equal to NULL"); in ZTEST()
/Zephyr-Core-3.4.0/tests/subsys/logging/log_syst/src/
Dmain.c48 zassert_equal_ptr(test_log_output_func, log_output_msg_syst_process, in ZTEST()
58 zassert_equal_ptr(test_log_output_func, log_output_msg_process, in ZTEST()
/Zephyr-Core-3.4.0/tests/subsys/zbus/user_data/src/
Dmain.c39 zassert_equal_ptr(version_chan.user_data, NULL, NULL); in ZTEST()
41 zassert_equal_ptr(regular_chan.user_data, &my_user_data, NULL); in ZTEST()
/Zephyr-Core-3.4.0/tests/lib/gui/lvgl/src/
Dmain.c52 zassert_equal_ptr(act_screen, new_screen, "New screen not active"); in ZTEST()
61 zassert_equal_ptr(act_screen, default_screen, in ZTEST()
/Zephyr-Core-3.4.0/tests/net/checksum_offload/src/
Dmain.c144 zassert_equal_ptr(&eth_context_offloading_disabled, context, in eth_tx_offloading_disabled()
224 zassert_equal_ptr(&eth_context_offloading_enabled, context, in eth_tx_offloading_enabled()
491 zassert_equal_ptr(&eth_context_offloading_disabled, ctx, in test_tx_chksum_offload_disabled_test_v6()
542 zassert_equal_ptr(&eth_context_offloading_disabled, ctx, in test_tx_chksum_offload_disabled_test_v4()
593 zassert_equal_ptr(&eth_context_offloading_enabled, ctx, in test_tx_chksum_offload_enabled_test_v6()
644 zassert_equal_ptr(&eth_context_offloading_enabled, ctx, in test_tx_chksum_offload_enabled_test_v4()
738 zassert_equal_ptr(&eth_context_offloading_disabled, ctx, in test_rx_chksum_offload_disabled_test_v6()
794 zassert_equal_ptr(&eth_context_offloading_disabled, ctx, in test_rx_chksum_offload_disabled_test_v4()
850 zassert_equal_ptr(&eth_context_offloading_enabled, ctx, in test_rx_chksum_offload_enabled_test_v6()
904 zassert_equal_ptr(&eth_context_offloading_enabled, ctx, in test_rx_chksum_offload_enabled_test_v4()
/Zephyr-Core-3.4.0/tests/bluetooth/host/keys/bt_keys_get_addr/src/
Dmain.c112 zassert_equal_ptr(keys_pool + i, returned_ref, in ZTEST()
159 zassert_equal_ptr(returned_key, expected_key_ref, in ZTEST()
/Zephyr-Core-3.4.0/tests/net/iface/src/
Dmain.c632 zassert_equal_ptr(iface, iface1, "Invalid interface %p vs %p selected", in ZTEST()
636 zassert_equal_ptr(iface, iface1, "Invalid interface %p vs %p selected", in ZTEST()
642 zassert_equal_ptr(iface, iface1, "Invalid interface %p vs %p selected", in ZTEST()
646 zassert_equal_ptr(iface, iface2, "Invalid interface %p vs %p selected", in ZTEST()
656 zassert_equal_ptr(iface, net_if_get_default(), in ZTEST()
665 zassert_equal_ptr(iface, iface1, "Invalid interface %p vs %p selected", in ZTEST()
673 zassert_equal_ptr(iface, iface1, "Invalid interface %p vs %p selected", in ZTEST()

12