Lines Matching refs:chan2

26 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()
114 zassert_equal(0, zbus_chan_add_obs(&chan2, &lis6, K_MSEC(200)), "It must add the obs"); in ZTEST()
124 zassert_equal(-ENOMEM, zbus_chan_add_obs(&chan2, &lis7, K_MSEC(200)), NULL); in ZTEST()
125 zassert_equal(0, zbus_chan_pub(&chan2, &sd, K_MSEC(500)), NULL); in ZTEST()
130 zassert_equal(-ENOMSG, zbus_chan_pub(&chan2, &sd, K_MSEC(500)), NULL); in ZTEST()
133 zassert_equal(0, zbus_chan_rm_obs(&chan2, &sub1, K_MSEC(200)), NULL); in ZTEST()
134 zassert_equal(0, zbus_chan_rm_obs(&chan2, &sub2, K_MSEC(200)), NULL); in ZTEST()
145 zassert_equal(-EAGAIN, zbus_chan_add_obs(&chan2, &sub1, K_MSEC(200)), NULL); in wq_dh_cb()
146 zassert_equal(-EAGAIN, zbus_chan_rm_obs(&chan2, &sub2, K_MSEC(200)), NULL); in wq_dh_cb()
151 zassert_equal(0, zbus_chan_claim(&chan2, K_NO_WAIT), NULL); in ZTEST()
157 zassert_equal(0, zbus_chan_finish(&chan2), NULL); in ZTEST()