Home
last modified time | relevance | path

Searched refs:expect (Results 1 – 25 of 43) sorted by relevance

12

/Zephyr-Core-3.5.0/tests/ztest/zexpect/src/
Dmain.c13 ZTEST_SUITE(expect, NULL, NULL, NULL, NULL, NULL);
15 ZTEST_EXPECT_FAIL(expect, test_fail_later);
16 ZTEST(expect, test_fail_later) in ZTEST() argument
29 ZTEST(expect, test_pass_expect_true) in ZTEST() argument
34 ZTEST_EXPECT_FAIL(expect, test_fail_expect_true);
35 ZTEST(expect, test_fail_expect_true) in ZTEST() argument
40 ZTEST(expect, test_expect_false) in ZTEST() argument
45 ZTEST_EXPECT_FAIL(expect, test_fail_expect_false);
46 ZTEST(expect, test_fail_expect_false) in ZTEST() argument
51 ZTEST(expect, test_expect_ok) in ZTEST() argument
[all …]
/Zephyr-Core-3.5.0/tests/bluetooth/audio/mocks/include/
Dexpects_util.h28 const uint8_t *expect, const uint8_t *data, size_t len) in expect_data_equal() argument
31 zexpect_equal(expect[i], data[i], in expect_data_equal()
33 func_name, arg_name, i, data[i], expect[i]); in expect_data_equal()
/Zephyr-Core-3.5.0/scripts/tests/twister/
Dtest_cmakecache.py192 for expect in reversed(expected):
195 assert item[0] == expect[0]
196 assert item[1].name == expect[0]
197 assert item[1].value == expect[1]
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/
Dprov_device.c48 bt_mesh_prov_link.expect = PROV_NO_PDU; in prov_send_fail_msg()
138 bt_mesh_prov_link.expect = PROV_START; in prov_invite()
175 bt_mesh_prov_link.expect = PROV_PUB_KEY; in prov_start()
270 bt_mesh_prov_link.expect = PROV_RANDOM; in send_confirm()
282 bt_mesh_prov_link.expect = PROV_CONFIRM; in send_input_complete()
299 bt_mesh_prov_link.expect = PROV_NO_PDU; /* Wait for input */ in start_auth()
301 bt_mesh_prov_link.expect = PROV_CONFIRM; in start_auth()
412 bt_mesh_prov_link.expect = PROV_DATA; in send_random()
574 bt_mesh_prov_link.expect = PROV_NO_PDU; in prov_data()
659 bt_mesh_prov_link.expect = PROV_INVITE; in prov_link_opened()
Dprovisioner.c68 bt_mesh_prov_link.expect = PROV_NO_PDU; in prov_link_close()
100 bt_mesh_prov_link.expect = PROV_CAPABILITIES; in send_invite()
377 bt_mesh_prov_link.expect = PROV_CONFIRM; in send_confirm()
415 bt_mesh_prov_link.expect = PROV_PUB_KEY; in send_pub_key()
440 bt_mesh_prov_link.expect = PROV_INPUT_COMPLETE; in prov_dh_key_gen()
560 bt_mesh_prov_link.expect = PROV_COMPLETE; in send_prov_data()
574 bt_mesh_prov_link.expect = PROV_NO_PDU; in prov_complete()
622 bt_mesh_prov_link.expect = PROV_RANDOM; in send_random()
Dprov.c342 if ((type != PROV_FAILED && type != bt_mesh_prov_link.expect) || in prov_recv()
344 LOG_WRN("Unexpected msg 0x%02x != 0x%02x", type, bt_mesh_prov_link.expect); in prov_recv()
Dprov.h134 uint8_t expect; /* Next expected PDU */ member
/Zephyr-Core-3.5.0/subsys/testsuite/boards/unit_testing/unit_testing/
DKconfig.defconfig5 # Bluetooth unit tests expect this backend
/Zephyr-Core-3.5.0/tests/subsys/shell/shell/src/
Dmain.c322 static const char expect[] = "testing 1 2 3"; in ZTEST() local
336 zassert_true(size >= sizeof(expect), "Expected size > %u, got %d", in ZTEST()
337 sizeof(expect), size); in ZTEST()
343 zassert_true(strstr(buf, expect), in ZTEST()
344 "Expected string to contain '%s', got '%s'", expect, buf); in ZTEST()
/Zephyr-Core-3.5.0/tests/cmake/config_dir/
DCMakeLists.txt10 # We expect a board config setup
/Zephyr-Core-3.5.0/soc/arm/atmel_sam0/common/
DKconfig.samd2x35 Enable the crystal oscillator (if disabled, expect a clock signal on
49 Enable the crystal oscillator (if disabled, expect a clock signal on
DKconfig.saml2x35 Enable the crystal oscillator (if disabled, expect a clock signal on
/Zephyr-Core-3.5.0/tests/posix/eventfd/
DKconfig13 upper bound because we should expect that eventfd_read() and
/Zephyr-Core-3.5.0/tests/net/ppp/driver/src/
Dmain.c227 uint8_t *expect, size_t expect_len) in send_iface() argument
230 expecting = expect; in send_iface()
/Zephyr-Core-3.5.0/tests/lib/heap/src/
Dmain.c130 size_t expect = ROUND_UP(bytes + hdr, 8) - hdr; in testalloc() local
132 zassert_equal(blksz, expect, in testalloc()
/Zephyr-Core-3.5.0/cmake/modules/
DFindBabbleSim.cmake60 #Many apps cmake files (in and out of tree) expect these environment variables. Lets provide them:
/Zephyr-Core-3.5.0/drivers/ieee802154/
DKconfig.nrf569 Some 802.15.4 L2 implementations expect that FCS length is included in
/Zephyr-Core-3.5.0/samples/boards/nrf/mesh/onoff-app/
DREADME.rst58 would expect with an actual switch.
/Zephyr-Core-3.5.0/tests/bsim/
DREADME.md8 the variables they expect. For example, from Zephyr's root folder, you can run:
/Zephyr-Core-3.5.0/subsys/net/ip/
DKconfig.ipv4133 You can increase this value if you expect packets with more
DKconfig.ipv689 You can increase this value if you expect packets with more
/Zephyr-Core-3.5.0/tests/lib/c_lib/src/
Dmain.c1024 const char * const *toks, bool expect) in test_strtok_r_do() argument
1039 if (expect) { in test_strtok_r_do()
/Zephyr-Core-3.5.0/arch/posix/
DCMakeLists.txt86 # We expect something like
/Zephyr-Core-3.5.0/doc/hardware/emulator/
Dindex.rst45 works, we should expect the application and peripheral drivers to work on the
/Zephyr-Core-3.5.0/soc/riscv/riscv-privileged/andes_v5/ae350/
Dlinker.ld44 /* For jedec,spi-nor we expect the spi controller to memory map the flash

12