Home
last modified time | relevance | path

Searched refs:idleMainLooper (Results 1 – 8 of 8) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DAdapterViewBehavior.java52 ShadowHandler.idleMainLooper(); in shouldIgnoreSetSelectionCallsWithInvalidPosition()
55 ShadowHandler.idleMainLooper(); in shouldIgnoreSetSelectionCallsWithInvalidPosition()
65 ShadowHandler.idleMainLooper(); in testSetAdapter_ShouldCauseViewsToBeRenderedAsynchronously()
89 ShadowHandler.idleMainLooper(); in testSetAdapter_ShouldSelectFirstItemAsynchronously()
108 ShadowHandler.idleMainLooper(); in testSetAdapter_ShouldFireOnNothingSelectedWhenAdapterCountIsReducedToZero()
111 ShadowHandler.idleMainLooper(); in testSetAdapter_ShouldFireOnNothingSelectedWhenAdapterCountIsReducedToZero()
157 ShadowHandler.idleMainLooper(); in testSetEmptyView_ShouldHideEmptyViewWhenAdapterGetsNewItem()
175 ShadowHandler.idleMainLooper(); in testSetEmptyView_ShouldHideAdapterViewWhenAdapterBecomesEmpty()
197 ShadowHandler.idleMainLooper(); in shouldOnlyUpdateOnceIfInvalidatedMultipleTimes()
DLooperTest.java33 ShadowLooper.idleMainLooper(1999); in idleMainLooper_executesScheduledTasks()
35 ShadowLooper.idleMainLooper(1); in idleMainLooper_executesScheduledTasks()
DHandlerTest.java102 ShadowHandler.idleMainLooper(); in testPostAndIdleMainLooper()
109 ShadowHandler.idleMainLooper(); in postDelayedThenIdleMainLooper_shouldNotRunRunnable()
231 Robolectric.idleMainLooper(0); in sendEmptyMessage_addMessageToQueue()
241 Robolectric.idleMainLooper(100); in sendEmptyMessageDelayed_sendsMessageAtCorrectTime()
243 Robolectric.idleMainLooper(400); in sendEmptyMessageDelayed_sendsMessageAtCorrectTime()
DListViewTest.java54 ShadowHandler.idleMainLooper(); in testSetSelection_ShouldFireOnItemSelectedListener()
68 ShadowHandler.idleMainLooper(); in testSetSelection_ShouldFireOnItemSelectedListener()
247 ShadowHandler.idleMainLooper(); in clickItemContainingText_shouldPerformItemClickOnList_arrayAdapter()
363 ShadowHandler.idleMainLooper(); in revalidate_withALazyAdapterShouldWork()
480 ShadowHandler.idleMainLooper(); in prepareWithListAdapter()
486 ShadowHandler.idleMainLooper(); in prepareListWithThreeItems()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowHandler.java200 idleMainLooper(); in flush()
206 public static void idleMainLooper() { in idleMainLooper() method in ShadowHandler
DShadowLooper.java99 public static void idleMainLooper(long interval) {
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
DRobolectricTest.java137 Robolectric.idleMainLooper(1999); in idleMainLooper_executesScheduledTasks()
139 Robolectric.idleMainLooper(1); in idleMainLooper_executesScheduledTasks()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
DRobolectric.java1236 public static void idleMainLooper(long interval) { in idleMainLooper() method in Robolectric
1237 ShadowLooper.idleMainLooper(interval); in idleMainLooper()