Loading quickstep/tests/src/com/android/quickstep/NavigationModeSwitchRule.java +0 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,6 @@ public class NavigationModeSwitchRule implements TestRule { assertTrue("Couldn't set overlay", setActiveOverlay(prevOverlayPkg, originalMode)); } mLauncher.disableDebugTracing(); } private void evaluateWithThreeButtons() throws Throwable { Loading quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java +0 −2 Original line number Diff line number Diff line Loading @@ -97,7 +97,6 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { @Test @PortraitLandscape public void testOverview() throws Exception { mLauncher.enableDebugTracing(); startTestApps(); Overview overview = mLauncher.pressHome().switchToOverview(); assertTrue("Launcher internal state didn't switch to Overview", Loading Loading @@ -177,7 +176,6 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { executeOnLauncher( launcher -> assertEquals("Still have tasks after dismissing all", 0, getTaskCount(launcher))); mLauncher.disableDebugTracing(); } private int getCurrentOverviewPage(Launcher launcher) { Loading tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java +2 −0 Original line number Diff line number Diff line Loading @@ -112,6 +112,7 @@ public abstract class AbstractLauncherUiTest { launcher -> checkLauncherIntegrity(launcher, containerType))); } mLauncher.enableDebugTracing(); } protected final LauncherActivityRule mActivityMonitor = new LauncherActivityRule(); Loading Loading @@ -202,6 +203,7 @@ public abstract class AbstractLauncherUiTest { resetLoaderState(); } else { clearPackageData(mDevice.getLauncherPackageName()); mLauncher.enableDebugTracing(); } } Loading tests/src/com/android/launcher3/ui/TaplTestsLauncher3.java +0 −6 Original line number Diff line number Diff line Loading @@ -173,7 +173,6 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest { @Test public void testWorkspace() throws Exception { mLauncher.enableDebugTracing(); final Workspace workspace = mLauncher.getWorkspace(); // Test that ensureWorkspaceIsScrollable adds a page by dragging an icon there. Loading Loading @@ -209,7 +208,6 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest { // Test starting a workspace app. final AppIcon app = workspace.getWorkspaceAppIcon("Chrome"); assertNotNull("No Chrome app in workspace", app); mLauncher.disableDebugTracing(); } public static void runIconLaunchFromAllAppsTest(AbstractLauncherUiTest test, AllApps allApps) { Loading Loading @@ -300,7 +298,6 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest { @Test @PortraitLandscape public void testDragAppIcon() throws Throwable { mLauncher.enableDebugTracing(); // 1. Open all apps and wait for load complete. // 2. Drag icon to homescreen. // 3. Verify that the icon works on homescreen. Loading @@ -317,13 +314,11 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest { "Launcher activity is the top activity; expecting another activity to be the top " + "one", isInBackground(launcher))); mLauncher.disableDebugTracing(); } @Test @PortraitLandscape public void testDragShortcut() throws Throwable { mLauncher.enableDebugTracing(); // 1. Open all apps and wait for load complete. // 2. Find the app and long press it to show shortcuts. // 3. Press icon center until shortcuts appear Loading @@ -343,7 +338,6 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest { } finally { allApps.unfreeze(); } mLauncher.disableDebugTracing(); } public static String getAppPackageName() { Loading Loading
quickstep/tests/src/com/android/quickstep/NavigationModeSwitchRule.java +0 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,6 @@ public class NavigationModeSwitchRule implements TestRule { assertTrue("Couldn't set overlay", setActiveOverlay(prevOverlayPkg, originalMode)); } mLauncher.disableDebugTracing(); } private void evaluateWithThreeButtons() throws Throwable { Loading
quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java +0 −2 Original line number Diff line number Diff line Loading @@ -97,7 +97,6 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { @Test @PortraitLandscape public void testOverview() throws Exception { mLauncher.enableDebugTracing(); startTestApps(); Overview overview = mLauncher.pressHome().switchToOverview(); assertTrue("Launcher internal state didn't switch to Overview", Loading Loading @@ -177,7 +176,6 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { executeOnLauncher( launcher -> assertEquals("Still have tasks after dismissing all", 0, getTaskCount(launcher))); mLauncher.disableDebugTracing(); } private int getCurrentOverviewPage(Launcher launcher) { Loading
tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java +2 −0 Original line number Diff line number Diff line Loading @@ -112,6 +112,7 @@ public abstract class AbstractLauncherUiTest { launcher -> checkLauncherIntegrity(launcher, containerType))); } mLauncher.enableDebugTracing(); } protected final LauncherActivityRule mActivityMonitor = new LauncherActivityRule(); Loading Loading @@ -202,6 +203,7 @@ public abstract class AbstractLauncherUiTest { resetLoaderState(); } else { clearPackageData(mDevice.getLauncherPackageName()); mLauncher.enableDebugTracing(); } } Loading
tests/src/com/android/launcher3/ui/TaplTestsLauncher3.java +0 −6 Original line number Diff line number Diff line Loading @@ -173,7 +173,6 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest { @Test public void testWorkspace() throws Exception { mLauncher.enableDebugTracing(); final Workspace workspace = mLauncher.getWorkspace(); // Test that ensureWorkspaceIsScrollable adds a page by dragging an icon there. Loading Loading @@ -209,7 +208,6 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest { // Test starting a workspace app. final AppIcon app = workspace.getWorkspaceAppIcon("Chrome"); assertNotNull("No Chrome app in workspace", app); mLauncher.disableDebugTracing(); } public static void runIconLaunchFromAllAppsTest(AbstractLauncherUiTest test, AllApps allApps) { Loading Loading @@ -300,7 +298,6 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest { @Test @PortraitLandscape public void testDragAppIcon() throws Throwable { mLauncher.enableDebugTracing(); // 1. Open all apps and wait for load complete. // 2. Drag icon to homescreen. // 3. Verify that the icon works on homescreen. Loading @@ -317,13 +314,11 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest { "Launcher activity is the top activity; expecting another activity to be the top " + "one", isInBackground(launcher))); mLauncher.disableDebugTracing(); } @Test @PortraitLandscape public void testDragShortcut() throws Throwable { mLauncher.enableDebugTracing(); // 1. Open all apps and wait for load complete. // 2. Find the app and long press it to show shortcuts. // 3. Press icon center until shortcuts appear Loading @@ -343,7 +338,6 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest { } finally { allApps.unfreeze(); } mLauncher.disableDebugTracing(); } public static String getAppPackageName() { Loading