Remove redundant cast
Bug: 313569889 Test: atest Change-Id: Idad218e3722f29063b6c357139f7120414dea09e
This commit is contained in:
@@ -677,7 +677,7 @@ public class DashboardFeatureProviderImplTest {
|
|||||||
preference.performClick();
|
preference.performClick();
|
||||||
|
|
||||||
Intent nextStartedActivity =
|
Intent nextStartedActivity =
|
||||||
Shadows.shadowOf((Application) mApplication).peekNextStartedActivity();
|
Shadows.shadowOf(mApplication).peekNextStartedActivity();
|
||||||
assertThat(nextStartedActivity).isNotNull();
|
assertThat(nextStartedActivity).isNotNull();
|
||||||
assertThat(nextStartedActivity.getAction()).isEqualTo("test");
|
assertThat(nextStartedActivity.getAction()).isEqualTo("test");
|
||||||
}
|
}
|
||||||
@@ -704,7 +704,7 @@ public class DashboardFeatureProviderImplTest {
|
|||||||
mActivity.getSupportFragmentManager().findFragmentByTag("select_profile");
|
mActivity.getSupportFragmentManager().findFragmentByTag("select_profile");
|
||||||
assertThat(dialogFragment).isNotNull();
|
assertThat(dialogFragment).isNotNull();
|
||||||
Intent nextStartedActivity =
|
Intent nextStartedActivity =
|
||||||
Shadows.shadowOf((Application) mApplication).peekNextStartedActivity();
|
Shadows.shadowOf(mApplication).peekNextStartedActivity();
|
||||||
assertThat(nextStartedActivity).isNull();
|
assertThat(nextStartedActivity).isNull();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user