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

Commit 30c28a0a authored by Pat Manning's avatar Pat Manning
Browse files

Reenable tablet tests for OOP TAPL tests.

Bug: 210158657
Test: TaplTestsQuickstep.java
Change-Id: Ib604642be6819065cde4167f3705d43ced3b2fda
parent 458e842b
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ import static com.android.launcher3.ui.TaplTestsLauncher3.getAppPackageName;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assume.assumeTrue;

import android.content.Intent;

@@ -37,7 +38,6 @@ import com.android.launcher3.tapl.LauncherInstrumentation.NavigationModel;
import com.android.launcher3.tapl.Overview;
import com.android.launcher3.tapl.OverviewActions;
import com.android.launcher3.tapl.OverviewTask;
import com.android.launcher3.tapl.TestHelpers;
import com.android.launcher3.ui.TaplTestsLauncher3;
import com.android.launcher3.util.rule.ScreenRecordRule.ScreenRecord;
import com.android.quickstep.NavigationModeSwitchRule.NavigationModeSwitch;
@@ -322,10 +322,8 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest {
    @Test
    @PortraitLandscape
    public void testOverviewForTablet() throws Exception {
        // TODO(b/210158657): Re-enable for OOP
        if (!mLauncher.isTablet() || !TestHelpers.isInLauncherProcess()) {
            return;
        }
        assumeTrue(mLauncher.isTablet());

        for (int i = 2; i <= 14; i++) {
            startTestActivity(i);
        }
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ filegroup {
      "src/com/android/launcher3/util/rule/TestStabilityRule.java",
      "src/com/android/launcher3/ui/TaplTestsLauncher3.java",
      "src/com/android/launcher3/testcomponent/BaseTestingActivity.java",
      "src/com/android/launcher3/testcomponent/OtherBaseTestingActivity.java",
      "src/com/android/launcher3/testcomponent/CustomShortcutConfigActivity.java",
      "src/com/android/launcher3/testcomponent/TestCommandReceiver.java",
      "src/com/android/launcher3/testcomponent/TestLauncherActivity.java",