Loading quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java +16 −0 Original line number Diff line number Diff line Loading @@ -221,4 +221,20 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { assertTrue("Launcher internal state didn't switch to Overview", isInState(LauncherState.OVERVIEW)); } @Test @PortraitLandscape public void testAllAppsFromHome() throws Exception { // Test opening all apps assertNotNull("switchToAllApps() returned null", mLauncher.getWorkspace().switchToAllApps()); TaplTestsLauncher3.runAllAppsTest(this, mLauncher.getAllApps()); // Testing pressHome. assertTrue("Launcher internal state is not All Apps", isInState(LauncherState.ALL_APPS)); assertNotNull("pressHome returned null", mLauncher.pressHome()); assertTrue("Launcher internal state is not Home", isInState(LauncherState.NORMAL)); assertNotNull("getHome returned null", mLauncher.getWorkspace()); } } tests/src/com/android/launcher3/ui/TaplTestsLauncher3.java +0 −16 Original line number Diff line number Diff line Loading @@ -179,22 +179,6 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest { "Launcher internal state is not All Apps", test.isInState(LauncherState.ALL_APPS)); } @Test @PortraitLandscape public void testAllAppsFromHome() throws Exception { // Test opening all apps assertNotNull("switchToAllApps() returned null", mLauncher.getWorkspace().switchToAllApps()); runAllAppsTest(this, mLauncher.getAllApps()); // Testing pressHome. assertTrue("Launcher internal state is not All Apps", isInState(LauncherState.ALL_APPS)); assertNotNull("pressHome returned null", mLauncher.pressHome()); assertTrue("Launcher internal state is not Home", isInState(LauncherState.NORMAL)); assertNotNull("getHome returned null", mLauncher.getWorkspace()); } @Test @PortraitLandscape public void testWorkspaceSwitchToAllApps() { Loading Loading
quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java +16 −0 Original line number Diff line number Diff line Loading @@ -221,4 +221,20 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { assertTrue("Launcher internal state didn't switch to Overview", isInState(LauncherState.OVERVIEW)); } @Test @PortraitLandscape public void testAllAppsFromHome() throws Exception { // Test opening all apps assertNotNull("switchToAllApps() returned null", mLauncher.getWorkspace().switchToAllApps()); TaplTestsLauncher3.runAllAppsTest(this, mLauncher.getAllApps()); // Testing pressHome. assertTrue("Launcher internal state is not All Apps", isInState(LauncherState.ALL_APPS)); assertNotNull("pressHome returned null", mLauncher.pressHome()); assertTrue("Launcher internal state is not Home", isInState(LauncherState.NORMAL)); assertNotNull("getHome returned null", mLauncher.getWorkspace()); } }
tests/src/com/android/launcher3/ui/TaplTestsLauncher3.java +0 −16 Original line number Diff line number Diff line Loading @@ -179,22 +179,6 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest { "Launcher internal state is not All Apps", test.isInState(LauncherState.ALL_APPS)); } @Test @PortraitLandscape public void testAllAppsFromHome() throws Exception { // Test opening all apps assertNotNull("switchToAllApps() returned null", mLauncher.getWorkspace().switchToAllApps()); runAllAppsTest(this, mLauncher.getAllApps()); // Testing pressHome. assertTrue("Launcher internal state is not All Apps", isInState(LauncherState.ALL_APPS)); assertNotNull("pressHome returned null", mLauncher.pressHome()); assertTrue("Launcher internal state is not Home", isInState(LauncherState.NORMAL)); assertNotNull("getHome returned null", mLauncher.getWorkspace()); } @Test @PortraitLandscape public void testWorkspaceSwitchToAllApps() { Loading