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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20515373

Change-Id: Ifce75821a5d9fb0a757eaf397d670f2fa07b4646
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Nicolò Mazzucato
2022-11-21 14:45:00 +00:00
committed by Automerger Merge Worker

View File

@@ -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
fun testEmptyCutoutDateIconsAreConstrainedWidth() {
CombinedShadeHeadersConstraintManagerImpl.emptyCutoutConstraints()()