crosvm/cros_async
Frederick Mayle 78c50795a8 cros_async: backend independent async tests
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>
2023-04-04 23:34:43 +00:00
..
src cros_async: backend independent async tests 2023-04-04 23:34:43 +00:00
Cargo.toml Fix remaining Chrome/Chromium OS instances 2023-01-03 22:14:30 +00:00