Searched refs:getBackgroundScheduler (Results 1 – 7 of 7) sorted by relevance
92 assertThat(Robolectric.getBackgroundScheduler().isPaused(), equalTo(false)); in shouldResetBackgroundSchedulerBeforeTests()93 Robolectric.getBackgroundScheduler().pause(); in shouldResetBackgroundSchedulerBeforeTests()98 assertThat(Robolectric.getBackgroundScheduler().isPaused(), equalTo(false)); in shouldResetBackgroundSchedulerAfterTests()99 Robolectric.getBackgroundScheduler().pause(); in shouldResetBackgroundSchedulerAfterTests()
26 Robolectric.getBackgroundScheduler().pause(); in setUp()108 Robolectric.getBackgroundScheduler().unPause(); in executeReturnsAsyncTask()119 Robolectric.getBackgroundScheduler().unPause(); in shouldGetStatusForAsyncTask()
26 Robolectric.getBackgroundScheduler().pause(); in setUp()
57 Robolectric.getShadowApplication().getBackgroundScheduler().post(new Runnable() { in schedule()
82 Robolectric.getBackgroundScheduler().post(new Runnable() { in execute()
119 public Scheduler getBackgroundScheduler() { in getBackgroundScheduler() method in ShadowApplication
1050 getBackgroundScheduler().advanceBy(0); in runBackgroundTasks()1244 public static Scheduler getBackgroundScheduler() { in getBackgroundScheduler() method in Robolectric1245 return getShadowApplication().getBackgroundScheduler(); in getBackgroundScheduler()