Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e7bbf60 authored by Tiffany Lu's avatar Tiffany Lu Committed by Automerger Merge Worker
Browse files

Merge "Remove obsolete test" into udc-dev am: ecff5847

parents 88780447 ecff5847
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -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);