Searched refs:nextStartedActivity (Results 1 – 4 of 4) sorted by relevance
45 Intent nextStartedActivity = ShadowApplication.getInstance().getNextStartedActivity(); in testLifeCycle() local46 assertThat(nextStartedActivity).hasComponentClass(MainActivity.class); in testLifeCycle()47 assertThat(nextStartedActivity).extras().bool(Utils.EXTRA_KEY_FROM_LAUNCHER).isTrue(); in testLifeCycle()
169 final Intent nextStartedActivity = shadowActivity.getNextStartedActivity(); in createActivity_clickDifferentOption_extrasShouldBePropagated() local170 assertThat(nextStartedActivity).isNotNull(); in createActivity_clickDifferentOption_extrasShouldBePropagated()171 assertThat(nextStartedActivity.getBooleanExtra( in createActivity_clickDifferentOption_extrasShouldBePropagated()173 assertWithMessage("Foo extra").that(nextStartedActivity.getStringExtra("foo")) in createActivity_clickDifferentOption_extrasShouldBePropagated()
538 final Intent nextStartedActivity = shadowActivity.getNextStartedActivity(); in testFaceEnrollIntroduction_maxFacesEnrolled_launchFaceSettings() local539 assertThat(nextStartedActivity).isNotNull(); in testFaceEnrollIntroduction_maxFacesEnrolled_launchFaceSettings()540 assertThat(nextStartedActivity.getComponent().getClassName()) in testFaceEnrollIntroduction_maxFacesEnrolled_launchFaceSettings()557 final Intent nextStartedActivity = shadowActivity.getNextStartedActivity(); in testFaceEnrollIntroduction_maxFacesEnrolled_isSuw_notLaunchFaceSettings() local558 assertThat(nextStartedActivity).isNull(); in testFaceEnrollIntroduction_maxFacesEnrolled_isSuw_notLaunchFaceSettings()574 final Intent nextStartedActivity = shadowActivity.getNextStartedActivity(); in testFaceEnrollIntroduction_maxFacesEnrolled_fromSettings_notLaunchFaceSettings() local575 assertThat(nextStartedActivity).isNull(); in testFaceEnrollIntroduction_maxFacesEnrolled_fromSettings_notLaunchFaceSettings()
679 Intent nextStartedActivity = in clickPreference_providerTileWithPendingIntent_singleUser_executesPendingIntent() local681 assertThat(nextStartedActivity).isNotNull(); in clickPreference_providerTileWithPendingIntent_singleUser_executesPendingIntent()682 assertThat(nextStartedActivity.getAction()).isEqualTo("test"); in clickPreference_providerTileWithPendingIntent_singleUser_executesPendingIntent()706 Intent nextStartedActivity = in clickPreference_providerTileWithPendingIntent_multiUser_showsProfileDialog() local708 assertThat(nextStartedActivity).isNull(); in clickPreference_providerTileWithPendingIntent_multiUser_showsProfileDialog()