crosvm/io_uring
Takaya Saeki e8766a6f60 io_uring: test only methods that are actually used and remove add_rw_op
Currently, a lot of io_uring tests are tesing `add_read`, `add_write`,
and `add_rw_op`, but these methods are actually never used except by
those tests themselves. So, these methods and their tests are no longer
necessary.

This change removes these methods and tests only for them, turning
`add_read` and `add_write` intto utility functions for testing.

BUG=None
TEST=cargo test -p io_uring

Change-Id: I2d58afa826d5f09d7b3b5cdbcab798f26d617c23
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4546820
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Takaya Saeki <takayas@chromium.org>
2023-05-19 01:26:09 +00:00
..
src io_uring: test only methods that are actually used and remove add_rw_op 2023-05-19 01:26:09 +00:00
tests io_uring: test only methods that are actually used and remove add_rw_op 2023-05-19 01:26:09 +00:00
bindgen.sh health-check: enforce blank line after copyright 2022-09-13 22:24:35 +00:00
Cargo.toml Fix remaining Chrome/Chromium OS instances 2023-01-03 22:14:30 +00:00