Sha256: 66772ac63d6c8018ff7205bbe18414d8e228e007efe4aef4fa43f15358fb971c
Contents?: true
Size: 1010 Bytes
Versions: 20
Compression:
Stored size: 1010 Bytes
Contents
package sh.calaba.instrumentationbackend.actions.scrolling; import sh.calaba.instrumentationbackend.InstrumentationBackend; import sh.calaba.instrumentationbackend.Result; import sh.calaba.instrumentationbackend.actions.Action; import sh.calaba.instrumentationbackend.actions.Actions; import android.test.TouchUtils; public class ScrollUp implements Action { @Override public Result execute(String... args) { TouchUtils.dragQuarterScreenDown(Actions.parentTestCase, InstrumentationBackend.solo.getCurrentActivity()); TouchUtils.dragQuarterScreenDown(Actions.parentTestCase, InstrumentationBackend.solo.getCurrentActivity()); TouchUtils.dragQuarterScreenDown(Actions.parentTestCase, InstrumentationBackend.solo.getCurrentActivity()); TouchUtils.dragQuarterScreenDown(Actions.parentTestCase, InstrumentationBackend.solo.getCurrentActivity()); return Result.successResult(); } @Override public String key() { return "scroll_up"; } }
Version data entries
20 entries across 20 versions & 1 rubygems