mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
78c50795a8
This consolidates many of the unit tests for async backends into io_source.rs to reduce code duplication and to ensure consistent behavior. Notes: * Deleted `read_eventfds` because it is unix specific and we have separate tests for the `AsyncEvent` interface. * Moved uring specific tests into uring_source.rs to reduce `#[cfg]` noise. * There are more tests that should be consolidated, e.g. the `IoSource::fallocate` tests. * I hadn't realize some of the complexity of OverlappedSource until I had done most of the work, so this initial passes excludes it. Change-Id: I5b11605246a049398688f57d81fc48579a2287c9 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4391794 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Frederick Mayle <fmayle@google.com> Reviewed-by: Noah Gold <nkgold@google.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |