Sha256: 2e517df4ca21ac6fa4400a008321c733beb3210c1ae18be73ce91813ff3ad0bc
Contents?: true
Size: 800 Bytes
Versions: 125
Compression:
Stored size: 800 Bytes
Contents
package sh.calaba.instrumentationbackend.actions.map; import sh.calaba.instrumentationbackend.InstrumentationBackend; import sh.calaba.instrumentationbackend.Result; import sh.calaba.instrumentationbackend.actions.Action; /** * Allows the test script to retreive a specific marker by title * * @author Nicholas Albion */ public class GetMapMarker implements Action { @Override public Result execute(String... args) { String title = args[0]; String marker = InstrumentationBackend.solo.getMapMarkerItem(title); if( marker == null ) { return new Result(false, "Could not find marker " + title); } else { return new Result(true, marker); } } @Override public String key() { return "get_map_marker"; } }
Version data entries
125 entries across 125 versions & 2 rubygems