Loading tests/src/com/android/launcher3/dragging/TaplUninstallRemove.java +16 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ import java.util.Map; /** * Test runs in Out of process (Oop) and In process (Ipc) * Test the behaviour of uninstalling and removing apps both from AllApps and from the Workspace. * Test the behaviour of uninstalling and removing apps both from AllApps, Workspace and Hotseat. */ public class TaplUninstallRemove extends AbstractLauncherUiTest { Loading Loading @@ -164,4 +164,19 @@ public class TaplUninstallRemove extends AbstractLauncherUiTest { TestUtil.uninstallDummyApp(); } } /** * Drag icon from the Hotseat to the delete drop target */ @Test @PortraitLandscape public void testAddDeleteShortcutOnHotseat() { mLauncher.getWorkspace() .deleteAppIcon(mLauncher.getWorkspace().getHotseatAppIcon(0)) .switchToAllApps() .getAppIcon(APP_NAME) .dragToHotseat(0); mLauncher.getWorkspace().deleteAppIcon( mLauncher.getWorkspace().getHotseatAppIcon(APP_NAME)); } } tests/src/com/android/launcher3/ui/TaplTestsLauncher3.java +0 −12 Original line number Diff line number Diff line Loading @@ -82,16 +82,4 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest { // Check that pressHome works when the menu is shown. mLauncher.goHome(); } @Test @PortraitLandscape public void testAddDeleteShortcutOnHotseat() { mLauncher.getWorkspace() .deleteAppIcon(mLauncher.getWorkspace().getHotseatAppIcon(0)) .switchToAllApps() .getAppIcon(APP_NAME) .dragToHotseat(0); mLauncher.getWorkspace().deleteAppIcon( mLauncher.getWorkspace().getHotseatAppIcon(APP_NAME)); } } Loading
tests/src/com/android/launcher3/dragging/TaplUninstallRemove.java +16 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ import java.util.Map; /** * Test runs in Out of process (Oop) and In process (Ipc) * Test the behaviour of uninstalling and removing apps both from AllApps and from the Workspace. * Test the behaviour of uninstalling and removing apps both from AllApps, Workspace and Hotseat. */ public class TaplUninstallRemove extends AbstractLauncherUiTest { Loading Loading @@ -164,4 +164,19 @@ public class TaplUninstallRemove extends AbstractLauncherUiTest { TestUtil.uninstallDummyApp(); } } /** * Drag icon from the Hotseat to the delete drop target */ @Test @PortraitLandscape public void testAddDeleteShortcutOnHotseat() { mLauncher.getWorkspace() .deleteAppIcon(mLauncher.getWorkspace().getHotseatAppIcon(0)) .switchToAllApps() .getAppIcon(APP_NAME) .dragToHotseat(0); mLauncher.getWorkspace().deleteAppIcon( mLauncher.getWorkspace().getHotseatAppIcon(APP_NAME)); } }
tests/src/com/android/launcher3/ui/TaplTestsLauncher3.java +0 −12 Original line number Diff line number Diff line Loading @@ -82,16 +82,4 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest { // Check that pressHome works when the menu is shown. mLauncher.goHome(); } @Test @PortraitLandscape public void testAddDeleteShortcutOnHotseat() { mLauncher.getWorkspace() .deleteAppIcon(mLauncher.getWorkspace().getHotseatAppIcon(0)) .switchToAllApps() .getAppIcon(APP_NAME) .dragToHotseat(0); mLauncher.getWorkspace().deleteAppIcon( mLauncher.getWorkspace().getHotseatAppIcon(APP_NAME)); } }