Searched refs:MockWait (Results 1 – 2 of 2) sorted by relevance
144 struct MockWait { struct151 impl MockWait { implementation162 impl Wait for MockWait { implementation179 impl Kill for MockWait { implementation213 let mock = MockWait::new(exit, 3); in reaper()256 MockWait::new(exit, 0), in kill()270 let mut mock = MockWait::new(exit, 0); in drop_reaps_if_possible()290 let mut mock = MockWait::new(exit, 2); in drop_enqueues_orphan_if_wait_fails()293 let queue = MockQueue::<&mut MockWait>::new(); in drop_enqueues_orphan_if_wait_fails()
127 struct MockWait { struct133 impl MockWait { implementation151 impl Wait for MockWait { implementation176 let first_orphan = MockWait::new(0); in drain_attempts_a_single_reap_of_all_queued_orphans()177 let second_orphan = MockWait::new(1); in drain_attempts_a_single_reap_of_all_queued_orphans()178 let third_orphan = MockWait::new(2); in drain_attempts_a_single_reap_of_all_queued_orphans()179 let fourth_orphan = MockWait::with_err(); in drain_attempts_a_single_reap_of_all_queued_orphans()