From 923b81c14ffa56c9244853995960dc0bf6950b6a Mon Sep 17 00:00:00 2001 From: Vadim Tryshev Date: Thu, 16 Aug 2018 17:49:57 -0700 Subject: [PATCH] Reducing time of TaplTests run From ~245 to ~150 sec. Done by removing testing behaviors that don't depend on QS from tests marked with QuickstepOnOff attribute. Also fixing a bug that went unnoticed: now restoring Launcher QS mode after each test. Bug: 110103162 Test: TaplTests suite Change-Id: I715158b47ac1e370f578b8d4f13d9633283763fe --- .../com/android/launcher3/tapl/LauncherInstrumentation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index 01e76f3f30..aa9792b35e 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java @@ -115,7 +115,7 @@ public final class LauncherInstrumentation { sActiveContainer = new WeakReference<>(container); } - boolean isSwipeUpEnabled() { + public boolean isSwipeUpEnabled() { return mSwipeUpEnabledOverride != null ? mSwipeUpEnabledOverride : mSwipeUpEnabled; }