Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPendingIntentTest.java81 assertThat(application.getNextStartedActivity()).isEqualTo(intents[1]); in getActivities_shouldCreateIntentForBroadcast()
82 assertThat(application.getNextStartedActivity()).isEqualTo(intents[0]); in getActivities_shouldCreateIntentForBroadcast()
97 assertThat(application.getNextStartedActivity()).isEqualTo(intents[1]); in getActivities_withBundle_shouldCreateIntentForBroadcast()
98 assertThat(application.getNextStartedActivity()).isEqualTo(intents[0]); in getActivities_withBundle_shouldCreateIntentForBroadcast()
164 Intent i = shadowOf(otherContext).getNextStartedActivity(); in send_shouldFillInIntentData()
186 Intent i = shadowActivity.getNextStartedActivity(); in send_shouldNotReusePreviouslyFilledInIntentData()
205 Intent second = shadowActivity.getNextStartedActivity(); in send_shouldFillInLastIntentData()
210 Intent first = shadowActivity.getNextStartedActivity(); in send_shouldFillInLastIntentData()
235 Intent second = shadowActivity.getNextStartedActivity(); in send_shouldNotUsePreviouslyFilledInLastIntentData()
252 Intent i = shadowOf(otherContext).getNextStartedActivity(); in send_shouldNotFillIn_whenPendingIntentIsImmutable()
DShadowActivityTest.java190 assertThat(shadowOf(activity).getNextStartedActivity()).isEqualTo(pick); in startActivities_shouldStartAllActivities()
191 assertThat(shadowOf(activity).getNextStartedActivity()).isEqualTo(view); in startActivities_shouldStartAllActivities()
202 assertThat(shadowOf(activity).getNextStartedActivity()).isEqualTo(pick); in startActivities_withBundle_shouldStartAllActivities()
203 assertThat(shadowOf(activity).getNextStartedActivity()).isEqualTo(view); in startActivities_withBundle_shouldStartAllActivities()
247 assertThat(shadowActivity.getNextStartedActivity()).isNull(); in shouldSupportStartActivityForResult()
251 Intent startedIntent = shadowActivity.getNextStartedActivity(); in shouldSupportStartActivityForResult()
DShadowContextWrapperTest.java471 assertThat(ShadowApplication.getInstance().getNextStartedActivity()).isEqualTo(pick); in startActivities_shouldStartAllActivities()
472 assertThat(ShadowApplication.getInstance().getNextStartedActivity()).isEqualTo(view); in startActivities_shouldStartAllActivities()
481 assertThat(ShadowApplication.getInstance().getNextStartedActivity()).isEqualTo(pick); in startActivities_withBundle_shouldStartAllActivities()
482 assertThat(ShadowApplication.getInstance().getNextStartedActivity()).isEqualTo(view); in startActivities_withBundle_shouldStartAllActivities()
DShadowContextImplTest.java124 assertThat(shadowOf(context).getNextStartedActivity().getComponent().getClassName()) in startIntentSender_activityIntent()
DShadowApplicationTest.java516 assertThat(shadowOf(context).getNextStartedActivity()).isNull(); in startActivity_whenActivityCheckingEnabled_checksPackageManagerResolveInfo()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContextWrapper.java29 public Intent getNextStartedActivity() { in getNextStartedActivity() method in ShadowContextWrapper
30 return getShadowInstrumentation().getNextStartedActivity(); in getNextStartedActivity()
DShadowInstrumentation.java397 Intent getNextStartedActivity() {
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/fakes/
DRoboMenuTest.java63 Intent startedIntent = ShadowApplication.getInstance().getNextStartedActivity(); in clickWithIntent()