Searched refs:assert_ready_eq (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/tokio-stream/tests/ |
D | stream_timeout.rs | 33 assert_ready_eq!(stream.poll_next(), Some(Ok(1))); in basic_usage() 45 assert_ready_eq!(stream.poll_next(), Some(Ok(2))); in basic_usage() 48 assert_ready_eq!(stream.poll_next(), Some(Ok(3))); in basic_usage() 61 assert_ready_eq!(stream.poll_next(), Some(Ok(4))); in basic_usage() 64 assert_ready_eq!(stream.poll_next(), None); in basic_usage() 75 assert_ready_eq!(stream.poll_next(), Some(Ok(1))); in return_elapsed_errors_only_once() 90 assert_ready_eq!(stream.poll_next(), Some(Ok(2))); in return_elapsed_errors_only_once() 91 assert_ready_eq!(stream.poll_next(), Some(Ok(3))); in return_elapsed_errors_only_once() 94 assert_ready_eq!(stream.poll_next(), None); in return_elapsed_errors_only_once() 105 assert_ready_eq!(stream.poll_next(), Some(Ok(1))); in no_timeouts() [all …]
|
/external/rust/crates/tokio-test/tests/ |
D | macros.rs | 5 assert_pending, assert_ready, assert_ready_eq, assert_ready_err, assert_ready_ok, 94 fn assert_ready_eq() { in assert_ready_eq() function 96 assert_ready_eq!(poll, ()); in assert_ready_eq() 97 assert_ready_eq!(poll, (), "some message"); in assert_ready_eq() 98 assert_ready_eq!(poll, (), "{:?}", ()); in assert_ready_eq() 99 assert_ready_eq!(poll, (), "{:?}", Test::Data); in assert_ready_eq() 106 assert_ready_eq!(poll, Ok(())); in assert_eq_on_not_eq()
|
/external/rust/crates/tokio/tests/ |
D | time_interval.rs | 5 use tokio_test::{assert_pending, assert_ready_eq, task}; 27 assert_ready_eq!(poll_next(&mut i), start); in usage() 34 assert_ready_eq!(poll_next(&mut i), start + ms(300)); in usage() 38 assert_ready_eq!(poll_next(&mut i), start + ms(600)); in usage() 42 assert_ready_eq!(poll_next(&mut i), start + ms(900)); in usage() 43 assert_ready_eq!(poll_next(&mut i), start + ms(1200)); in usage()
|
/external/rust/crates/tokio-test/src/ |
D | macros.rs | 167 macro_rules! assert_ready_eq { macro
|