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

Commit 8888a881 authored by Nicolò Mazzucato's avatar Nicolò Mazzucato Committed by Automerger Merge Worker
Browse files

Merge "Remove test for QS and QQS constraints" into tm-qpr-dev am: bcd596c6

parents ea3dce89 bcd596c6
Loading
Loading
Loading
Loading
+0 −20
Original line number Original line Diff line number Diff line
@@ -343,26 +343,6 @@ class CombinedShadeHeaderConstraintsTest : SysuiTestCase() {
        }
        }
    }
    }


    @Test
    fun testCheckViewsDontChangeSizeBetweenAnimationConstraints() {
        val views = mapOf(
                R.id.clock to "clock",
                R.id.date to "date",
                R.id.statusIcons to "icons",
                R.id.privacy_container to "privacy",
                R.id.carrier_group to "carriers",
                R.id.batteryRemainingIcon to "battery",
        )
        views.forEach { (id, name) ->
            assertWithMessage("$name changes height")
                    .that(qqsConstraint.getConstraint(id).layout.mHeight)
                    .isEqualTo(qsConstraint.getConstraint(id).layout.mHeight)
            assertWithMessage("$name changes width")
                    .that(qqsConstraint.getConstraint(id).layout.mWidth)
                    .isEqualTo(qsConstraint.getConstraint(id).layout.mWidth)
        }
    }

    @Test
    @Test
    fun testEmptyCutoutDateIconsAreConstrainedWidth() {
    fun testEmptyCutoutDateIconsAreConstrainedWidth() {
        CombinedShadeHeadersConstraintManagerImpl.emptyCutoutConstraints()()
        CombinedShadeHeadersConstraintManagerImpl.emptyCutoutConstraints()()