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

Commit 0a7b0022 authored by Liana Kazanova's avatar Liana Kazanova Committed by Android (Google) Code Review
Browse files

Revert "Add TAPL test cases for KQS from taskbar all apps."

This reverts commit 853d7d3b.

Reason for revert:Probable culprit for b/323976612. Will be running through ABTD for verification and before submitting the revert.

Change-Id: Ie334d4ec7d8cdad7245610b9384cd3a61f44dc9e
parent 853d7d3b
Loading
Loading
Loading
Loading
+0 −29
Original line number Diff line number Diff line
@@ -22,8 +22,6 @@ import androidx.test.filters.LargeTest;
import androidx.test.runner.AndroidJUnit4;

import com.android.launcher3.tapl.KeyboardQuickSwitch;
import com.android.launcher3.tapl.LaunchedAppState;
import com.android.launcher3.tapl.Taskbar;
import com.android.launcher3.taskbar.KeyboardQuickSwitchController;
import com.android.launcher3.ui.AbstractLauncherUiTest;

@@ -38,7 +36,6 @@ public class TaplTestsKeyboardQuickSwitch extends AbstractQuickStepTest {
    private enum TestSurface {
        HOME(true),
        LAUNCHED_APP(false),
        TASKBAR_ALL_APPS(false),
        HOME_ALL_APPS(true),
        WIDGETS(true);

@@ -84,11 +81,6 @@ public class TaplTestsKeyboardQuickSwitch extends AbstractQuickStepTest {
        runTest(TestSurface.LAUNCHED_APP, TestCase.DISMISS);
    }

    @Test
    public void testDismiss_fromTaskbarAllApps() {
        runTest(TestSurface.TASKBAR_ALL_APPS, TestCase.DISMISS);
    }

    @Test
    public void testDismiss_fromHomeAllApps() {
        runTest(TestSurface.HOME_ALL_APPS, TestCase.DISMISS);
@@ -109,11 +101,6 @@ public class TaplTestsKeyboardQuickSwitch extends AbstractQuickStepTest {
        runTest(TestSurface.LAUNCHED_APP, TestCase.LAUNCH_LAST_APP);
    }

    @Test
    public void testLaunchLastTask_fromTaskbarAllApps() {
        runTest(TestSurface.TASKBAR_ALL_APPS, TestCase.LAUNCH_LAST_APP);
    }

    @Test
    public void testLaunchLastTask_fromHomeAllApps() {
        runTest(TestSurface.HOME_ALL_APPS, TestCase.LAUNCH_LAST_APP);
@@ -134,11 +121,6 @@ public class TaplTestsKeyboardQuickSwitch extends AbstractQuickStepTest {
        runTest(TestSurface.LAUNCHED_APP, TestCase.LAUNCH_SELECTED_APP);
    }

    @Test
    public void testLaunchSelectedTask_fromTaskbarAllApps() {
        runTest(TestSurface.TASKBAR_ALL_APPS, TestCase.LAUNCH_SELECTED_APP);
    }

    @Test
    public void testLaunchSelectedTask_fromHomeAllApps() {
        runTest(TestSurface.HOME_ALL_APPS, TestCase.LAUNCH_SELECTED_APP);
@@ -159,11 +141,6 @@ public class TaplTestsKeyboardQuickSwitch extends AbstractQuickStepTest {
        runTest(TestSurface.LAUNCHED_APP, TestCase.LAUNCH_OVERVIEW);
    }

    @Test
    public void testLaunchOverviewTask_fromTaskbarAllApps() {
        runTest(TestSurface.TASKBAR_ALL_APPS, TestCase.LAUNCH_OVERVIEW);
    }

    @Test
    public void testLaunchOverviewTask_fromHomeAllApps() {
        runTest(TestSurface.HOME_ALL_APPS, TestCase.LAUNCH_OVERVIEW);
@@ -188,12 +165,6 @@ public class TaplTestsKeyboardQuickSwitch extends AbstractQuickStepTest {
                mLauncher.setIgnoreTaskbarVisibility(true);
                kqs = mLauncher.getLaunchedAppState().showQuickSwitchView();
                break;
            case TASKBAR_ALL_APPS:
                LaunchedAppState launchedApp = mLauncher.getLaunchedAppState();
                Taskbar taskbar = mLauncher.isTransientTaskbar()
                        ? launchedApp.swipeUpToUnstashTaskbar() : launchedApp.getTaskbar();
                kqs = taskbar.openAllApps().showQuickSwitchView();
                break;
            case HOME_ALL_APPS:
                kqs = mLauncher.goHome().switchToAllApps().showQuickSwitchView();
                break;