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

Commit 47087ad9 authored by Andreas Miko's avatar Andreas Miko
Browse files

Force flag enabled for bundle tests

Test: TEST_ONLY
Bug: 414468171
Flag: com.android.systemui.notification_bundle_ui
Change-Id: Ib80a58187e506af43b743e0567949d92b927ecd7
parent 5bd94115
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -119,6 +119,7 @@ public class NotificationChildrenContainerTest extends SysuiTestCase {
    }

    @Test
    @EnableFlags(NotificationBundleUi.FLAG_NAME)
    public void testGetMaxAllowedVisibleChildren_bundle_likeCollapsed() {
        mChildrenContainer.initBundleHeader(mock(BundleHeaderViewModel.class));
        Assert.assertEquals(mChildrenContainer.getMaxAllowedVisibleChildren(true),
@@ -127,6 +128,7 @@ public class NotificationChildrenContainerTest extends SysuiTestCase {


    @Test
    @EnableFlags(NotificationBundleUi.FLAG_NAME)
    public void testGetMaxAllowedVisibleChildren_bundle_expandedChildren() {
        mChildrenContainer.initBundleHeader(mock(BundleHeaderViewModel.class));
        mChildrenContainer.setChildrenExpanded(true);
@@ -135,6 +137,7 @@ public class NotificationChildrenContainerTest extends SysuiTestCase {
    }

    @Test
    @EnableFlags(NotificationBundleUi.FLAG_NAME)
    public void testGetMaxAllowedVisibleChildren_bundle_userLocked() {
        mChildrenContainer.initBundleHeader(mock(BundleHeaderViewModel.class));
        mGroup.setUserLocked(true);