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

Commit 0674f38d authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Remove unneeded test

dupe of test in NotificationContentDescriptionTest

Test: make
Fixes: 378029337
Bug: 338024220
Flag: EXEMPT test only

Change-Id: I3fead1794cd016c1142e46c4f288dfc687ab52db
parent ca291369
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -16,8 +16,6 @@

package com.android.systemui.statusbar;

import static android.app.Notification.CATEGORY_CALL;

import static com.google.common.truth.Truth.assertThat;

import static junit.framework.Assert.assertEquals;
@@ -198,19 +196,6 @@ public class StatusBarIconViewTest extends SysuiTestCase {
        // no crash, good
    }

    @Test
    public void testContentDescForNotification_noNotifContent() {
        Notification n = new Notification.Builder(mContext, "test")
                .setSmallIcon(0)
                .setContentTitle("hello")
                .setCategory(CATEGORY_CALL)
                .build();
        assertThat(NotificationContentDescription.contentDescForNotification(mContext, n)
                .toString()).startsWith("com.android.systemui.tests notification");
        assertThat(NotificationContentDescription.contentDescForNotification(mContext, n)
                .toString()).doesNotContain("hello");
    }

    @Test
    @EnableFlags({Flags.FLAG_MODES_UI, Flags.FLAG_MODES_UI_ICONS})
    public void setIcon_withPreloaded_usesPreloaded() {