Searched refs:advanceBy (Results 1 – 5 of 5) sorted by relevance
26 assertThat(scheduler.advanceBy(0), equalTo(true)); in testTick_ReturnsTrueIffSomeJobWasRun()29 assertThat(scheduler.advanceBy(0), equalTo(false)); in testTick_ReturnsTrueIffSomeJobWasRun()32 assertThat(scheduler.advanceBy(1000), equalTo(true)); in testTick_ReturnsTrueIffSomeJobWasRun()42 scheduler.advanceBy(1000); in testShadowPostDelayed()45 scheduler.advanceBy(500); in testShadowPostDelayed()48 scheduler.advanceBy(501); in testShadowPostDelayed()51 scheduler.advanceBy(999); in testShadowPostDelayed()94 scheduler.advanceBy(1000); in testShadowPostDelayed_WhenMoreItemsAreAdded()97 scheduler.advanceBy(500); in testShadowPostDelayed_WhenMoreItemsAreAdded()100 scheduler.advanceBy(501); in testShadowPostDelayed_WhenMoreItemsAreAdded()[all …]
108 scheduler.advanceBy(0);118 scheduler.advanceBy(intervalMillis);
77 public boolean advanceBy(long intervalMs) { in advanceBy() method in Scheduler
1050 getBackgroundScheduler().advanceBy(0); in runBackgroundTasks()1061 getUiThreadScheduler().advanceBy(0); in runUiThreadTasks()
205 Robolectric.getUiThreadScheduler().advanceBy(1); in shouldPostActionsToTheMessageQueueWithDelay()