Loading quickstep/tests/src/com/android/quickstep/FallbackRecentsTest.java +12 −0 Original line number Diff line number Diff line Loading @@ -130,6 +130,10 @@ public class FallbackRecentsTest { @NavigationModeSwitch @Test public void goToOverviewFromHome() { // b/142828227 if (android.os.Build.MODEL.contains("Cuttlefish") && TestHelpers.isInLauncherProcess()) { return; } mDevice.pressHome(); assertTrue("Fallback Launcher not visible", mDevice.wait(Until.hasObject(By.pkg( mOtherLauncherActivity.packageName)), WAIT_TIME_MS)); Loading @@ -140,6 +144,10 @@ public class FallbackRecentsTest { @NavigationModeSwitch @Test public void goToOverviewFromApp() { // b/142828227 if (android.os.Build.MODEL.contains("Cuttlefish") && TestHelpers.isInLauncherProcess()) { return; } startAppFastAndWaitForRecentTask(resolveSystemApp(Intent.CATEGORY_APP_CALCULATOR)); mLauncher.getBackground().switchToOverview(); Loading Loading @@ -174,6 +182,10 @@ public class FallbackRecentsTest { @NavigationModeSwitch @Test public void testOverview() { // b/142828227 if (android.os.Build.MODEL.contains("Cuttlefish") && TestHelpers.isInLauncherProcess()) { return; } startAppFastAndWaitForRecentTask(getAppPackageName()); startAppFastAndWaitForRecentTask(resolveSystemApp(Intent.CATEGORY_APP_CALCULATOR)); startTestActivity(2); Loading quickstep/tests/src/com/android/quickstep/StartLauncherViaGestureTests.java +5 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ import androidx.test.filters.LargeTest; import androidx.test.runner.AndroidJUnit4; import com.android.launcher3.Launcher; import com.android.launcher3.tapl.TestHelpers; import com.android.launcher3.util.RaceConditionReproducer; import com.android.quickstep.NavigationModeSwitchRule.Mode; import com.android.quickstep.NavigationModeSwitchRule.NavigationModeSwitch; Loading Loading @@ -91,6 +92,10 @@ public class StartLauncherViaGestureTests extends AbstractQuickStepTest { @Test @NavigationModeSwitch public void testStressSwipeToOverview() { // b/142828227 if (android.os.Build.MODEL.contains("Cuttlefish") && TestHelpers.isInLauncherProcess()) { return; } for (int i = 0; i < STRESS_REPEAT_COUNT; ++i) { // Destroy Launcher activity. closeLauncherActivity(); Loading tests/src/com/android/launcher3/ui/TaplTestsLauncher3.java +5 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ import com.android.launcher3.tapl.AllApps; import com.android.launcher3.tapl.AppIcon; import com.android.launcher3.tapl.AppIconMenu; import com.android.launcher3.tapl.AppIconMenuItem; import com.android.launcher3.tapl.TestHelpers; import com.android.launcher3.tapl.Widgets; import com.android.launcher3.tapl.Workspace; import com.android.launcher3.views.OptionsPopupView; Loading Loading @@ -172,6 +173,10 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest { @Test public void testWorkspace() throws Exception { // b/142828227 if (android.os.Build.MODEL.contains("Cuttlefish") && TestHelpers.isInLauncherProcess()) { return; } final Workspace workspace = mLauncher.getWorkspace(); // Test that ensureWorkspaceIsScrollable adds a page by dragging an icon there. Loading Loading
quickstep/tests/src/com/android/quickstep/FallbackRecentsTest.java +12 −0 Original line number Diff line number Diff line Loading @@ -130,6 +130,10 @@ public class FallbackRecentsTest { @NavigationModeSwitch @Test public void goToOverviewFromHome() { // b/142828227 if (android.os.Build.MODEL.contains("Cuttlefish") && TestHelpers.isInLauncherProcess()) { return; } mDevice.pressHome(); assertTrue("Fallback Launcher not visible", mDevice.wait(Until.hasObject(By.pkg( mOtherLauncherActivity.packageName)), WAIT_TIME_MS)); Loading @@ -140,6 +144,10 @@ public class FallbackRecentsTest { @NavigationModeSwitch @Test public void goToOverviewFromApp() { // b/142828227 if (android.os.Build.MODEL.contains("Cuttlefish") && TestHelpers.isInLauncherProcess()) { return; } startAppFastAndWaitForRecentTask(resolveSystemApp(Intent.CATEGORY_APP_CALCULATOR)); mLauncher.getBackground().switchToOverview(); Loading Loading @@ -174,6 +182,10 @@ public class FallbackRecentsTest { @NavigationModeSwitch @Test public void testOverview() { // b/142828227 if (android.os.Build.MODEL.contains("Cuttlefish") && TestHelpers.isInLauncherProcess()) { return; } startAppFastAndWaitForRecentTask(getAppPackageName()); startAppFastAndWaitForRecentTask(resolveSystemApp(Intent.CATEGORY_APP_CALCULATOR)); startTestActivity(2); Loading
quickstep/tests/src/com/android/quickstep/StartLauncherViaGestureTests.java +5 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ import androidx.test.filters.LargeTest; import androidx.test.runner.AndroidJUnit4; import com.android.launcher3.Launcher; import com.android.launcher3.tapl.TestHelpers; import com.android.launcher3.util.RaceConditionReproducer; import com.android.quickstep.NavigationModeSwitchRule.Mode; import com.android.quickstep.NavigationModeSwitchRule.NavigationModeSwitch; Loading Loading @@ -91,6 +92,10 @@ public class StartLauncherViaGestureTests extends AbstractQuickStepTest { @Test @NavigationModeSwitch public void testStressSwipeToOverview() { // b/142828227 if (android.os.Build.MODEL.contains("Cuttlefish") && TestHelpers.isInLauncherProcess()) { return; } for (int i = 0; i < STRESS_REPEAT_COUNT; ++i) { // Destroy Launcher activity. closeLauncherActivity(); Loading
tests/src/com/android/launcher3/ui/TaplTestsLauncher3.java +5 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ import com.android.launcher3.tapl.AllApps; import com.android.launcher3.tapl.AppIcon; import com.android.launcher3.tapl.AppIconMenu; import com.android.launcher3.tapl.AppIconMenuItem; import com.android.launcher3.tapl.TestHelpers; import com.android.launcher3.tapl.Widgets; import com.android.launcher3.tapl.Workspace; import com.android.launcher3.views.OptionsPopupView; Loading Loading @@ -172,6 +173,10 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest { @Test public void testWorkspace() throws Exception { // b/142828227 if (android.os.Build.MODEL.contains("Cuttlefish") && TestHelpers.isInLauncherProcess()) { return; } final Workspace workspace = mLauncher.getWorkspace(); // Test that ensureWorkspaceIsScrollable adds a page by dragging an icon there. Loading