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:
@@ -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(),
|
||||
|
Reference in New Issue
Block a user