From 72a8595e8f0efe0996bf51e3cdb5d8045e0747bf Mon Sep 17 00:00:00 2001 From: Lyn Han Date: Fri, 15 Apr 2022 23:03:22 -0400 Subject: [PATCH] Update test names to kotlin style Test: StackScrollAlgorithmTest Change-Id: I89a6df6f538ef0dd2dd46045dbb18ad6f7299130 --- .../notification/stack/StackScrollAlgorithmTest.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/StackScrollAlgorithmTest.kt b/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/StackScrollAlgorithmTest.kt index 1f90d0cf94943..87ca1aa5eeb7a 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/StackScrollAlgorithmTest.kt +++ b/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/StackScrollAlgorithmTest.kt @@ -47,7 +47,7 @@ class StackScrollAlgorithmTest : SysuiTestCase() { } @Test - fun testUpTranslationSetToDefaultValue() { + fun resetViewStates_defaultHun_yTranslationIsInset() { whenever(notificationRow.isPinned).thenReturn(true) whenever(notificationRow.isHeadsUp).thenReturn(true) @@ -57,7 +57,7 @@ class StackScrollAlgorithmTest : SysuiTestCase() { } @Test - fun testHeadsUpTranslationChangesBasedOnStackMargin() { + fun resetViewStates_stackMargin_changesHunYTranslation() { whenever(notificationRow.isPinned).thenReturn(true) whenever(notificationRow.isHeadsUp).thenReturn(true) val minHeadsUpTranslation = context.resources @@ -72,7 +72,7 @@ class StackScrollAlgorithmTest : SysuiTestCase() { } @Test - fun resetViewStates_childIsEmptyShadeView_viewIsCenteredVertically() { + fun resetViewStates_emptyShadeView_isCenteredVertically() { stackScrollAlgorithm.initView(context) val emptyShadeView = EmptyShadeView(context, /* attrs= */ null).apply { layout(/* l= */ 0, /* t= */ 0, /* r= */ 100, /* b= */ 100)