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

Commit 8edfcc65 authored by Ahmed Mehfooz's avatar Ahmed Mehfooz Committed by Android (Google) Code Review
Browse files

Merge "[SB] Fix StatusBarContentInsetsViewModelTest" into main

parents 06d5b258 f61ca71b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ import com.android.systemui.statusbar.policy.configurationController
import com.android.systemui.statusbar.policy.fake
import com.android.systemui.testKosmos
import com.google.common.truth.Truth.assertThat
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith

@@ -43,6 +44,11 @@ class StatusBarContentInsetsViewModelTest : SysuiTestCase() {

    private val Kosmos.underTest by Kosmos.Fixture { statusBarContentInsetsViewModel }

    @Before
    fun setUp() {
        kosmos.configurationController.fake.notifyLayoutDirectionChanged(isRtl = false)
    }

    @Test
    fun contentArea_onMaxBoundsChanged_emitsNewValue() =
        kosmos.runTest {