/external/kotlinx.coroutines/kotlinx-coroutines-test/common/test/ |
D | TestCoroutineSchedulerTest.kt | 32 testScheduler.advanceTimeBy(15.milliseconds) in <lambda>() 43 scheduler.advanceTimeBy((-1).milliseconds) in testAdvanceTimeByWithNegativeDelay() 69 testScheduler.advanceTimeBy(Duration.INFINITE) in <lambda>() 99 advanceTimeBy(2.seconds) in <lambda>() 102 advanceTimeBy(2.milliseconds) in <lambda>() 124 testScheduler.advanceTimeBy(1.milliseconds) in <lambda>() 128 testScheduler.advanceTimeBy(1.milliseconds) in <lambda>() 147 scheduler.advanceTimeBy(SLOW.milliseconds) in <lambda>() 150 scheduler.advanceTimeBy(SLOW.milliseconds) in <lambda>()
|
D | TestScopeTest.kt | 253 advanceTimeBy(199.milliseconds) // should work the same for the background tasks in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/jvm/src/migration/ |
D | DelayController.kt | 72 public fun advanceTimeBy(delayTimeMillis: Long): Long in advanceTimeBy() method 168 override fun advanceTimeBy(delayTimeMillis: Long): Long { in advanceTimeBy() method 170 scheduler.advanceTimeBy(delayTimeMillis) in advanceTimeBy()
|
D | TestCoroutineScope.kt | 245 public fun TestCoroutineScope.advanceTimeBy(delayTimeMillis: Long): Unit = in advanceTimeBy() method 248 testScheduler.advanceTimeBy(delayTimeMillis) in advanceTimeBy() 252 controller.advanceTimeBy(delayTimeMillis) in advanceTimeBy()
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/common/src/ |
D | TestScope.kt | 121 public fun TestScope.advanceTimeBy(delayTimeMillis: Long): Unit = testScheduler.advanceTimeBy(delay… in advanceUntilIdle() method 131 public fun TestScope.advanceTimeBy(delayTime: Duration): Unit = testScheduler.advanceTimeBy(delayTi… in advanceUntilIdle() method
|
D | TestCoroutineScheduler.kt | 157 …public fun advanceTimeBy(delayTimeMillis: Long): Unit = advanceTimeBy(delayTimeMillis.milliseconds) in advanceTimeBy() method in kotlinx.coroutines.test.TestCoroutineScheduler 165 public fun advanceTimeBy(delayTime: Duration) { in advanceTimeBy() method in kotlinx.coroutines.test.TestCoroutineScheduler
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/jvm/test/migration/ |
D | TestCoroutineDispatcherOrderTest.kt | 34 dispatcher.advanceTimeBy(2_000) in testAdvanceTimeBy_progressesOnEachDelay() 37 dispatcher.advanceTimeBy(2) in testAdvanceTimeBy_progressesOnEachDelay()
|
D | TestRunBlockingTest.kt | 242 advanceTimeBy(SLOW) in <lambda>() 346 advanceTimeBy(SLOW) in <lambda>()
|
D | TestBuildersTest.kt | 97 scope.advanceTimeBy(1_000) in whenInAsync_runBlocking_nestsProperly()
|
D | RunBlockingTestOnTestScopeTest.kt | 242 advanceTimeBy(199) // should work the same for the background tasks in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/api/ |
D | kotlinx-coroutines-test.api | 2 public abstract fun advanceTimeBy (J)J 38 public fun advanceTimeBy (J)J 69 public final fun advanceTimeBy (J)V 70 public final fun advanceTimeBy-LRDsOJo (J)V 88 public static final fun advanceTimeBy (Lkotlinx/coroutines/test/TestCoroutineScope;J)V 121 public static final fun advanceTimeBy (Lkotlinx/coroutines/test/TestScope;J)V 122 public static final fun advanceTimeBy-HG0u8IE (Lkotlinx/coroutines/test/TestScope;J)V
|
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/ |
D | TestScheduledExecutorService.java | 108 public void advanceTimeBy(long timeout, TimeUnit unit) throws Exception { in advanceTimeBy() method
|
D | RobolectricTestUtilities.java | 365 scheduledExecutorService.advanceTimeBy(1, SECONDS); in advanceTimeBySeconds()
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/ |
D | README.md | 198 * `advanceTimeBy(timeDelta)` runs the enqueued tasks until the current virtual time advances by `ti… 208 println(2) // executes during advanceTimeBy(2_000) 210 println(3) // also executes during advanceTimeBy(2_000) 219 …testScheduler.advanceTimeBy(2.seconds) // progress time, this will cause two calls to `delay` to r…
|
D | MIGRATION.md | 123 ## Replace `advanceTimeBy(n)` with `advanceTimeBy(n); runCurrent()` 125 For `TestCoroutineScope` and `DelayController`, the `advanceTimeBy` method is deprecated. 276 Be wary though of this approach: using `runCurrent`, `advanceTimeBy`, or `advanceUntilIdle` is, ess…
|
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/robotests/ |
D | OtherProfileListenableFutureTest.java | 151 scheduledExecutorService.advanceTimeBy(10, TimeUnit.MINUTES); in other_listenableFuture_doesNotTimeout()
|
D | OtherProfileAsyncTest.java | 181 scheduledExecutorService.advanceTimeBy(10, TimeUnit.MINUTES); in other_async_doesNotTimeOut()
|