Path: blob/main/crates/misc/component-async-tests/tests/test_all.rs
1692 views
//! All scenario tests have been put into this binary to ensure that we run1//! tests with concurrently, as separate test binaries run serially.23macro_rules! assert_test_exists {4($name:ident) => {5#[expect(unused_imports, reason = "just here to ensure a name exists")]6use self::$name as _;7};8}9test_programs_artifacts::foreach_async!(assert_test_exists);1011mod scenario;1213use scenario::backpressure::{async_backpressure_callee, async_backpressure_caller};14use scenario::borrowing::{async_borrowing_callee, async_borrowing_caller};15use scenario::error_context::{16async_error_context, async_error_context_callee, async_error_context_caller,17};18use scenario::post_return::{async_post_return_callee, async_post_return_caller};19use scenario::read_resource_stream::async_read_resource_stream;20use scenario::round_trip::{21async_round_trip_stackful, async_round_trip_stackless, async_round_trip_stackless_sync_import,22async_round_trip_synchronous, async_round_trip_wait,23};24use scenario::round_trip_direct::async_round_trip_direct_stackless;25use scenario::round_trip_many::{26async_round_trip_many_stackful, async_round_trip_many_stackless,27async_round_trip_many_synchronous, async_round_trip_many_wait,28};29use scenario::streams::async_closed_streams;30use scenario::transmit::{31async_cancel_callee, async_cancel_caller, async_intertask_communication, async_poll_stackless,32async_poll_synchronous, async_readiness, async_transmit_callee, async_transmit_caller,33};34use scenario::unit_stream::{async_unit_stream_callee, async_unit_stream_caller};35use scenario::yield_::{36async_yield_callee_stackless, async_yield_callee_synchronous, async_yield_caller,37async_yield_caller_cancel,38};394041