Name Description Size
after.rs Tests for the after channel flavor. 7743
array.rs Tests for the array channel flavor. 16805
golang.rs Tests copied from Go and manually rewritten in Rust. Source: - https://github.com/golang/go Copyright & License: - Copyright (c) 2009 The Go Authors - https://golang.org/AUTHORS - https://golang.org/LICENSE - https://golang.org/PATENTS 55485
iter.rs Tests for iteration over receivers. 2478
list.rs Tests for the list channel flavor. 12745
mpsc.rs Tests copied from `std::sync::mpsc`. This is a copy of tests for the `std::sync::mpsc` channels from the standard library, but modified to work with `crossbeam-channel` instead. Minor tweaks were needed to make the tests compile: - Replace `box` syntax with `Box::new`. - Replace all uses of `Select` with `select!`. - Change the imports. - Join all spawned threads. - Removed assertion from oneshot_multi_thread_send_close_stress tests. Source: - https://github.com/rust-lang/rust/tree/master/src/libstd/sync/mpsc Copyright & License: - Copyright 2013-2014 The Rust Project Developers - Apache License, Version 2.0 or MIT license, at your option - https://github.com/rust-lang/rust/blob/master/COPYRIGHT - https://www.rust-lang.org/en-US/legal.html 55659
never.rs Tests for the never channel flavor. 1749
ready.rs Tests for channel readiness using the `Select` struct. 21135
same_channel.rs 2409
select.rs Tests for channel selection using the `Select` struct. 36249
select_macro.rs Tests for the `select!` macro. 35346
thread_locals.rs Tests that make sure accessing thread-locals while exiting the thread doesn't cause panics. 1494
tick.rs Tests for the tick channel flavor. 8603
zero.rs Tests for the zero channel flavor. 13527