Home
last modified time | relevance | path

Searched refs:ShadowHandler (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()
DHandlerTest.java102 ShadowHandler.idleMainLooper(); in testPostAndIdleMainLooper()
109 ShadowHandler.idleMainLooper(); in postDelayedThenIdleMainLooper_shouldNotRunRunnable()
116 ShadowHandler.runMainLooperOneTask(); in testPostDelayedThenRunMainLooperOneTask()
136 ShadowHandler.runMainLooperToNextTask(); in testPostDelayedThenRunMainLooperToNextTask_shouldRunOneTask()
148 ShadowHandler.runMainLooperToNextTask(); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks()
161 ShadowHandler.runMainLooperOneTask(); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask()
176 ShadowHandler.runMainLooperToEndOfTasks(); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask()
193 ShadowHandler.runMainLooperOneTask(); in testPostAtFrontOfQueueThenRunMainLooperOneTaskAtATime_shouldRunFrontOfQueueTaskFirst()
196 ShadowHandler.runMainLooperOneTask(); in testPostAtFrontOfQueueThenRunMainLooperOneTaskAtATime_shouldRunFrontOfQueueTaskFirst()
215 ShadowHandler.runMainLooperOneTask(); in testSendMessageAtFrontOfQueueThenRunMainLooperOneMsgAtATime_shouldRunFrontOfQueueMsgFirst()
[all …]
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()
DMessengerTest.java30 ShadowHandler.runMainLooperOneTask(); in testMessengerSend()
DSslErrorHandlerTest.java31 assertThat(shadow, instanceOf(ShadowHandler.class)); in shouldInheritFromShadowHandler()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSslErrorHandler.java9 public class ShadowSslErrorHandler extends ShadowHandler {
DShadowHandler.java26 public class ShadowHandler { class
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
DRobolectric.java214 ShadowHandler.class, in getDefaultShadowClasses()
665 public static ShadowHandler shadowOf(Handler instance) { in shadowOf()
666 return (ShadowHandler) shadowOf_(instance); in shadowOf()