/Zephyr-latest/tests/drivers/i2c/i2c_emul/src/ |
D | test_forwarding_pio.cpp | 32 zexpect_equal(0, target_read_requested_0_fake.call_count); in ZTEST() 33 zexpect_equal(0, target_read_processed_0_fake.call_count); in ZTEST() 36 zexpect_equal(expected_call_count, target_write_requested_0_fake.call_count, in ZTEST() 39 zexpect_equal(expected_call_count, target_write_received_0_fake.call_count, in ZTEST() 44 zexpect_equal(data, target_write_received_0_fake.arg1_val, in ZTEST() 49 zexpect_equal(expected_call_count, target_stop_0_fake.call_count, in ZTEST() 81 zexpect_equal(expected_call_count, target_read_requested_0_fake.call_count, in ZTEST() 84 zexpect_equal(expected_call_count, target_read_processed_0_fake.call_count, in ZTEST() 89 zexpect_equal(expected_data[0], data[0], "Expected 0x%02x, got 0x%02x", in ZTEST() 91 zexpect_equal(expected_data[1], data[1], "Expected 0x%02x, got 0x%02x", in ZTEST() [all …]
|
D | test_forwarding_buf.cpp | 37 zexpect_equal(0, target_buf_read_requested_0_fake.call_count); in ZTEST() 38 zexpect_equal(1, target_buf_write_received_0_fake.call_count); in ZTEST() 39 zexpect_equal(1, target_stop_0_fake.call_count); in ZTEST() 62 zexpect_equal(1, target_buf_read_requested_0_fake.call_count); in ZTEST() 63 zexpect_equal(0, target_buf_write_received_0_fake.call_count); in ZTEST() 64 zexpect_equal(1, target_stop_0_fake.call_count); in ZTEST() 74 zexpect_equal(1, target_buf_read_requested_0_fake.call_count); in ZTEST() 75 zexpect_equal(0, target_buf_write_received_0_fake.call_count); in ZTEST() 76 zexpect_equal(0, target_stop_0_fake.call_count); in ZTEST() 91 zexpect_equal(1, target_buf_read_requested_0_fake.call_count); in ZTEST() [all …]
|
D | test_fowarding_common.cpp | 61 zexpect_equal(0, target_read_requested_0_fake.call_count); in ZTEST() 62 zexpect_equal(0, target_read_processed_0_fake.call_count); in ZTEST() 63 zexpect_equal(0, target_write_requested_0_fake.call_count); in ZTEST() 64 zexpect_equal(0, target_write_received_0_fake.call_count); in ZTEST() 65 zexpect_equal(0, target_buf_write_received_0_fake.call_count); in ZTEST() 66 zexpect_equal(0, target_buf_read_requested_0_fake.call_count); in ZTEST() 67 zexpect_equal(0, target_stop_0_fake.call_count); in ZTEST() 76 zexpect_equal(1, target_stop_0_fake.call_count); in ZTEST()
|
/Zephyr-latest/tests/drivers/gpio/gpio_ite_it8xxx2_v2/src/ |
D | main.c | 73 zexpect_equal(pins, BIT(TEST_PIN)); in callback() 101 zexpect_equal(registers.gpotr, 0, "gpotr=%x", registers.gpotr); in ZTEST() 102 zexpect_equal(registers.p18scr, 0); in ZTEST() 103 zexpect_equal(registers.gpcr[TEST_PIN], GPCR_PORT_PIN_MODE_INPUT, "gpcr[%d]=%x", TEST_PIN, in ZTEST() 115 zexpect_equal(registers.gpotr, 0, "gpotr=%x", registers.gpotr); in ZTEST() 116 zexpect_equal(registers.p18scr, 0); in ZTEST() 117 zexpect_equal(registers.gpcr[TEST_PIN], GPCR_PORT_PIN_MODE_INPUT, "gpcr[%d]=%x", TEST_PIN, in ZTEST() 133 zexpect_equal(registers.gpotr, 0, "gpotr=%x", registers.gpotr); in ZTEST() 134 zexpect_equal(registers.p18scr, 0); in ZTEST() 135 zexpect_equal(registers.gpcr[TEST_PIN], GPCR_PORT_PIN_MODE_INPUT, "gpcr[%d]=%x", TEST_PIN, in ZTEST() [all …]
|
/Zephyr-latest/tests/posix/headers/src/ |
D | netinet_in_h.c | 24 zexpect_equal(sizeof(in_port_t), sizeof(uint16_t)); in ZTEST() 25 zexpect_equal(sizeof(in_addr_t), sizeof(uint32_t)); in ZTEST() 34 zexpect_equal(sizeof(((struct in6_addr *)NULL)->s6_addr), 16 * sizeof(uint8_t)); in ZTEST() 76 zexpect_equal(0xffffffff, INADDR_BROADCAST); in ZTEST() 78 zexpect_equal(INET_ADDRSTRLEN, 16); in ZTEST() 79 zexpect_equal(INET6_ADDRSTRLEN, 46); in ZTEST() 81 zexpect_equal(IPV6_ADD_MEMBERSHIP, IPV6_JOIN_GROUP); in ZTEST() 82 zexpect_equal(IPV6_DROP_MEMBERSHIP, IPV6_LEAVE_GROUP); in ZTEST()
|
/Zephyr-latest/tests/drivers/video/api/src/ |
D | video_emul.c | 41 zexpect_equal(fmt.pixelformat, caps.format_caps[i].pixelformat); in ZTEST() 42 zexpect_equal(fmt.width, caps.format_caps[i].width_min); in ZTEST() 43 zexpect_equal(fmt.height, caps.format_caps[i].height_min); in ZTEST() 49 zexpect_equal(fmt.pixelformat, caps.format_caps[i].pixelformat); in ZTEST() 50 zexpect_equal(fmt.width, caps.format_caps[i].width_max); in ZTEST() 51 zexpect_equal(fmt.height, caps.format_caps[i].height_min); in ZTEST() 57 zexpect_equal(fmt.pixelformat, caps.format_caps[i].pixelformat); in ZTEST() 58 zexpect_equal(fmt.width, caps.format_caps[i].width_min); in ZTEST() 59 zexpect_equal(fmt.height, caps.format_caps[i].height_max); in ZTEST() 65 zexpect_equal(fmt.pixelformat, caps.format_caps[i].pixelformat); in ZTEST() [all …]
|
/Zephyr-latest/tests/bluetooth/audio/mocks/include/ |
D | expects_util.h | 24 zexpect_equal(_expected, _actual, "'%s()' was called %u times, expected %u times", \ 31 zexpect_equal(expect[i], data[i], in expect_data_equal()
|
D | bap_stream_expects.h | 147 zexpect_equal(0, mock_bap_stream_released_cb_fake.call_count, in expect_bt_bap_stream_ops_released_not_called() 183 zexpect_equal(_reason, mock_bap_stream_stopped_cb_fake.arg1_val, \
|
/Zephyr-latest/tests/net/pmtu/src/ |
D | main.c | 802 zexpect_equal(ret, 0, "setsockopt failed (%d)", err); in ZTEST() 803 zexpect_equal(optlen, sizeof(int), "setsockopt optlen (%d)", optlen); in ZTEST() 804 zexpect_equal(optval, 4096, "setsockopt mtu (%d)", optval); in ZTEST() 809 zexpect_equal(ret, -1, "setsockopt failed (%d)", err); in ZTEST() 810 zexpect_equal(optlen, sizeof(int), "setsockopt optlen (%d)", optlen); in ZTEST() 811 zexpect_equal(optval, 0, "setsockopt mtu (%d)", optval); in ZTEST() 841 zexpect_equal(ret, 0, "getsockopt failed (%d)", err); in ZTEST() 842 zexpect_equal(optlen, sizeof(int), "getsockopt optlen (%d)", optlen); in ZTEST() 843 zexpect_equal(optval, 2048, "getsockopt mtu (%d)", optval); in ZTEST() 848 zexpect_equal(ret, 0, "setsockopt failed (%d)", err); in ZTEST() [all …]
|
/Zephyr-latest/tests/ztest/zexpect/src/ |
D | main.c | 21 zexpect_equal(val, 2); in ZTEST() 103 zexpect_equal(5, 5); in ZTEST() 109 zexpect_equal(5, 1); in ZTEST()
|
/Zephyr-latest/tests/net/socket/udp/src/ |
D | main.c | 2584 zexpect_equal(ret, 0, "setsockopt failed (%d)", errno); in ZTEST() 2585 zexpect_equal(optlen, sizeof(optval), "invalid optlen %d vs %d", in ZTEST() 2588 zexpect_equal(optval, ifindex, in ZTEST() 2603 zexpect_equal(ret, -1, "setsockopt failed (%d)", errno); in ZTEST() 2604 zexpect_equal(err, -EAFNOSUPPORT, "setsockopt failed (%d)", errno); in ZTEST() 2605 zexpect_equal(optlen, 0U, "setsockopt optlen (%d)", optlen); in ZTEST() 2619 zexpect_equal(ret, 0, "setsockopt failed (%d)", err); in ZTEST() 2620 zexpect_equal(optlen, sizeof(optval), "invalid optlen %d vs %d", in ZTEST() 2627 zexpect_equal(ret, 0, "setsockopt failed (%d)", errno); in ZTEST() 2628 zexpect_equal(optlen, sizeof(optval), "invalid optlen %d vs %d", in ZTEST() [all …]
|
/Zephyr-latest/tests/posix/net/src/ |
D | inet_addr.c | 47 zexpect_equal(ret, p->out, "inet_addr(%s) failed. expect: %d actual: %d", p->in, in ZTEST()
|
/Zephyr-latest/tests/drivers/sensor/ina237/src/ |
D | ina237_test.c | 38 zexpect_equal(0xFB68, config->adc_config, in ZTEST() 40 zexpect_equal(0x0000, config->config); in ZTEST()
|
/Zephyr-latest/tests/subsys/dsp/print_format/src/ |
D | main.c | 12 zexpect_equal(strlen(expected), strlen(actual), "Expected %d(%s), got %d(%s)", \
|
/Zephyr-latest/tests/drivers/sensor/ina230/src/ |
D | ina230_test.c | 46 zexpect_equal(expected, config->config, "0x%x != config (0x%x)", in ZTEST()
|
/Zephyr-latest/subsys/testsuite/ztest/include/zephyr/ |
D | ztest_assert.h | 656 #define zexpect_equal(a, b, ...) zexpect((a) == (b), #a " not equal to " #b, ##__VA_ARGS__) macro
|
/Zephyr-latest/tests/net/mld/src/ |
D | main.c | 657 zexpect_equal(records_count, 1, "Incorrect record count "); in expect_exclude_mcast_report()
|
/Zephyr-latest/doc/develop/test/ |
D | ztest.rst | 514 zexpect_equal(buf->ref, 2, "Invalid refcount"); 515 zexpect_equal(buf->ref, 1337, "Invalid refcount");
|
/Zephyr-latest/tests/lib/net_buf/buf/src/ |
D | main.c | 483 zexpect_equal(*clone_user_data, 0xAABBCCDD, "User data copy is invalid"); in ZTEST()
|