mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Mark existing Launcher CUJs as Platinum tests.
Exclusion CL: cl/565329636 & cl/569615823 Acceptance Criteria: - TaplTestsQuickstep#testOverviewActionsMenu: https://android-build.corp.google.com/test_investigate/?invocationId=I68300010197543619&testResultId=TR13128935381586398&tab=performance - OopTaplOpenCloseAllApps#testAllAppsSwipeUpToWorkspace: https://android-build.corp.google.com/test_investigate/?invocationId=I29900010197342608&testResultId=TR26328933842394642&tab=performance - AddWidgetTest#testResizeWidget: https://android-build.corp.google.com/test_investigate/?invocationId=I56600010197561454&testResultId=TR14428935383013115&tab=performance - TaplTestsLauncher3#testLaunchHomeScreenMenuItem: https://android-build.corp.google.com/test_investigate/?invocationId=I56600010197561454&testResultId=TR20028935383489058&tab=performance Bug: 300249773 Test: TaplTestsLauncher3 Test: OopTaplOpenCloseAllApps Test: AddWidgetTest Test: TaplTestsQuickstep Change-Id: Ica71dbad91efe8f5b4fd243f0ec78fc3c3c4d456
This commit is contained in:
@@ -196,6 +196,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest {
|
||||
}
|
||||
|
||||
|
||||
@PlatinumTest(focusArea = "launcher")
|
||||
@Test
|
||||
public void testOverviewActionsMenu() throws Exception {
|
||||
startTestAppsWithCheck();
|
||||
|
||||
@@ -17,11 +17,14 @@ package com.android.launcher3.allapps;
|
||||
|
||||
import static com.android.launcher3.ui.TaplTestsLauncher3.expectFail;
|
||||
import static com.android.launcher3.ui.TaplTestsLauncher3.initialize;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.junit.Assume.assumeTrue;
|
||||
|
||||
import android.platform.test.annotations.PlatinumTest;
|
||||
|
||||
import com.android.launcher3.LauncherState;
|
||||
import com.android.launcher3.tapl.AllApps;
|
||||
import com.android.launcher3.ui.AbstractLauncherUiTest;
|
||||
@@ -88,6 +91,7 @@ public class OopTaplOpenCloseAllApps extends AbstractLauncherUiTest {
|
||||
/**
|
||||
* Make sure the swipe up gesture can take us back to the workspace from AllApps
|
||||
*/
|
||||
@PlatinumTest(focusArea = "launcher")
|
||||
@Test
|
||||
@PortraitLandscape
|
||||
public void testAllAppsSwipeUpToWorkspace() {
|
||||
|
||||
@@ -82,6 +82,7 @@ public class TaplAppIconMenuTest extends AbstractLauncherUiTest {
|
||||
* Drag icon from AllApps to the workspace and then open the AppIconMenu and launch a shortcut
|
||||
* from it.
|
||||
*/
|
||||
@PlatinumTest(focusArea = "launcher")
|
||||
@Test
|
||||
public void testLaunchHomeScreenMenuItem() {
|
||||
// Drag the test app icon to home screen and open short cut menu from the icon
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
package com.android.launcher3.ui.widget;
|
||||
|
||||
import static com.android.launcher3.ui.TaplTestsLauncher3.getAppPackageName;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
|
||||
import android.platform.test.annotations.PlatinumTest;
|
||||
@@ -99,6 +98,7 @@ public class AddWidgetTest extends AbstractLauncherUiTest {
|
||||
/**
|
||||
* Test dragging a widget to the workspace and resize it.
|
||||
*/
|
||||
@PlatinumTest(focusArea = "launcher")
|
||||
@Test
|
||||
public void testResizeWidget() throws Throwable {
|
||||
new FavoriteItemsTransaction(mTargetContext).commitAndLoadHome(mLauncher);
|
||||
|
||||
Reference in New Issue
Block a user