mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 13:23:08 +00:00
5b031ce8b0
Introduce a TimerTrait that is implemented by both Timer and FakeTimer. This trait can be used to write testable code without needing to condition use statements on cfg(test). BUG=None TEST=CQ Change-Id: I874ffe19fafe73e5c17fd5bb689e5b571e9f5b12 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4664188 Reviewed-by: Junichi Uekawa <uekawa@chromium.org> Commit-Queue: David Stevens <stevensd@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> |
||
---|---|---|
.. | ||
base_event_token_derive | ||
src | ||
tests | ||
.build_test_serial | ||
Cargo.toml |