mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 13:23:08 +00:00
4d834ea759
Add a function pointer to Cmos::new() to retrieve the time so we can test against fixed times in the tests. BUG=None TEST=cargo test -p devices cmos Change-Id: I0ed73b8742c0fe85fa13541b6fef1b534d81c088 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3795010 Reviewed-by: Noah Gold <nkgold@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Tested-by: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |