Merge "Removing temporary checks that tests are running on AVD" into ub-launcher3-qt-qpr1-dev

This commit is contained in:
Vadim Tryshev 2019-09-25 00:56:05 +00:00 committed by Android (Google) Code Review
commit 6929199c8a
2 changed files with 0 additions and 7 deletions

View File

@ -25,7 +25,6 @@ import androidx.test.filters.LargeTest;
import androidx.test.runner.AndroidJUnit4;
import com.android.launcher3.Launcher;
import com.android.launcher3.tapl.LauncherInstrumentation;
import com.android.launcher3.util.RaceConditionReproducer;
import com.android.quickstep.NavigationModeSwitchRule.Mode;
import com.android.quickstep.NavigationModeSwitchRule.NavigationModeSwitch;
@ -80,8 +79,6 @@ public class StartLauncherViaGestureTests extends AbstractQuickStepTest {
@Test
@NavigationModeSwitch
public void testStressPressHome() {
if (LauncherInstrumentation.isAvd()) return; // b/136278866
for (int i = 0; i < STRESS_REPEAT_COUNT; ++i) {
// Destroy Launcher activity.
closeLauncherActivity();
@ -94,8 +91,6 @@ public class StartLauncherViaGestureTests extends AbstractQuickStepTest {
@Test
@NavigationModeSwitch
public void testStressSwipeToOverview() {
if (LauncherInstrumentation.isAvd()) return; // b/136278866
for (int i = 0; i < STRESS_REPEAT_COUNT; ++i) {
// Destroy Launcher activity.
closeLauncherActivity();

View File

@ -38,8 +38,6 @@ import com.android.launcher3.testing.TestProtocol;
* Operations on the workspace screen.
*/
public final class Workspace extends Home {
private static final float FLING_SPEED =
LauncherInstrumentation.isAvd() ? 1500.0F : 3500.0F;
private static final int DRAG_DURACTION = 2000;
private static final int FLING_STEPS = 10;
private final UiObject2 mHotseat;