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

Commit 02a4fb41 authored by Sebastian Franco's avatar Sebastian Franco
Browse files

Unifying constant app names used in Tests

Bug: 298234173
Test: No-op changes, all test should pass
Change-Id: I3cd4854b150d827393bff6eada7aa9a9201dadaa
parent 461b65fa
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -37,7 +37,6 @@ import java.util.List;

public class AbstractTaplTestsTaskbar extends AbstractQuickStepTest {

    protected static final String TEST_APP_NAME = "LauncherTestApp";
    protected static final String TEST_APP_PACKAGE =
            getInstrumentation().getContext().getPackageName();
    protected static final String CALCULATOR_APP_PACKAGE =
+0 −1
Original line number Diff line number Diff line
@@ -64,7 +64,6 @@ import org.junit.runner.RunWith;
@RunWith(AndroidJUnit4.class)
public class TaplTestsQuickstep extends AbstractQuickStepTest {

    private static final String APP_NAME = "LauncherTestApp";
    private static final String CALCULATOR_APP_PACKAGE =
            resolveSystemApp(Intent.CATEGORY_APP_CALCULATOR);
    private static final String READ_DEVICE_CONFIG_PERMISSION =
+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
 */
package com.android.quickstep;

import static com.android.launcher3.util.TestConstants.AppNames.TEST_APP_NAME;
import static com.android.quickstep.TaplTestsTaskbar.TaskbarMode.PERSISTENT;
import static com.android.quickstep.TaplTestsTaskbar.TaskbarMode.TRANSIENT;

+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
package com.android.quickstep;

import static com.android.launcher3.config.FeatureFlags.ENABLE_CURSOR_HOVER_STATES;
import static com.android.launcher3.util.TestConstants.AppNames.TEST_APP_NAME;
import static com.android.quickstep.TaskbarModeSwitchRule.Mode.TRANSIENT;

import androidx.test.filters.LargeTest;
+1 −0
Original line number Diff line number Diff line
@@ -53,6 +53,7 @@ filegroup {
      "src/com/android/launcher3/ui/widget/TaplWidgetPickerTest.java",
      "src/com/android/launcher3/ui/workspace/TaplWorkspaceTest.java",
      "src/com/android/launcher3/util/LauncherLayoutBuilder.java",
      "src/com/android/launcher3/util/TestConstants.java",
      "src/com/android/launcher3/util/TestUtil.java",
      "src/com/android/launcher3/util/Wait.java",
      "src/com/android/launcher3/util/WidgetUtils.java",
Loading