Merge "Re-enable testOverviewForTablet for persistent taskbar." into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4b941231ce
@@ -17,6 +17,7 @@
|
|||||||
package com.android.quickstep;
|
package com.android.quickstep;
|
||||||
|
|
||||||
import static com.android.launcher3.ui.TaplTestsLauncher3.getAppPackageName;
|
import static com.android.launcher3.ui.TaplTestsLauncher3.getAppPackageName;
|
||||||
|
import static com.android.quickstep.TaskbarModeSwitchRule.Mode.PERSISTENT;
|
||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
import static org.junit.Assert.assertNotNull;
|
import static org.junit.Assert.assertNotNull;
|
||||||
@@ -44,6 +45,7 @@ import com.android.launcher3.ui.TaplTestsLauncher3;
|
|||||||
import com.android.launcher3.util.Wait;
|
import com.android.launcher3.util.Wait;
|
||||||
import com.android.launcher3.util.rule.ScreenRecordRule.ScreenRecord;
|
import com.android.launcher3.util.rule.ScreenRecordRule.ScreenRecord;
|
||||||
import com.android.quickstep.NavigationModeSwitchRule.NavigationModeSwitch;
|
import com.android.quickstep.NavigationModeSwitchRule.NavigationModeSwitch;
|
||||||
|
import com.android.quickstep.TaskbarModeSwitchRule.TaskbarModeSwitch;
|
||||||
import com.android.quickstep.views.RecentsView;
|
import com.android.quickstep.views.RecentsView;
|
||||||
|
|
||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
@@ -359,9 +361,9 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest {
|
|||||||
waitForState("Launcher internal state didn't switch to Home", () -> LauncherState.NORMAL);
|
waitForState("Launcher internal state didn't switch to Home", () -> LauncherState.NORMAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Ignore
|
|
||||||
@Test
|
@Test
|
||||||
@PortraitLandscape
|
@PortraitLandscape
|
||||||
|
@TaskbarModeSwitch(mode = PERSISTENT)
|
||||||
public void testOverviewForTablet() throws Exception {
|
public void testOverviewForTablet() throws Exception {
|
||||||
assumeTrue(mLauncher.isTablet());
|
assumeTrue(mLauncher.isTablet());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user