Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 758be45b authored by Vadim Tryshev's avatar Vadim Tryshev Committed by Android (Google) Code Review
Browse files

Merge "Not starting calculator from...

Merge "Not starting calculator from TaplTestsLauncher3.testAppIconLaunchFromAllAppsFromHome" into ub-launcher3-qt-dev
parents 09edbf3c b9300ef8
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -24,7 +24,6 @@ import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertTrue;


import android.content.Intent;
import android.util.Log;
import android.util.Log;


import androidx.test.filters.LargeTest;
import androidx.test.filters.LargeTest;
@@ -241,9 +240,8 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest {
    }
    }


    public static void runIconLaunchFromAllAppsTest(AbstractLauncherUiTest test, AllApps allApps) {
    public static void runIconLaunchFromAllAppsTest(AbstractLauncherUiTest test, AllApps allApps) {
        final AppIcon app = allApps.getAppIcon("Calculator");
        final AppIcon app = allApps.getAppIcon("TestActivity7");
        assertNotNull("AppIcon.launch returned null", app.launch(
        assertNotNull("AppIcon.launch returned null", app.launch(getAppPackageName()));
                test.resolveSystemApp(Intent.CATEGORY_APP_CALCULATOR)));
        test.executeOnLauncher(launcher -> assertTrue(
        test.executeOnLauncher(launcher -> assertTrue(
                "Launcher activity is the top activity; expecting another activity to be the top "
                "Launcher activity is the top activity; expecting another activity to be the top "
                        + "one",
                        + "one",