Home
last modified time | relevance | path

Searched full:expect (Results 1 – 25 of 210) sorted by relevance

123456789

/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/subsys/mgmt/mcumgr/settings_mgmt/src/
Dmain.c158 zassert_false(access_read_got, "Did not expect read access notification"); in ZTEST()
159 zassert_false(access_write_got, "Did not expect write access notification"); in ZTEST()
160 zassert_false(access_delete_got, "Did not expect delete access notification"); in ZTEST()
161 zassert_false(access_load_got, "Did not expect load access notification"); in ZTEST()
162 zassert_false(access_save_got, "Did not expect save access notification"); in ZTEST()
164 zassert_false(access_invalid_got, "Did not expect an invalid access notification type"); in ZTEST()
165 zassert_false(event_invalid_got, "Did not expect an invalid event"); in ZTEST()
167 zassert_false(set_called, "Did not expect setting set function to be called"); in ZTEST()
168 zassert_false(get_called, "Did not expect setting get function to be called"); in ZTEST()
169 zassert_false(export_called, "Did not expect setting export function to be called"); in ZTEST()
[all …]
/Zephyr-Core-3.5.0/tests/ztest/zexpect/
Dtestcase.yaml10 testing.ztest.expect:
18 testing.ztest.expect.unit:
/Zephyr-Core-3.5.0/tests/subsys/mgmt/mcumgr/cb_notifications/src/
Dmain.c137 zassert_false(cmd_recv_got, "Did not expect received command callback\n"); in ZTEST()
138 zassert_false(cmd_status_got, "Did not expect IMG status callback\n"); in ZTEST()
139 zassert_false(cmd_done_got, "Did not expect done command callback\n"); in ZTEST()
140 zassert_false(cmd_other_got, "Did not expect other callback(s)\n"); in ZTEST()
184 zassert_false(cmd_status_got, "Did not expect IMG status callback\n"); in ZTEST()
186 zassert_false(cmd_other_got, "Did not expect other callback(s)\n"); in ZTEST()
229 zassert_false(cmd_recv_got, "Did not expect received command callback\n"); in ZTEST()
230 zassert_false(cmd_status_got, "Did not expect IMG status callback\n"); in ZTEST()
231 zassert_false(cmd_done_got, "Did not expect done command callback\n"); in ZTEST()
232 zassert_false(cmd_other_got, "Did not expect other callback(s)\n"); in ZTEST()
/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/dts/bindings/pinctrl/
Dnuvoton,npcx-scfg.yaml17 description: Number of items to expect in a SCFG ALT (Alternative controllers) specifier
23 Number of items to expect in a SCFG LV_GPIO_CTL (Low level IO controllers) specifier
/Zephyr-Core-3.5.0/dts/bindings/clock/
Dnxp,imx-anatop.yaml18 description: Number of items to expect in a clock specifier
24 description: Number of items to expect in a PLL specifier
Dclock-controller.yaml10 description: Number of items to expect in a Clock specifier
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/
Dll_irqs.h13 * LPTMR1 -> INTMUX_CH2. We expect it to be the only IRQ source for this channel
20 * radio -> INTMUX_CH3. We expect it to be the only IRQ source for this channel
/Zephyr-Core-3.5.0/tests/subsys/usb/device_next/src/
Dmain.c47 /* Not specified, expect protocol error */ in ZTEST()
51 /* TODO: Expect zero value */ in ZTEST()
56 /* TODO: Expect non-zero valid configuration value */ in ZTEST()
77 /* Not specified, expect protocol error */ in ZTEST()
79 /* Expect protocol error */ in ZTEST()
/Zephyr-Core-3.5.0/tests/net/tcp/src/
Dmain.c537 * expect SYN ACK,
540 * expect ACK,
542 * expect FIN ACK,
599 * expect SYN ACK,
602 * expect ACK,
604 * expect FIN ACK,
765 * Expect SYN
767 * expect ACK,
768 * expect DATA,
770 * expect FIN,
[all …]
/Zephyr-Core-3.5.0/tests/drivers/i2s/i2s_api/src/
Dtest_i2s_dir_both_states.c48 /* Send invalid triggers, expect failure */ in ZTEST_USER()
97 /* Send invalid triggers, expect failure */ in ZTEST_USER()
148 /* Read one data block, expect success even if RX queue is already in in ZTEST_USER()
163 /* Write one more TX data block, expect an error */ in ZTEST_USER()
167 /* Send invalid triggers, expect failure */ in ZTEST_USER()
Dtest_i2s_states.c149 /* Send invalid triggers, expect failure */ in ZTEST_USER()
209 /* Send invalid triggers, expect failure */ in ZTEST_USER()
223 /* Send invalid triggers, expect failure */ in ZTEST_USER()
279 /* Read one data block, expect success even if RX queue is already in in ZTEST_USER()
294 /* Send invalid triggers, expect failure */ in ZTEST_USER()
306 /* Write one more TX data block, expect an error */ in ZTEST_USER()
310 /* Send invalid triggers, expect failure */ in ZTEST_USER()
/Zephyr-Core-3.5.0/tests/net/conn_mgr_monitor/src/
Dmain.c178 /* Expect no events */ in cycle_ready_ifaces()
187 /* Expect connectivity gained */ in cycle_ready_ifaces()
199 /* Expect no events */ in cycle_ready_ifaces()
208 /* Expect no events */ in cycle_ready_ifaces()
217 /* Expect connectivity loss */ in cycle_ready_ifaces()
251 /* Expect no events */ in cycle_ignored_iface()
260 /* Expect no events */ in cycle_ignored_iface()
269 /* Expect connectivity gained */ in cycle_ignored_iface()
281 /* Expect no events */ in cycle_ignored_iface()
290 /* Expect no events */ in cycle_ignored_iface()
[all …]
/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/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
/Zephyr-Core-3.5.0/dts/bindings/pwm/
Dpwm-controller.yaml10 description: Number of items to expect in a pwm specifier
/Zephyr-Core-3.5.0/dts/bindings/mbox/
Dmailbox-controller.yaml10 description: Number of items to expect in a Mailbox specifier
/Zephyr-Core-3.5.0/dts/bindings/interrupt-controller/
Dinterrupt-controller.yaml14 description: Number of items to expect in an interrupt specifier
Dite,it8xxx2-wuc.yaml21 description: number of items to expect in a wakeup controller specifier
/Zephyr-Core-3.5.0/tests/kernel/sched/metairq/src/
Dmain.c93 /* Expect that low-priority thread has run to completion */ in coop_thread1()
102 /* Expect that both threads have run to completion */ in coop_thread1()
120 /* Expect that this is run first */ in coop_thread2()
138 /* Expect that this runs to completion before high-priority in coop_thread2()
/Zephyr-Core-3.5.0/dts/bindings/power/
Dambiq,pwrctrl.yaml18 description: Number of items to expect in a power configuration
/Zephyr-Core-3.5.0/dts/bindings/gpio/
Dgpio-nexus.yaml20 description: Number of items to expect in a GPIO specifier
Datmel,sam0-gpio.yaml18 description: Number of items to expect in a atmel,pins specifier
/Zephyr-Core-3.5.0/tests/kernel/events/sys_event/src/
Dmain.c79 * Test for events 0x2448 (no waiting)--expect an error in receive_existing_events()
88 * Test for events 0x2448 (with waiting)--expect an error in receive_existing_events()
97 * Test for events 0x1235 (no waiting)--expect an error in receive_existing_events()
106 * Test for events 0x1235 (no waiting)--expect an error in receive_existing_events()
115 * Test for events 0x0235. Expect 0x0234 to be returned. in receive_existing_events()
124 * Test for events 0x1234. Expect 0x1234 to be returned. in receive_existing_events()

123456789