Merge "Update test names to kotlin style" into tm-dev am: 617bb19958

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

Change-Id: I60bc591cc3a16e2d62fd4eced8403a072b0b674b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Lyn Han
2022-04-21 18:57:28 +00:00
committed by Automerger Merge Worker

View File

@@ -42,7 +42,7 @@ class StackScrollAlgorithmTest : SysuiTestCase() {
}
@Test
fun testUpTranslationSetToDefaultValue() {
fun resetViewStates_defaultHun_yTranslationIsInset() {
whenever(notificationRow.isPinned).thenReturn(true)
whenever(notificationRow.isHeadsUp).thenReturn(true)
@@ -52,7 +52,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
@@ -67,7 +67,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)