Introduce TestClock.plusAssign(Duration) and hide implementation details
TestClock.plusAssign(Duration) is for advancing TestClock time. Hide reading value, do not allow to provide initial reading, fix clock unit to nanoseconds at construction time.
This commit is contained in:
+1
-4
@@ -5390,10 +5390,7 @@ public final class kotlin/time/MonoClock : kotlin/time/AbstractLongClock, kotlin
|
||||
|
||||
public final class kotlin/time/TestClock : kotlin/time/AbstractLongClock {
|
||||
public fun <init> ()V
|
||||
public fun <init> (JLjava/util/concurrent/TimeUnit;)V
|
||||
public synthetic fun <init> (JLjava/util/concurrent/TimeUnit;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
public final fun getReading ()J
|
||||
public final fun setReading (J)V
|
||||
public final fun plusAssign-LRDsOJo (D)V
|
||||
}
|
||||
|
||||
public final class kotlin/time/TimedValue {
|
||||
|
||||
Reference in New Issue
Block a user