Lines Matching full:must

214 	zassert_equal(-EBUSY, zbus_chan_pub(&aux2_chan, &a, K_NO_WAIT), "It must not be invalid");  in wq_dh_cb()
216 zassert_equal(-EBUSY, zbus_chan_read(&aux2_chan, &a, K_NO_WAIT), "It must not be invalid"); in wq_dh_cb()
218 zassert_equal(-EBUSY, zbus_chan_notify(&aux2_chan, K_NO_WAIT), "It must not be invalid"); in wq_dh_cb()
220 zassert_equal(-EFAULT, zbus_chan_finish(NULL), "It must be invalid"); in wq_dh_cb()
250 zassert_equal(-EFAULT, zbus_chan_pub(NULL, &a, K_NO_WAIT), "It must be -EFAULT"); in ZTEST()
254 zassert_equal(-EFAULT, zbus_chan_pub(&aux2_chan, NULL, K_NO_WAIT), "It must be -EFAULT"); in ZTEST()
258 zassert_equal(-EFAULT, zbus_chan_read(NULL, &a, K_NO_WAIT), "It must be -EFAULT"); in ZTEST()
262 zassert_equal(-EFAULT, zbus_chan_read(&aux2_chan, NULL, K_NO_WAIT), "It must be -EFAULT"); in ZTEST()
266 zassert_equal(-EFAULT, zbus_chan_notify(NULL, K_NO_WAIT), "It must be -EFAULT"); in ZTEST()
268 zassert_equal(-EFAULT, zbus_chan_claim(NULL, K_NO_WAIT), "It must be -EFAULT"); in ZTEST()
270 zassert_equal(-EFAULT, zbus_chan_finish(NULL), "It must be -EFAULT"); in ZTEST()
280 zassert_equal(0, zbus_chan_pub(&aux2_chan, &a, K_NO_WAIT), "It must be valid"); in ZTEST()
284 zassert_equal(0, zbus_chan_read(&aux2_chan, &a, K_NO_WAIT), "It must be valid"); in ZTEST()
288 zassert_equal(0, zbus_chan_notify(&aux2_chan, K_NO_WAIT), "It must be valid"); in ZTEST()
290 zassert_equal(0, zbus_chan_claim(&aux2_chan, K_NO_WAIT), "It must be valid"); in ZTEST()
297 zassert_equal(-EBUSY, zbus_chan_pub(&aux2_chan, &a, K_NO_WAIT), "It must not be valid"); in ZTEST()
299 zassert_equal(-EBUSY, zbus_chan_read(&aux2_chan, &a, K_NO_WAIT), "It must not be valid"); in ZTEST()
301 zassert_equal(-EBUSY, zbus_chan_notify(&aux2_chan, K_NO_WAIT), "It must not be invalid"); in ZTEST()
303 zassert_equal(0, zbus_chan_finish(&aux2_chan), "It must finish correctly"); in ZTEST()
310 zassert_equal(-EFAULT, err, "It must reach the default on the switch. Err %d", err); in ZTEST()
324 "It must be ok, but it causes an error inside the event dispatcher telling " in ZTEST()
331 zassert_equal(0, zbus_chan_notify(&stuck_chan, K_MSEC(200)), "It must finish correctly"); in ZTEST()
334 "It must get stuck on the stuck_chan since it only has 1 occupied spot at " in ZTEST()
337 /* Trying to call the zbus functions in a ISR context. None must work */ in ZTEST()
360 "It must return an error, the pool only have 2 slots. For publishing to " in ZTEST()
396 zassert_mem_equal__(zbus_chan_name(chan), "aux1_chan", 9, "Must be equal"); in check_chan_iterator()
399 zassert_mem_equal__(zbus_chan_name(chan), "aux2_chan", 9, "Must be equal"); in check_chan_iterator()
403 "Must be equal"); in check_chan_iterator()
406 zassert_mem_equal__(zbus_chan_name(chan), "go_busy_chan", 12, "Must be equal"); in check_chan_iterator()
409 zassert_mem_equal__(zbus_chan_name(chan), "hard_chan", 9, "Must be equal"); in check_chan_iterator()
413 sizeof("msg_sub_fail_chan"), "Must be equal"); in check_chan_iterator()
417 sizeof("msg_sub_no_pool_chan"), "Must be equal"); in check_chan_iterator()
420 zassert_mem_equal__(zbus_chan_name(chan), "stuck_chan", 10, "Must be equal"); in check_chan_iterator()
423 zassert_mem_equal__(zbus_chan_name(chan), "version_chan", 12, "Must be equal"); in check_chan_iterator()
441 zassert_mem_equal__(zbus_obs_name(obs), "busy_lis", 8, "Must be equal"); in check_obs_iterator()
444 zassert_mem_equal__(zbus_obs_name(obs), "fast_lis", 8, "Must be equal"); in check_obs_iterator()
448 "Must be equal"); in check_obs_iterator()
451 zassert_mem_equal__(zbus_obs_name(obs), "foo_msg_sub", 11, "Must be equal"); in check_obs_iterator()
454 zassert_mem_equal__(zbus_obs_name(obs), "foo_sub", 7, "Must be equal"); in check_obs_iterator()
458 "Must be equal"); in check_obs_iterator()
462 "Must be equal"); in check_obs_iterator()
466 strlen("not_observing_sub"), "Must be equal"); in check_obs_iterator()
469 zassert_mem_equal__(zbus_obs_name(obs), "rt_fast_lis", 11, "Must be equal"); in check_obs_iterator()
472 zassert_mem_equal__(zbus_obs_name(obs), "sub1", 4, "Must be equal"); in check_obs_iterator()
509 zassert_equal(true, zbus_iterate_over_channels(always_true_chan_iterator), "Must be true"); in ZTEST()
511 zassert_equal(true, zbus_iterate_over_observers(always_true_obs_iterator), "Must be true"); in ZTEST()
514 "Must be false"); in ZTEST()
517 "Must be false"); in ZTEST()
523 "Must be true"); in ZTEST()
529 "Must be true"); in ZTEST()
545 "Must be false"); in ZTEST()
566 "Must be false"); in ZTEST()
582 zassert_equal(valid.range, current.range, "Range must be equal"); in ZTEST()
583 zassert_equal(valid.binary, current.binary, "Binary must be equal"); in ZTEST()
584 zassert_equal(valid.pointer, current.pointer, "Pointer must be equal"); in ZTEST()
589 zassert_equal(err, -ENOMSG, "Err must be -ENOMSG, the channel message is invalid"); in ZTEST()
593 zassert_equal(err, -ENOMSG, "Err must be -ENOMSG, the channel message is invalid"); in ZTEST()
597 zassert_equal(err, -ENOMSG, "Err must be -ENOMSG, the channel message is invalid"); in ZTEST()
615 "Must be zero. The observer must be disabled"); in ZTEST()
623 "Must be zero. The observer must be disabled"); in ZTEST()
632 zassert_equal(count_fast, 0, "Must be zero. No callback called"); in ZTEST()
635 "Must be zero. The observer must be enabled"); in ZTEST()
641 "Must be zero. The observer must be enabled"); in ZTEST()
650 zassert_equal(count_fast, 2, "Must be 2. Callback must be called once it is %d", in ZTEST()
698 zassert_equal(count_fast, 0, "Count must 0, since the channel notification is masked"); in ZTEST()
709 zassert_equal(count_fast, 3, "Must be 3. The channel notification was masked %d", in ZTEST()
735 /* All the calls must not work. Zbus cannot work in IRSs */ in isr_sub_wait()
751 /* It must run but return a -ENOMSG because of the K_NO_WAIT */ in ZTEST()
762 /* All the calls must not work. Zbus cannot work in IRSs */ in isr_sub_wait_msg()