1 //! All scenario tests have been put into this binary to ensure that we run 2 //! tests with concurrently, as separate test binaries run serially. 3 4 macro_rules! assert_test_exists { 5 ($name:ident) => { 6 #[expect(unused_imports, reason = "just here to ensure a name exists")] 7 use self::$name as _; 8 }; 9 } 10 test_programs_artifacts::foreach_async!(assert_test_exists); 11 12 mod scenario; 13 14 use scenario::backpressure::{async_backpressure_callee, async_backpressure_caller}; 15 use scenario::borrowing::{async_borrowing_callee, async_borrowing_caller}; 16 use scenario::error_context::{ 17 async_error_context, async_error_context_callee, async_error_context_caller, 18 }; 19 use scenario::post_return::{ 20 async_post_return_callee, async_post_return_caller, async_yield_post_return_callee, 21 async_yield_post_return_caller, 22 }; 23 use scenario::read_resource_stream::async_read_resource_stream; 24 use scenario::round_trip::{ 25 async_round_trip_stackful, async_round_trip_stackless, async_round_trip_stackless_sync_import, 26 async_round_trip_synchronous, async_round_trip_wait, 27 }; 28 use scenario::round_trip_direct::async_round_trip_direct_stackless; 29 use scenario::round_trip_many::{ 30 async_round_trip_many_stackful, async_round_trip_many_stackless, 31 async_round_trip_many_synchronous, async_round_trip_many_wait, 32 }; 33 use scenario::streams::{async_closed_stream, async_closed_streams, async_short_reads}; 34 use scenario::transmit::{ 35 async_cancel_callee, async_cancel_caller, async_cancel_transmit, async_intertask_communication, 36 async_poll_stackless, async_poll_synchronous, async_readiness, async_synchronous_transmit, 37 async_transmit_callee, async_transmit_caller, 38 }; 39 use scenario::unit_stream::{async_unit_stream_callee, async_unit_stream_caller}; 40 use scenario::yield_::{ 41 async_yield_callee_stackless, async_yield_callee_synchronous, async_yield_caller, 42 async_yield_caller_cancel, 43 }; 44