Merge "Remove obsolete test" into udc-dev

This commit is contained in:
Tiffany Lu
2023-02-22 00:21:54 +00:00
committed by Android (Google) Code Review

View File

@@ -199,20 +199,6 @@ public class AlertingNotificationManagerTest extends SysuiTestCase {
assertFalse(mAlertingNotificationManager.isAlerting(mEntry.getKey()));
}
@Test
public void testShowNotification_stickyHun_earliestRemovalTime() {
NotificationEntry notifEntry = new NotificationEntryBuilder()
.setSbn(createStickySbn(/* id= */ 0))
.build();
notifEntry.setCreationElapsedRealTime(0);
mAlertingNotificationManager.showNotification(notifEntry);
final long earliestRemovalTime = mAlertingNotificationManager
.getCalculatedEarliestRemovalTime(notifEntry.getKey());
assertEquals(TEST_STICKY_DISPLAY_TIME, earliestRemovalTime);
}
@Test
public void testRemoveNotification_removeDeferred() {
mAlertingNotificationManager.showNotification(mEntry);