-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.x: Add public constructor for TestScheduler that takes the time. #5906
Conversation
} | ||
|
||
/** | ||
* Moves the Scheduler's clock to a particular moment in time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Creates a new TestScheduler with the specified initial virtual time."
@@ -35,6 +35,25 @@ | |||
// Storing time in nanoseconds internally. | |||
volatile long time; | |||
|
|||
/** | |||
* Creates a new TestScheduler without a particular time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Creates a new TestScheduler with initial virtual time of zero."
Codecov Report
@@ Coverage Diff @@
## 2.x #5906 +/- ##
============================================
- Coverage 98.02% 98.02% -0.01%
- Complexity 5993 5996 +3
============================================
Files 655 655
Lines 43924 43928 +4
Branches 6086 6086
============================================
+ Hits 43056 43059 +3
- Misses 256 266 +10
+ Partials 612 603 -9
Continue to review full report at Codecov.
|
Fixes #5901