Home
last modified time | relevance | path

Searched refs:assertEventsSoFar (Results 1 – 16 of 16) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/
DSchedulerTest.java27 transcript.assertEventsSoFar("one", "two"); in testTick_ReturnsTrueIffSomeJobWasRun()
33 transcript.assertEventsSoFar("three"); in testTick_ReturnsTrueIffSomeJobWasRun()
43 transcript.assertEventsSoFar("one"); in testShadowPostDelayed()
49 transcript.assertEventsSoFar("two"); in testShadowPostDelayed()
52 transcript.assertEventsSoFar("three"); in testShadowPostDelayed()
62 transcript.assertEventsSoFar("three"); in testShadowPostAtFrontOfQueue()
65 transcript.assertEventsSoFar("one"); in testShadowPostAtFrontOfQueue()
68 transcript.assertEventsSoFar("two"); in testShadowPostAtFrontOfQueue()
75 transcript.assertEventsSoFar("three"); in testShadowPostAtFrontOfQueue_whenUnpaused()
95 transcript.assertEventsSoFar("one"); in testShadowPostDelayed_WhenMoreItemsAreAdded()
[all …]
DRobolectricBackgroundExecutorServiceTest.java42 transcript.assertEventsSoFar("background event ran"); in execute_shouldRunStuffOnBackgroundThread()
53 transcript.assertEventsSoFar("background event ran"); in submitRunnable_shouldRunStuffOnBackgroundThread()
72 transcript.assertEventsSoFar("background event ran"); in submitCallable_shouldRunStuffOnBackgroundThread()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DAsyncTaskTest.java35 transcript.assertEventsSoFar("onPreExecute"); in testNormalFlow()
38 transcript.assertEventsSoFar("doInBackground a, b"); in testNormalFlow()
42 transcript.assertEventsSoFar("onPostExecute c"); in testNormalFlow()
50 transcript.assertEventsSoFar("onPreExecute"); in testCancelBeforeBackground()
59 transcript.assertEventsSoFar("onCancelled"); in testCancelBeforeBackground()
67 transcript.assertEventsSoFar("onPreExecute"); in testCancelBeforePostExecute()
70 transcript.assertEventsSoFar("doInBackground a, b"); in testCancelBeforePostExecute()
77 transcript.assertEventsSoFar("onPostExecute c"); in testCancelBeforePostExecute()
92 transcript.assertEventsSoFar("onPreExecute"); in progressUpdatesAreQueuedUntilBackgroundThreadFinishes()
99 transcript.assertEventsSoFar( in progressUpdatesAreQueuedUntilBackgroundThreadFinishes()
DContextWrapperTest.java46 transcript.assertEventsSoFar("Larry notified of foo"); in registerReceiver_shouldRegisterForAllIntentFilterActions()
52 transcript.assertEventsSoFar("Larry notified of baz"); in registerReceiver_shouldRegisterForAllIntentFilterActions()
64 transcript.assertEventsSoFar("Larry notified of foo", "Bob notified of foo"); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver()
70 transcript.assertEventsSoFar("Larry notified of baz"); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver()
96 transcript.assertEventsSoFar("Larry notified of foo", "Larry notified of baz"); in broadcastReceivers_shouldBeSharedAcrossContextsPerApplicationContext()
DListViewTest.java69 transcript.assertEventsSoFar("item was selected: 0"); in testSetSelection_ShouldFireOnItemSelectedListener()
200 transcript.assertEventsSoFar("item was clicked: 0"); in testPerformItemClick_ShouldFireOnItemClickListener()
236 transcript.assertEventsSoFar("clicked on item 1"); in clickItemContainingText_shouldPerformItemClickOnList()
256 transcript.assertEventsSoFar("clicked on item Item 3"); in clickItemContainingText_shouldPerformItemClickOnList_arrayAdapter()
299 transcript.assertEventsSoFar("called getView"); in testShouldBeAbleToTurnOffAutomaticRowUpdates()
302 transcript.assertEventsSoFar("called getView"); in testShouldBeAbleToTurnOffAutomaticRowUpdates()
DAdapterViewBehavior.java90 transcript.assertEventsSoFar("selected item 0"); in testSetAdapter_ShouldSelectFirstItemAsynchronously()
112 transcript.assertEventsSoFar("onNothingSelected fired"); in testSetAdapter_ShouldFireOnNothingSelectedWhenAdapterCountIsReducedToZero()
199 transcript.assertEventsSoFar("getView for 0", "getView for 1"); in shouldOnlyUpdateOnceIfInvalidatedMultipleTimes()
DDialogTest.java39 transcript.assertEventsSoFar("onDismiss called!"); in shouldCallOnDismissListener()
93 transcript.assertEventsSoFar("onCreate called"); in shouldOnlyCallOnCreateOnce()
DDialogFragmentTest.java41 dialogFragment.transcript.assertEventsSoFar( in show_shouldCallLifecycleMethods()
60 dialogFragment.transcript.assertEventsSoFar( in show_whenPassedATransaction_shouldCallShowWithManager()
DActivityTest.java78 …transcript.assertEventsSoFar("onActivityResult called with requestCode 456, resultCode -1, intent … in startActivityForResultAndReceiveResult_shouldSendResponsesBackToActivity()
158 transcript.assertEventsSoFar("onContentChanged was called; title is \"Main Layout\""); in onContentChangedShouldBeCalledAfterContentViewIsSet()
424 activity.transcript.assertEventsSoFar( in createGoesThroughFullLifeCycle()
440 activity.transcript.assertEventsSoFar( in recreateGoesThroughFullLifeCycle()
DExpandableListViewTest.java32 transcript.assertEventsSoFar("item was clicked: 6"); in testPerformItemClick_ShouldFireOnItemClickListener()
DHandlerTest.java57 transcript.assertEventsSoFar("first thing", "second thing"); in testInsertsRunnablesBasedOnLooper()
70 transcript.assertEventsSoFar("first thing", "second thing"); in testDefaultConstructorUsesDefaultLooper()
89 transcript.assertEventsSoFar("second thing"); in testDifferentLoopersGetDifferentQueues()
DSeekBarTest.java45 transcript.assertEventsSoFar("onProgressChanged() - 5"); in testOnChangeNotification()
DRatingBarTest.java47 transcript.assertEventsSoFar("onRatingChanged() - 5.0"); in testOnChangeNotification()
DFragmentManagerTest.java65 fragment.transcript.assertEventsSoFar( in addFragment_shouldCallLifecycleMethods()
80 fragment.transcript.assertEventsSoFar( in startFragment_shouldCallLifecycleMethods()
DViewTest.java69 transcript.assertEventsSoFar("Gained focus"); in shouldFocus()
74 transcript.assertEventsSoFar("Lost focus"); in shouldFocus()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/
DTranscript.java20 public void assertEventsSoFar(String... expectedEvents) { in assertEventsSoFar() method in Transcript