Search in sources :

Example 1 with TaplTestsLauncher3

use of com.android.launcher3.ui.TaplTestsLauncher3 in project android_packages_apps_Trebuchet by LineageOS.

the class TaplTestsQuickstep method testAppIconLaunchFromAllAppsFromOverview.

@Test
public void testAppIconLaunchFromAllAppsFromOverview() throws Exception {
    if (!mLauncher.hasAllAppsInOverview()) {
        return;
    }
    final AllApps allApps = mLauncher.getWorkspace().switchToOverview().switchToAllApps();
    assertTrue("Launcher internal state is not All Apps", isInState(() -> LauncherState.ALL_APPS));
    TaplTestsLauncher3.runIconLaunchFromAllAppsTest(this, allApps);
}
Also used : AllApps(com.android.launcher3.tapl.AllApps) LargeTest(androidx.test.filters.LargeTest) Test(org.junit.Test)

Example 2 with TaplTestsLauncher3

use of com.android.launcher3.ui.TaplTestsLauncher3 in project Neo-Launcher by NeoApplications.

the class TaplTestsQuickstep method testAppIconLaunchFromAllAppsFromOverview.

@Test
public void testAppIconLaunchFromAllAppsFromOverview() throws Exception {
    final AllApps allApps = mLauncher.getWorkspace().switchToOverview().switchToAllApps();
    assertTrue("Launcher internal state is not All Apps", isInState(LauncherState.ALL_APPS));
    TaplTestsLauncher3.runIconLaunchFromAllAppsTest(this, allApps);
}
Also used : AllApps(com.android.launcher3.tapl.AllApps) LargeTest(androidx.test.filters.LargeTest) Test(org.junit.Test)

Aggregations

LargeTest (androidx.test.filters.LargeTest)2 AllApps (com.android.launcher3.tapl.AllApps)2 Test (org.junit.Test)2