diff options
| author | 2022-11-21 15:16:49 +0000 | |
|---|---|---|
| committer | 2022-11-21 15:16:49 +0000 | |
| commit | 083cb898b31e0db86617c7e53204271fc5cc7373 (patch) | |
| tree | bf8486c96ef1d489c1bf38901ab6763d42655ea9 | |
| parent | 5c2bd27f777747ca658f83c6004effe66ee6c35c (diff) | |
| parent | 8888a88175d44bf6aa90cced37a83d065e09872a (diff) | |
Merge "Remove test for QS and QQS constraints" into tm-qpr-dev am: bcd596c6c2 am: 8888a88175
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20515373
Change-Id: Idecc8d96bbb7c47b3a851b1d1d20422b8b7dbdef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -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()() |