Update method name
Test: RoboTests Bug: 184709662 Change-Id: I3a998a151f9647efae00909e2b4f88fa27d645eb
This commit is contained in:
@@ -160,9 +160,9 @@ public class RecentConversationsPreferenceControllerTest {
|
||||
true);
|
||||
|
||||
assertThat(mController.getSummary(ccw).toString()).contains(
|
||||
ccw.getParentNotificationChannelGroup().getName());
|
||||
ccw.getNotificationChannelGroup().getName());
|
||||
assertThat(mController.getSummary(ccw).toString()).contains(
|
||||
ccw.getParentNotificationChannel().getName());
|
||||
ccw.getNotificationChannel().getName());
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -175,7 +175,7 @@ public class RecentConversationsPreferenceControllerTest {
|
||||
true);
|
||||
|
||||
assertThat(mController.getSummary(ccw).toString()).isEqualTo(
|
||||
ccw.getParentNotificationChannel().getName());
|
||||
ccw.getNotificationChannel().getName());
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -207,7 +207,7 @@ public class RecentConversationsPreferenceControllerTest {
|
||||
ccw.getShortcutInfo().getPackage());
|
||||
assertThat(extras.getInt(AppInfoBase.ARG_PACKAGE_UID)).isEqualTo(ccw.getUid());
|
||||
assertThat(extras.getString(Settings.EXTRA_CHANNEL_ID)).isEqualTo(
|
||||
ccw.getParentNotificationChannel().getId());
|
||||
ccw.getNotificationChannel().getId());
|
||||
assertThat(extras.getString(Settings.EXTRA_CONVERSATION_ID)).isEqualTo(
|
||||
ccw.getShortcutInfo().getId());
|
||||
}
|
||||
@@ -230,7 +230,7 @@ public class RecentConversationsPreferenceControllerTest {
|
||||
// expected since it tries to launch an activity
|
||||
}
|
||||
verify(mBackend).createConversationNotificationChannel(
|
||||
si.getPackage(), ccw.getUid(), ccw.getParentNotificationChannel(), si.getId());
|
||||
si.getPackage(), ccw.getUid(), ccw.getNotificationChannel(), si.getId());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user