Home
last modified time | relevance | path

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

123

/Zephyr-latest/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-latest/tests/subsys/shell/shell_custom_header/src/
Dmain.c33 static const char expect[] = "[CUSTOM_PREFIX]testing 1 2 3"; in ZTEST() local
47 zassert_true(size >= sizeof(expect), "Expected size > %u, got %d", in ZTEST()
48 sizeof(expect), size); in ZTEST()
54 zassert_true(strstr(buf, expect), in ZTEST()
55 "Expected string to contain '%s', got '%s'", expect, buf); in ZTEST()
/Zephyr-latest/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-latest/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-latest/subsys/bluetooth/mesh/
Dprovisionee.c47 bt_mesh_prov_link.expect = PROV_NO_PDU; in prov_send_fail_msg()
136 bt_mesh_prov_link.expect = PROV_START; in prov_invite()
173 bt_mesh_prov_link.expect = PROV_PUB_KEY; in prov_start()
268 bt_mesh_prov_link.expect = PROV_RANDOM; in send_confirm()
280 bt_mesh_prov_link.expect = PROV_CONFIRM; in send_input_complete()
297 bt_mesh_prov_link.expect = PROV_NO_PDU; /* Wait for input */ in start_auth()
299 bt_mesh_prov_link.expect = PROV_CONFIRM; in start_auth()
417 bt_mesh_prov_link.expect = PROV_DATA; in send_random()
579 bt_mesh_prov_link.expect = PROV_NO_PDU; in prov_data()
664 bt_mesh_prov_link.expect = PROV_INVITE; in prov_link_opened()
Dprovisioner.c67 bt_mesh_prov_link.expect = PROV_NO_PDU; in prov_link_close()
99 bt_mesh_prov_link.expect = PROV_CAPABILITIES; in send_invite()
376 bt_mesh_prov_link.expect = PROV_CONFIRM; in send_confirm()
414 bt_mesh_prov_link.expect = PROV_PUB_KEY; in send_pub_key()
439 bt_mesh_prov_link.expect = PROV_INPUT_COMPLETE; in prov_dh_key_gen()
566 bt_mesh_prov_link.expect = PROV_COMPLETE; in send_prov_data()
580 bt_mesh_prov_link.expect = PROV_NO_PDU; in prov_complete()
628 bt_mesh_prov_link.expect = PROV_RANDOM; in send_random()
Dprov.c337 if ((type != PROV_FAILED && type != bt_mesh_prov_link.expect) || in prov_recv()
339 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-latest/tests/lib/devicetree/memory_region_flags/pytest/
Dtest_memory_region_flags.py26 def verify_memory_region_flags(build_dir, label, expect): argument
46 region + r"\s*" + expect +
/Zephyr-latest/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-latest/tests/cmake/config_dir/
DCMakeLists.txt10 # We expect a board config setup
/Zephyr-latest/subsys/rtio/
DKconfig.workq31 application, the more simultaneous requests you expect
/Zephyr-latest/soc/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-latest/subsys/llext/
DKconfig26 Build and expect object files as binary object type for the
33 Build and expect relocatable (partially linked) files as the
41 Build and expect shared libraries as binary object type for
/Zephyr-latest/doc/services/llext/
Dconfig.rst34 Build and expect relocatable files as binary object type for the LLEXT
40 Build and expect relocatable (partially linked) files as the binary
46 Build and expect shared libraries as binary object type for the LLEXT
/Zephyr-latest/tests/posix/common/src/
Dclock.c242 int expect; in ZTEST() member
263 zassert_equal(ret, arg->expect); in ZTEST()
/Zephyr-latest/tests/posix/eventfd/
DKconfig13 upper bound because we should expect that eventfd_read() and
/Zephyr-latest/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-latest/samples/drivers/mbox/
DREADME.rst81 You can expect a similar output as in the real HW in the invoking console.
/Zephyr-latest/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-latest/doc/services/debugging/
Dmipi_stp_decoder.rst37 Optimized version is used for ARM Cortex-M (expect for M0).
/Zephyr-latest/doc/develop/test/twister/
Dtwister_blackbox.rst42 Such a test provides us with all the outputs we typically expect of a Twister run thanks to
44 We can easily set up all flags that we expect from a Twister call via ``args`` variable [#f2]_ .
/Zephyr-latest/cmake/modules/
DFindBabbleSim.cmake60 #Many apps cmake files (in and out of tree) expect these environment variables. Lets provide them:
/Zephyr-latest/drivers/ieee802154/
DKconfig.nrf569 Some 802.15.4 L2 implementations expect that FCS length is included in

123