Sha256: 141f954aee1ade5ce93e21a88893b92eea370168267e4beecc527bcf349441f0
Contents?: true
Size: 882 Bytes
Versions: 125
Compression:
Stored size: 882 Bytes
Contents
package sh.calaba.instrumentationbackend.actions.map; import sh.calaba.instrumentationbackend.InstrumentationBackend; import sh.calaba.instrumentationbackend.Result; import sh.calaba.instrumentationbackend.actions.Action; /** * An optional "step" parameter lets the test script specify the number of pixels to increment down/across when * searching for a marker - defaults to 5 * * @author Nicholas Albion */ public class TapAwayFromMarkers implements Action { @Override public Result execute(String... args) { int step = (args.length == 0) ? 5 : Integer.parseInt(args[0]); if( InstrumentationBackend.solo.tapMapAwayFromMarkers(step) ) { return Result.successResult(); } return new Result(false, "Could not find any where to tap away from markers"); } @Override public String key() { return "tap_map_away_from_markers"; } }
Version data entries
125 entries across 125 versions & 2 rubygems