Home
last modified time | relevance | path

Searched refs:peekNextStartedActivity (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCrossProfileAppsTest.java157 StartedActivity startedActivity = shadowOf(crossProfileApps).peekNextStartedActivity(); in startMainActivity_launcherActivityInManifest_shouldSucceed()
173 StartedActivity startedActivity = shadowOf(crossProfileApps).peekNextStartedActivity(); in startMainActivity_launcherActivityInManifest_withoutCrossProfilePermission_shouldSucceed()
228 StartedActivity startedMainActivity = shadowOf(crossProfileApps).peekNextStartedActivity(); in startActivity_launcherActivityInManifest_shouldSucceed()
244 StartedActivity startedMainActivity = shadowOf(crossProfileApps).peekNextStartedActivity(); in startActivity_nonLauncherActivityInManifest_shouldSucceed()
296 StartedActivity startedActivity = shadowOf(crossProfileApps).peekNextStartedActivity(); in peekNextStartedActivity_activityStarted_shouldReturnAndNotConsumeActivity()
299 …assertThat(shadowOf(crossProfileApps).peekNextStartedActivity()).isSameInstanceAs(startedActivity); in peekNextStartedActivity_activityStarted_shouldReturnAndNotConsumeActivity()
306 assertThat(shadowOf(crossProfileApps).peekNextStartedActivity()).isNull(); in peekNextStartedActivity_activityNotStarted_shouldReturnNull()
319 assertThat(shadowOf(crossProfileApps).peekNextStartedActivity()).isNull(); in getNextStartedActivity_activityStarted_shouldReturnAndConsumeActivity()
339 assertThat(shadowOf(crossProfileApps).peekNextStartedActivity()).isNull(); in clearNextStartedActivities_activityStarted_shouldClearReferencesToStartedActivities()
348 assertThat(shadowOf(crossProfileApps).peekNextStartedActivity()).isNull(); in clearNextStartedActivities_activityNotStarted_shouldBeNoOp()
DShadowAppTaskTest.java73 assertThat(shadowOf(activity).peekNextStartedActivity()).isNotNull(); in startActivity()
74 assertThat(shadowOf(activity).peekNextStartedActivity().getAction()) in startActivity()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContextWrapper.java39 public Intent peekNextStartedActivity() { in peekNextStartedActivity() method in ShadowContextWrapper
40 return getShadowInstrumentation().peekNextStartedActivity(); in peekNextStartedActivity()
DShadowCrossProfileApps.java200 public StartedActivity peekNextStartedActivity() { in peekNextStartedActivity() method in ShadowCrossProfileApps
DShadowInstrumentation.java410 Intent peekNextStartedActivity() {