Home
last modified time | relevance | path

Searched refs:chan2 (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/subsys/zbus/runtime_observers_registration/src/
Dmain.c26 ZBUS_CHAN_DEFINE(chan2, /* Name */
74 zassert_equal(-EEXIST, zbus_chan_add_obs(&chan2, &lis2, K_MSEC(200)), NULL); in ZTEST()
98 zassert_equal(0, zbus_chan_pub(&chan2, &sd, K_MSEC(500)), NULL); in ZTEST()
101 zassert_equal(0, zbus_chan_add_obs(&chan2, &lis3, K_MSEC(200)), NULL); in ZTEST()
103 zassert_equal(-EALREADY, zbus_chan_add_obs(&chan2, &lis3, K_MSEC(200)), in ZTEST()
106 zassert_equal(0, zbus_chan_pub(&chan2, &sd, K_MSEC(500)), NULL); in ZTEST()
110 zassert_equal(0, zbus_chan_add_obs(&chan2, &sub1, K_MSEC(200)), NULL); in ZTEST()
111 zassert_equal(0, zbus_chan_add_obs(&chan2, &sub2, K_MSEC(200)), NULL); in ZTEST()
112 zassert_equal(0, zbus_chan_add_obs(&chan2, &lis4, K_MSEC(200)), "It must add the obs"); in ZTEST()
113 zassert_equal(0, zbus_chan_add_obs(&chan2, &lis5, K_MSEC(200)), "It must add the obs"); in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/openthread/
Dradio_test.c261 uint8_t chan2 = chan - 1; in ZTEST() local
300 frm->mChannel = chan2; in ZTEST()
312 zassert_equal(chan2, set_channel_mock_fake.arg1_val); in ZTEST()
337 frm->mChannel = --chan2; in ZTEST()
346 zassert_equal(chan2, set_channel_mock_fake.arg1_val); in ZTEST()