diff options
| -rw-r--r-- | packages/SystemUI/tests/src/com/android/systemui/shade/CombinedShadeHeaderConstraintsTest.kt | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/packages/SystemUI/tests/src/com/android/systemui/shade/CombinedShadeHeaderConstraintsTest.kt b/packages/SystemUI/tests/src/com/android/systemui/shade/CombinedShadeHeaderConstraintsTest.kt index 2a3d32e07b91..9c36be62e46e 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/shade/CombinedShadeHeaderConstraintsTest.kt +++ b/packages/SystemUI/tests/src/com/android/systemui/shade/CombinedShadeHeaderConstraintsTest.kt @@ -344,26 +344,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()() |