/Zephyr-latest/tests/net/lib/wifi_credentials_backend_psa/src/ |
D | main.c | 86 zassert_equal(idx + WIFI_CREDENTIALS_BACKEND_PSA_KEY_ID_USER_MIN, key, "Key ID mismatch"); in custom_psa_set_key_id() 91 zassert_equal(sizeof(struct wifi_credentials_personal) * 8, bits, "Key bits mismatch"); in custom_psa_set_key_bits() 96 zassert_equal(PSA_KEY_TYPE_RAW_DATA, type, "Key type mismatch"); in custom_psa_set_key_type() 101 zassert_equal(PSA_ALG_NONE, alg, "Key algorithm mismatch"); in custom_psa_set_key_algorithm() 106 zassert_equal(PSA_KEY_LIFETIME_PERSISTENT, lifetime, "Key lifetime mismatch"); in custom_psa_set_key_lifetime() 111 zassert_equal(PSA_KEY_USAGE_EXPORT, usage_flags, "Key usage flags mismatch"); in custom_psa_set_key_usage_flags() 138 "Export key call count mismatch"); in ZTEST() 140 CONFIG_WIFI_CREDENTIALS_MAX_ENTRIES, "Cache SSID call count mismatch"); in ZTEST() 149 zassert_equal_ptr(psa_import_key_fake.arg1_val, &example1, "Import key arg1 mismatch"); in ZTEST() 151 "Import key arg2 mismatch"); in ZTEST() [all …]
|
/Zephyr-latest/tests/boot/mcuboot_data_sharing/src/ |
D | main.c | 31 zassert_equal(rc, sizeof(var), "Expected data length mismatch"); in ZTEST() 32 zassert_equal(var[0], MCUBOOT_MODE_SWAP_USING_MOVE, "Expected data mismatch"); in ZTEST() 42 zassert_equal(rc, sizeof(var), "Expected data length mismatch"); in ZTEST() 43 zassert_equal(var[0], MCUBOOT_SIGNATURE_TYPE_RSA, "Expected data mismatch"); in ZTEST() 53 zassert_equal(rc, sizeof(var), "Expected data length mismatch"); in ZTEST() 54 zassert_equal(var[0], MCUBOOT_RECOVERY_MODE_NONE, "Expected data mismatch"); in ZTEST() 64 zassert_equal(rc, sizeof(var), "Expected data length mismatch"); in ZTEST() 65 zassert_equal(var[0], RUNNING_SLOT, "Expected data mismatch"); in ZTEST() 76 zassert_equal(rc, sizeof(var), "Expected data length mismatch"); in ZTEST() 79 "Expected version (major) mismatch"); in ZTEST() [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/settings_mgmt/src/ |
D | main.c | 141 zassert_equal(nb->len, TEST_RESPONSE_OK_LENGTH, "SMP response mismatch"); in ZTEST() 144 "SMP header length mismatch"); in ZTEST() 145 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST() 146 zassert_equal(header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST() 148 "SMP header group mismatch"); in ZTEST() 149 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST() 150 zassert_equal(header->nh_id, SETTINGS_MGMT_ID_COMMIT, "SMP header command ID mismatch"); in ZTEST() 151 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST() 154 "SMP data mismatch"); in ZTEST() 195 zassert_equal(nb->len, TEST_RESPONSE_ERROR_LENGTH, "SMP response mismatch"); in ZTEST() [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/img_mgmt_slot_info/src/ |
D | main.c | 243 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST() 244 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST() 246 "SMP header group mismatch"); in ZTEST() 247 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST() 248 zassert_equal(header->nh_id, IMG_MGMT_ID_SLOT_INFO, "SMP header command ID mismatch"); in ZTEST() 249 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST() 259 "Expected data mismatch"); in ZTEST() 269 zassert_equal(current_image->current_slot, 2, "Expected data mismatch"); in ZTEST() 270 zassert_true(current_image->image_received, "Expected data mismatch"); in ZTEST() 277 zassert_true(current_image->max_image_size_received, "Expected data mismatch"); in ZTEST() [all …]
|
/Zephyr-latest/tests/drivers/gpio/gpio_basic_api/src/ |
D | test_gpio_port.c | 160 "raw set mismatch"); in bits_physical() 167 "raw clear mismatch"); in bits_physical() 174 "raw set mismatch"); in bits_physical() 179 "raw_out() false mismatch"); in bits_physical() 184 "raw_out() true mismatch"); in bits_physical() 190 "set_masked_raw low mismatch"); in bits_physical() 196 "set_masked_raw high mismatch"); in bits_physical() 208 "set in clear out mismatch"); in bits_physical() 214 "set out clear in mismatch"); in bits_physical() 225 "s/c dup set mismatch"); in bits_physical() [all …]
|
/Zephyr-latest/tests/net/lib/wifi_credentials/src/ |
D | main.c | 126 zassert_equal(strncmp(PSK1, psk_buf, ARRAY_SIZE(psk_buf)), 0, "PSK mismatch"); in ZTEST() 127 zassert_equal(flags, 0, "Flags mismatch"); in ZTEST() 128 zassert_equal(channel, 0, "Channel mismatch"); in ZTEST() 129 zassert_equal(security, SECURITY1, "Security type mismatch"); in ZTEST() 158 zassert_equal(strncmp(PSK1, psk_buf, ARRAY_SIZE(psk_buf)), 0, "PSK mismatch"); in ZTEST() 159 zassert_equal(psk_len, sizeof(PSK1), "PSK length mismatch"); in ZTEST() 160 zassert_equal(strncmp(BSSID1, bssid_buf, ARRAY_SIZE(bssid_buf)), 0, "BSSID mismatch"); in ZTEST() 161 zassert_equal(flags, WIFI_CREDENTIALS_FLAG_BSSID, "Flags mismatch"); in ZTEST() 162 zassert_equal(channel, CHANNEL1, "Channel mismatch"); in ZTEST() 163 zassert_equal(security, SECURITY1, "Security type mismatch"); in ZTEST() [all …]
|
/Zephyr-latest/tests/bluetooth/controller/common/src/ |
D | helper_pdu.c | 642 PDU_MEM_EQUAL(rand, pdu->llctrl.enc_req, p, "Rand mismatch."); in helper_pdu_verify_enc_req() 643 PDU_MEM_EQUAL(ediv, pdu->llctrl.enc_req, p, "EDIV mismatch."); in helper_pdu_verify_enc_req() 644 PDU_MEM_EQUAL(skdm, pdu->llctrl.enc_req, p, "SKDm mismatch."); in helper_pdu_verify_enc_req() 645 PDU_MEM_EQUAL(ivm, pdu->llctrl.enc_req, p, "IVm mismatch."); in helper_pdu_verify_enc_req() 658 PDU_MEM_EQUAL(rand, pdu->llctrl.enc_req, p, "Rand mismatch."); in helper_pdu_ntf_verify_enc_req() 659 PDU_MEM_EQUAL(ediv, pdu->llctrl.enc_req, p, "EDIV mismatch."); in helper_pdu_ntf_verify_enc_req() 727 "Error code mismatch.\nCalled at %s:%d\n", file, line); in helper_pdu_verify_reject_ind() 744 "Reject opcode mismatch.\nCalled at %s:%d\n", file, line); in helper_pdu_verify_reject_ext_ind() 746 "Error code mismatch.\nCalled at %s:%d\n", file, line); in helper_pdu_verify_reject_ext_ind() 762 "rx phys mismatch.\nCalled at %s:%d\n", file, line); in helper_pdu_verify_phy_req() [all …]
|
/Zephyr-latest/tests/net/ipv4_fragment/src/ |
D | main.c | 210 "IPv4 header vhl mismatch"); in check_ipv4_fragment_header() 212 "IPv4 header tos mismatch"); in check_ipv4_fragment_header() 214 "IPv4 header ttl mismatch"); in check_ipv4_fragment_header() 216 "IPv4 header protocol mismatch"); in check_ipv4_fragment_header() 217 zassert_equal(*((uint16_t *)&hdr->id), pkt_id, "IPv4 header ID mismatch"); in check_ipv4_fragment_header() 219 NET_IPV4_ADDR_SIZE, "IPv4 header source IP mismatch"); in check_ipv4_fragment_header() 221 NET_IPV4_ADDR_SIZE, "IPv4 header destination IP mismatch"); in check_ipv4_fragment_header() 230 zassert_equal(pkt_flags, 0, "IPv4 header fragment flags mismatch"); in check_ipv4_fragment_header() 232 zassert_equal(pkt_flags, BIT(0), "IPv4 header fragment flags mismatch"); in check_ipv4_fragment_header() 235 zassert_equal(net_pkt_get_len(pkt), pkt_len, "IPv4 header length mismatch"); in check_ipv4_fragment_header() [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/enum_mgmt/src/ |
D | main.c | 152 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST() 153 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST() 155 "SMP header group mismatch"); in ZTEST() 156 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST() 157 zassert_equal(header->nh_id, ENUM_MGMT_ID_COUNT, "SMP header command ID mismatch"); in ZTEST() 158 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST() 167 zassert_equal(count_response, TEST_GROUPS, "Expected data mismatch"); in ZTEST() 253 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST() 254 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST() 256 "SMP header group mismatch"); in ZTEST() [all …]
|
/Zephyr-latest/tests/net/lib/wifi_credentials_backend_settings/src/ |
D | main.c | 146 0, "Buffer mismatch"); in custom_wifi_credentials_cache_ssid() 181 "settings_subsys_init call count mismatch"); in ZTEST() 183 "wifi_credentials_cache_ssid call count mismatch"); in ZTEST() 185 "First cache SSID index mismatch"); in ZTEST() 187 "Second cache SSID index mismatch"); in ZTEST() 196 "settings_save_one call count mismatch"); in ZTEST() 197 zassert_equal(strcmp(fake_settings_buf_keys[0], "wifi_cred/0"), 0, "Key mismatch"); in ZTEST() 198 zassert_equal(strcmp(fake_settings_buf[0], "abc"), 0, "Value mismatch"); in ZTEST() 199 zassert_equal(fake_settings_buf_lens[0], 3, "Length mismatch"); in ZTEST() 215 zassert_equal(memcmp(&example1, buf, ARRAY_SIZE(buf)), 0, "Entry 0 data mismatch"); in ZTEST() [all …]
|
/Zephyr-latest/tests/lib/c_lib/strerror/src/ |
D | main.c | 26 "mismatch: exp: %s act: %s", expected, actual); in ZTEST() 36 zassert_equal(0, strcmp(expected, actual), "mismatch: exp: %s act: %s", in ZTEST() 39 zassert_equal(0, strcmp(expected, actual), "mismatch: exp: %s act: %s", in ZTEST() 50 "mismatch: exp: %s act: %s", expected, actual); in ZTEST()
|
/Zephyr-latest/tests/net/net_pkt/src/ |
D | main.c | 267 zassert_true(net_pkt_get_len(pkt) == 1, "Pkt length mismatch"); in ZTEST() 273 zassert_true(net_pkt_get_len(pkt) == 3, "Pkt length mismatch"); in ZTEST() 305 zassert_true(net_pkt_get_len(pkt) == 7, "Pkt length mismatch"); in ZTEST() 314 zassert_true(net_pkt_get_len(pkt) == 16, "Pkt length mismatch"); in ZTEST() 321 zassert_true(net_pkt_get_len(pkt) == 20, "Pkt length mismatch"); in ZTEST() 334 zassert_true(net_pkt_get_len(pkt) == 40, "Pkt length mismatch"); in ZTEST() 374 zassert_true(net_pkt_get_len(pkt) == 40, "Pkt length mismatch"); in ZTEST() 381 zassert_true(net_pkt_get_len(pkt) == 40, "Pkt length mismatch"); in ZTEST() 388 zassert_true(net_pkt_get_len(pkt) == 40, "Pkt length mismatch"); in ZTEST() 554 "Pkt length mismatch"); in ZTEST() [all …]
|
/Zephyr-latest/tests/drivers/rtc/shell/src/ |
D | main.c | 79 zassert_equal(year, rtctime->tm_year + 1900, "Year mismatch"); in assert_set_time() 80 zassert_equal(mon, rtctime->tm_mon + 1, "Month mismatch"); in assert_set_time() 81 zassert_equal(mday, rtctime->tm_mday, "Day mismatch"); in assert_set_time() 82 zassert_equal(hour, rtctime->tm_hour, "Hour mismatch"); in assert_set_time() 83 zassert_equal(min, rtctime->tm_min, "Minute mismatch"); in assert_set_time() 84 zassert_equal(sec, rtctime->tm_sec, "Second mismatch"); in assert_set_time()
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_data_length_update/src/ |
D | main.c | 836 zassert_equal(conn.lll.dle.local.max_rx_time, 2120, "max_rx_time mismatch.\n"); in ZTEST() 837 zassert_equal(conn.lll.dle.local.max_tx_time, 2120, "max_tx_time mismatch.\n"); in ZTEST() 839 zassert_equal(conn.lll.dle.local.max_rx_time, 2120, "max_rx_time mismatch.\n"); in ZTEST() 840 zassert_equal(conn.lll.dle.local.max_tx_time, 2120, "max_tx_time mismatch.\n"); in ZTEST() 843 zassert_equal(conn.lll.dle.local.max_rx_time, 2120, "max_rx_time mismatch.\n"); in ZTEST() 844 zassert_equal(conn.lll.dle.local.max_tx_time, 1800, "max_tx_time mismatch.\n"); in ZTEST() 854 zassert_equal(conn.lll.dle.local.max_rx_time, 2120, "max_rx_time mismatch.\n"); in ZTEST() 855 zassert_equal(conn.lll.dle.local.max_tx_time, 2120, "max_tx_time mismatch.\n"); in ZTEST() 857 zassert_equal(conn.lll.dle.local.max_rx_time, 2120, "max_rx_time mismatch.\n"); in ZTEST() 858 zassert_equal(conn.lll.dle.local.max_tx_time, 2120, "max_tx_time mismatch.\n"); in ZTEST() [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/smp_version/src/ |
D | main.c | 150 zassert_equal(sizeof(response_old), nb->len, "Expected received data length mismatch"); in ZTEST() 151 zassert_mem_equal(response_old, nb->data, nb->len, "Expected received data mismatch"); in ZTEST() 156 "Expected response header version mismatch"); in ZTEST() 237 zassert_equal(sizeof(response_current), nb->len, "Expected received data length mismatch"); in ZTEST() 238 zassert_mem_equal(response_current, nb->data, nb->len, "Expected received data mismatch"); in ZTEST() 243 "Expected response header version mismatch"); in ZTEST() 323 zassert_equal(sizeof(response_new), nb->len, "Expected received data length mismatch"); in ZTEST() 324 zassert_mem_equal(response_new, nb->data, nb->len, "Expected received data mismatch"); in ZTEST() 329 "Expected response header version mismatch"); in ZTEST()
|
/Zephyr-latest/tests/lib/notify/src/ |
D | main.c | 67 "flags mismatch"); in ZTEST() 133 "flags mismatch"); in ZTEST() 135 "signal pointer mismatch"); in ZTEST() 200 "flags mismatch"); in ZTEST() 203 "callback mismatch"); in ZTEST()
|
/Zephyr-latest/tests/kernel/common/src/ |
D | main.c | 40 "major version mismatch"); in ZTEST() 42 "minor version mismatch"); in ZTEST()
|
/Zephyr-latest/tests/drivers/can/shell/src/ |
D | main.c | 34 zassert_equal(t1->sjw, t2->sjw, "sjw mismatch"); in assert_can_timing_equal() 35 zassert_equal(t1->prop_seg, t2->prop_seg, "prop_seg mismatch"); in assert_can_timing_equal() 36 zassert_equal(t1->phase_seg1, t2->phase_seg1, "hase_seg1 mismatch"); in assert_can_timing_equal() 37 zassert_equal(t1->phase_seg2, t2->phase_seg2, "phase_seg2 mismatch"); in assert_can_timing_equal() 38 zassert_equal(t1->prescaler, t2->prescaler, "prescaler mismatch"); in assert_can_timing_equal() 43 zassert_equal(f1->flags, f2->flags, "flags mismatch"); in assert_can_filter_equal() 44 zassert_equal(f1->id, f2->id, "id mismatch"); in assert_can_filter_equal() 45 zassert_equal(f1->mask, f2->mask, "mask mismatch"); in assert_can_filter_equal() 50 zassert_equal(f1->flags, f2->flags, "flags mismatch"); in assert_can_frame_equal() 51 zassert_equal(f1->id, f2->id, "id mismatch"); in assert_can_frame_equal() [all …]
|
/Zephyr-latest/tests/drivers/video/api/src/ |
D | video_common.c | 62 zassert_not_ok(ret, "expecting 1 above maximum width to mismatch"); in ZTEST() 68 zassert_not_ok(ret, "expecting 1 above maximum height to mismatch"); in ZTEST() 75 zassert_not_ok(ret, "expecting wrong format to mismatch"); in ZTEST() 83 zassert_not_ok(ret, "expecting wrong format to mismatch"); in ZTEST()
|
/Zephyr-latest/tests/drivers/smbus/smbus_emul/src/ |
D | smbus.c | 123 zassert_equal(snd_byte, rcv_byte, "Data mismatch"); in ZTEST() 131 zassert_equal(snd_byte, rcv_byte, "Data mismatch"); in ZTEST() 151 zassert_equal(snd_word, rcv_word, "Data mismatch"); in ZTEST() 165 zassert_equal(snd_byte << 8 | snd_byte, rcv_word, "Data mismatch"); in ZTEST() 183 zassert_equal(snd_word, BSWAP_16(rcv_word), "Data mismatch"); in ZTEST() 208 "Data mismatch"); in ZTEST() 235 "Data mismatch, not swapped"); in ZTEST()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_info/src/ |
D | build_date.c | 137 "Expected received data mismatch"); in ZTEST() 140 DATE_CHECK_RIGHT_CHARS, "Expected received data mismatch"); in ZTEST() 217 "Expected received data mismatch"); in ZTEST() 222 "Expected received data mismatch"); in ZTEST() 232 "Expected received data mismatch"); in ZTEST() 235 "Expected received data mismatch"); in ZTEST()
|
/Zephyr-latest/tests/kernel/mem_protect/sys_sem/src/ |
D | main.c | 169 "signal count mismatch Expected %d, got %d", in ZTEST() 189 "signal count mismatch Expected %d, got %d", in ZTEST_USER() 213 "signal count mismatch Expected %d, got %d", in ZTEST_USER() 236 "signal count mismatch Expected 0, got %d", in ZTEST_USER() 449 "signal count mismatch Expected %d, got %d", in ZTEST() 459 "signal count mismatch Expected %d, got %d", in ZTEST() 482 "signal count mismatch Expected %d, got %d", in ZTEST_USER() 491 "signal count mismatch Expected %d, got %d", in ZTEST_USER() 498 "signal count mismatch Expected %d, got %d", in ZTEST_USER() 551 "signal count mismatch Expected 0, got %d", in ZTEST_USER() [all …]
|
/Zephyr-latest/lib/utils/ |
D | bitarray.c | 59 * @param[out] mismatch Offset to the mismatched bit. 68 size_t *mismatch) in match_region() argument 88 goto mismatch; in match_region() 107 goto mismatch; in match_region() 120 goto mismatch; in match_region() 137 goto mismatch; in match_region() 145 mismatch: in match_region() 146 if (mismatch != NULL) { in match_region() 148 * where the mismatch is. in match_region() 155 *mismatch = (uint32_t)mismatch_bit_off; in match_region() [all …]
|
/Zephyr-latest/tests/drivers/uart/uart_elementary/ |
D | Kconfig | 12 int "UART baudrate for DUT_AUX to test mismatch case"
|
/Zephyr-latest/tests/drivers/uart/uart_elementary/src/ |
D | main.c | 153 "Set and actual UART config baudrate mismatch: %d != %d", in ZTEST() 157 "Set and actual UART config parity mismatch: %d != %d", in ZTEST() 161 "Set and actual UART config stop_bits mismatch: %d != %d", in ZTEST() 165 "Set and actual UART config data_bits mismatch: %d != %d", in ZTEST() 169 "Set and actual UART config flow_ctrl mismatch: %d != %d", in ZTEST() 317 "UART configuration mismatch error not detected"); in ZTEST()
|