-
Notifications
You must be signed in to change notification settings - Fork 763
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Timeprovider advance multiple invocations (#4022)
* Refactor tests for improved readability * Expose Epoch/start time from FakeTimeProvider It is often useful to have the epoch/start time available via the FakeTimeProvider during testing, as it provides a stable offset (time-0) from which to advance or set a new utc-now based off, e.g. to move to time-X on a timeline starting at time-0. * FakeTimeProvider invokes timer callbacks multiple times in single advance fixes #3995 Reorder variable's in comparaison Co-authored-by: Igor Velikorossov <RussKie@users.noreply.github.com> remove unneeded comments Squashed commit of the following: commit 2f51f4063e2c0ec9042d425b50380f8c81ab6838 Author: Egil Hansen <egil@assimilated.dk> Date: Tue May 30 16:37:13 2023 +0000 All changes * Prevent Advance/SetUtcNow moving time backwards
- Loading branch information
Showing
6 changed files
with
184 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.