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

Commit 34287c40 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Force flag enabled for bundle tests" into main

parents 089d4e29 47087ad9
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);