Loading quickstep/tests/src/com/android/launcher3/taskbar/navbutton/NavButtonLayoutFactoryTest.kt +11 −9 Original line number Diff line number Diff line Loading @@ -171,10 +171,11 @@ class NavButtonLayoutFactoryTest { assert(layoutter is PhoneSeascapeNavLayoutter) } @Test(expected = IllegalStateException::class) fun noValidLayoutForPhoneGestureNav() { @Test fun getTaskbarPhoneGestureNavLayoutter() { assumeTrue(ENABLE_TASKBAR_NAVBAR_UNIFICATION) mockDeviceProfile.isTaskbarPresent = false val layoutter: NavButtonLayoutFactory.NavButtonLayoutter = getLayoutter( isKidsMode = false, isInSetup = false, Loading @@ -182,6 +183,7 @@ class NavButtonLayoutFactoryTest { phoneMode = true, surfaceRotation = surfaceRotation ) assert(layoutter is PhoneGestureLayoutter) } private fun setDeviceProfileLandscape() { Loading Loading
quickstep/tests/src/com/android/launcher3/taskbar/navbutton/NavButtonLayoutFactoryTest.kt +11 −9 Original line number Diff line number Diff line Loading @@ -171,10 +171,11 @@ class NavButtonLayoutFactoryTest { assert(layoutter is PhoneSeascapeNavLayoutter) } @Test(expected = IllegalStateException::class) fun noValidLayoutForPhoneGestureNav() { @Test fun getTaskbarPhoneGestureNavLayoutter() { assumeTrue(ENABLE_TASKBAR_NAVBAR_UNIFICATION) mockDeviceProfile.isTaskbarPresent = false val layoutter: NavButtonLayoutFactory.NavButtonLayoutter = getLayoutter( isKidsMode = false, isInSetup = false, Loading @@ -182,6 +183,7 @@ class NavButtonLayoutFactoryTest { phoneMode = true, surfaceRotation = surfaceRotation ) assert(layoutter is PhoneGestureLayoutter) } private fun setDeviceProfileLandscape() { Loading