Loading packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/layout/ui/viewmodel/StatusBarContentInsetsViewModelTest.kt +6 −0 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 { Loading Loading
packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/layout/ui/viewmodel/StatusBarContentInsetsViewModelTest.kt +6 −0 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 { Loading