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

Commit ffe786a2 authored by lyn's avatar lyn
Browse files

Test that bundles are not minimized

Bug: 398927057
Test: RankingCoordinatorTest
Flag: com.android.systemui.notification_bundle_ui
Change-Id: I7663ba4974e0d7ca18ed290aa801ab52f0ee9555
parent 7111d861
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -279,6 +279,12 @@ public class RankingCoordinatorTest extends SysuiTestCase {
        assertTrue(mSilentSectioner.isInSection(bundleEntry));
    }

    @Test
    public void testMinimizedSectioner_rejectsBundle() {
        BundleEntry bundleEntry = new BundleEntry("testBundleKey");
        assertFalse(mMinimizedSectioner.isInSection(bundleEntry));
    }

    @Test
    public void testMinSection() {
        when(mHighPriorityProvider.isHighPriority(mEntry)).thenReturn(false);