Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7876b576 authored by Lyn Han's avatar Lyn Han Committed by Automerger Merge Worker
Browse files

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

parents 5a06b288 617bb199
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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)