Fix SupportDashboardActivityTest
Since the screen title of SupportDashboardActivity was changed to page_tab_title_support string for fixing breadcrumb before. We need to correct the test case to fix the test function fail. Bug: 147851992 Test: robotests Change-Id: I14e30ac2a5210bb2d89657cff5772c06c6e8fe5a
This commit is contained in:
@@ -55,7 +55,8 @@ public class SupportDashboardActivityTest {
|
|||||||
final SearchIndexableRaw value = indexables.get(0);
|
final SearchIndexableRaw value = indexables.get(0);
|
||||||
|
|
||||||
assertThat(value.title).isEqualTo(mContext.getString(R.string.page_tab_title_support));
|
assertThat(value.title).isEqualTo(mContext.getString(R.string.page_tab_title_support));
|
||||||
assertThat(value.screenTitle).isEqualTo(mContext.getString(R.string.settings_label));
|
assertThat(value.screenTitle).isEqualTo(
|
||||||
|
mContext.getString(R.string.page_tab_title_support));
|
||||||
assertThat(value.intentTargetPackage).isEqualTo(mContext.getPackageName());
|
assertThat(value.intentTargetPackage).isEqualTo(mContext.getPackageName());
|
||||||
assertThat(value.intentTargetClass).isEqualTo(SupportDashboardActivity.class.getName());
|
assertThat(value.intentTargetClass).isEqualTo(SupportDashboardActivity.class.getName());
|
||||||
assertThat(value.intentAction).isEqualTo(Intent.ACTION_MAIN);
|
assertThat(value.intentAction).isEqualTo(Intent.ACTION_MAIN);
|
||||||
|
Reference in New Issue
Block a user