Loading tests/robotests/src/com/android/settings/dashboard/DashboardFeatureProviderImplTest.java +2 −2 Original line number Diff line number Diff line Loading @@ -677,7 +677,7 @@ public class DashboardFeatureProviderImplTest { preference.performClick(); Intent nextStartedActivity = Shadows.shadowOf((Application) mApplication).peekNextStartedActivity(); Shadows.shadowOf(mApplication).peekNextStartedActivity(); assertThat(nextStartedActivity).isNotNull(); assertThat(nextStartedActivity.getAction()).isEqualTo("test"); } Loading @@ -704,7 +704,7 @@ public class DashboardFeatureProviderImplTest { mActivity.getSupportFragmentManager().findFragmentByTag("select_profile"); assertThat(dialogFragment).isNotNull(); Intent nextStartedActivity = Shadows.shadowOf((Application) mApplication).peekNextStartedActivity(); Shadows.shadowOf(mApplication).peekNextStartedActivity(); assertThat(nextStartedActivity).isNull(); } Loading Loading
tests/robotests/src/com/android/settings/dashboard/DashboardFeatureProviderImplTest.java +2 −2 Original line number Diff line number Diff line Loading @@ -677,7 +677,7 @@ public class DashboardFeatureProviderImplTest { preference.performClick(); Intent nextStartedActivity = Shadows.shadowOf((Application) mApplication).peekNextStartedActivity(); Shadows.shadowOf(mApplication).peekNextStartedActivity(); assertThat(nextStartedActivity).isNotNull(); assertThat(nextStartedActivity.getAction()).isEqualTo("test"); } Loading @@ -704,7 +704,7 @@ public class DashboardFeatureProviderImplTest { mActivity.getSupportFragmentManager().findFragmentByTag("select_profile"); assertThat(dialogFragment).isNotNull(); Intent nextStartedActivity = Shadows.shadowOf((Application) mApplication).peekNextStartedActivity(); Shadows.shadowOf(mApplication).peekNextStartedActivity(); assertThat(nextStartedActivity).isNull(); } Loading