1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-04 04:12:42 +01:00

Uiauto2 Workloads: Fixes applaunch bug in androind N

In order to workaround an bug in applaunch running on android N, all of the
workloads have been updated to the latest gradle build system, the timeout in
the baseclass has been changed from a TimeUnit to a regualr long and a
duplicately declared parameter bundle has been removed.
This commit is contained in:
Marc Bonnici
2017-06-08 16:30:16 +01:00
parent 18e47c89c5
commit e62262dbb3
59 changed files with 30 additions and 35 deletions

View File

@@ -45,7 +45,8 @@ import static android.support.test.InstrumentationRegistry.getArguments;
public class BaseUiAutomation {
public long uiAutoTimeout = TimeUnit.SECONDS.toMillis(4);
// Time in milliseconds
public long uiAutoTimeout = 4000;
public enum ScreenOrientation { RIGHT, NATURAL, LEFT };
public enum Direction { UP, DOWN, LEFT, RIGHT, NULL };

View File

@@ -21,7 +21,6 @@ import java.util.logging.Logger;
public class UxPerfUiAutomation extends BaseUiAutomation {
protected Bundle parameters;
protected String packageName;
protected String packageID;