Merge "Revert "Temporarily demoting failing tests from presubmits"" into sc-dev am: 217e7100bc am: 6451a2e17b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14532449 Change-Id: Ic2681282824402739727ad695840f5471443bc08
This commit is contained in:
commit
08b33dc8f2
1 file changed
+2
-5
@@ -17,14 +17,13 @@
|
|||||||
package com.android.quickstep;
|
package com.android.quickstep;
|
||||||
|
|
||||||
import static com.android.launcher3.ui.TaplTestsLauncher3.getAppPackageName;
|
import static com.android.launcher3.ui.TaplTestsLauncher3.getAppPackageName;
|
||||||
import static com.android.launcher3.util.rule.TestStabilityRule.LOCAL;
|
|
||||||
import static com.android.launcher3.util.rule.TestStabilityRule.UNBUNDLED_POSTSUBMIT;
|
|
||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
import static org.junit.Assert.assertNotNull;
|
import static org.junit.Assert.assertNotNull;
|
||||||
import static org.junit.Assert.assertTrue;
|
import static org.junit.Assert.assertTrue;
|
||||||
|
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
import android.util.Log;
|
||||||
|
|
||||||
import androidx.test.filters.LargeTest;
|
import androidx.test.filters.LargeTest;
|
||||||
import androidx.test.runner.AndroidJUnit4;
|
import androidx.test.runner.AndroidJUnit4;
|
||||||
@@ -38,8 +37,8 @@ import com.android.launcher3.tapl.LauncherInstrumentation.NavigationModel;
|
|||||||
import com.android.launcher3.tapl.Overview;
|
import com.android.launcher3.tapl.Overview;
|
||||||
import com.android.launcher3.tapl.OverviewActions;
|
import com.android.launcher3.tapl.OverviewActions;
|
||||||
import com.android.launcher3.tapl.OverviewTask;
|
import com.android.launcher3.tapl.OverviewTask;
|
||||||
|
import com.android.launcher3.testing.TestProtocol;
|
||||||
import com.android.launcher3.ui.TaplTestsLauncher3;
|
import com.android.launcher3.ui.TaplTestsLauncher3;
|
||||||
import com.android.launcher3.util.rule.TestStabilityRule.Stability;
|
|
||||||
import com.android.quickstep.NavigationModeSwitchRule.NavigationModeSwitch;
|
import com.android.quickstep.NavigationModeSwitchRule.NavigationModeSwitch;
|
||||||
import com.android.quickstep.views.RecentsView;
|
import com.android.quickstep.views.RecentsView;
|
||||||
|
|
||||||
@@ -95,7 +94,6 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PortraitLandscape
|
@PortraitLandscape
|
||||||
@Stability(flavors = LOCAL | UNBUNDLED_POSTSUBMIT) // b/187899876
|
|
||||||
public void testOverview() throws Exception {
|
public void testOverview() throws Exception {
|
||||||
startTestAppsWithCheck();
|
startTestAppsWithCheck();
|
||||||
// mLauncher.pressHome() also tests an important case of pressing home while in background.
|
// mLauncher.pressHome() also tests an important case of pressing home while in background.
|
||||||
@@ -165,7 +163,6 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest {
|
|||||||
@Test
|
@Test
|
||||||
@NavigationModeSwitch
|
@NavigationModeSwitch
|
||||||
@PortraitLandscape
|
@PortraitLandscape
|
||||||
@Stability(flavors = LOCAL | UNBUNDLED_POSTSUBMIT) // b/187899876
|
|
||||||
public void testOverviewActions() throws Exception {
|
public void testOverviewActions() throws Exception {
|
||||||
// Experimenting for b/165029151:
|
// Experimenting for b/165029151:
|
||||||
final Overview overview = mLauncher.pressHome().switchToOverview();
|
final Overview overview = mLauncher.pressHome().switchToOverview();
|
||||||
|
|||||||
Reference in new issue
Block a user