1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-10-21 03:04:07 +01:00

Google Play Books workload

A new workload for productivity tasks within Google Play Books
This commit is contained in:
John Richardson
2016-05-12 11:37:54 +01:00
parent aaab37ba3b
commit d4b2d873f0
9 changed files with 681 additions and 4 deletions

View File

@@ -152,6 +152,14 @@ public class BaseUiAutomation extends UiAutomatorTestCase {
return object;
}
public void pressEnter() {
getUiDevice().getInstance().pressEnter();
}
public void pressBack() {
getUiDevice().getInstance().pressBack();
}
public int getDisplayHeight () {
return getUiDevice().getInstance().getDisplayHeight();
}
@@ -176,10 +184,6 @@ public class BaseUiAutomation extends UiAutomatorTestCase {
getUiDevice().getInstance().click(x, y);
}
public void pressBack() {
getUiDevice().getInstance().pressBack();
}
public void uiDeviceSwipeUp (int steps) {
getUiDevice().getInstance().swipe(
getDisplayCentreWidth(),